79,81c79,83
< return new %(className)ssRegPclr(machInst, %(dest)s,
< %(op1)s, rm, imm5,
< type);
---
> if (%(dest)s == INTREG_PC) {
> return new %(className)ssRegPclr(machInst, %(dest)s,
> %(op1)s, rm, imm5,
> type);
> } else
87,89c89
< if (%(dest)s == INTREG_PC) {
< %(pclr)s
< } else {
---
> %(pclr)s {
455,456c455,458
< return new %(className)ssImmPclr(machInst, %(dest)s,
< %(op1)s, imm, false);
---
> if (%(dest)s == INTREG_PC) {
> return new %(className)ssImmPclr(machInst, %(dest)s,
> %(op1)s, imm, false);
> } else
459,460c461,464
< return new AdrImm(machInst, %(dest)s, %(add)s,
< imm, false);
---
> if (%(op1)s == INTREG_PC) {
> return new AdrImm(machInst, %(dest)s, %(add)s,
> imm, false);
> } else
465,467c469
< if (%(pclrInst)s && %(dest)s == INTREG_PC) {
< %(pclr)s
< } else {
---
> %(pclr)s {
472,474c474
< if (%(adrInst)s && %(op1)s == INTREG_PC) {
< %(adr)s
< } else {
---
> %(adr)s {
496,497c496
< "adr": "",
< "adrInst": "false" }
---
> "adr": "" }
499d497
< substDict["pclrInst"] = "true"
502d499
< substDict["pclrInst"] = "false"
512,514c509
< "add": add,
< "pclrInst": "true",
< "adrInst": "true" }
---
> "add": add }
613a609,610
> default:
> M5_UNREACHABLE;
918a916,917
> default:
> M5_UNREACHABLE;
939a939,940
> default:
> M5_UNREACHABLE;
1042a1044,1045
> default:
> M5_UNREACHABLE;
1071a1075,1076
> default:
> M5_UNREACHABLE;
1171a1177,1178
> default:
> M5_UNREACHABLE;
1198a1206
> return new Unknown(machInst);
1410c1418
< // Fall through on purpose...
---
> M5_FALLTHROUGH;
1443c1451
< // Fall through on purpose...
---
> M5_FALLTHROUGH;