Commit d877fa5a172e761f83397388826a323a9d6ac007

Authored by Blue Swirl
1 parent 9c22a623

Recognize V9 stores and CAS accesses as writes

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Showing 1 changed file with 12 additions and 0 deletions
cpu-exec.c
... ... @@ -1382,12 +1382,24 @@ int cpu_signal_handler(int host_signum, void *pinfo,
1382 1382 if ((insn >> 30) == 3) {
1383 1383 switch((insn >> 19) & 0x3f) {
1384 1384 case 0x05: // stb
  1385 + case 0x15: // stba
1385 1386 case 0x06: // sth
  1387 + case 0x16: // stha
1386 1388 case 0x04: // st
  1389 + case 0x14: // sta
1387 1390 case 0x07: // std
  1391 + case 0x17: // stda
  1392 + case 0x0e: // stx
  1393 + case 0x1e: // stxa
1388 1394 case 0x24: // stf
  1395 + case 0x34: // stfa
1389 1396 case 0x27: // stdf
  1397 + case 0x37: // stdfa
  1398 + case 0x26: // stqf
  1399 + case 0x36: // stqfa
1390 1400 case 0x25: // stfsr
  1401 + case 0x3c: // casa
  1402 + case 0x3e: // casxa
1391 1403 is_write = 1;
1392 1404 break;
1393 1405 }
... ...