ARM: Decode the nop instruction.
This commit is contained in:
@@ -157,7 +157,7 @@ def format Thumb32BranchesAndMiscCtrl() {{
|
||||
} else {
|
||||
switch (op2) {
|
||||
case 0x0:
|
||||
return new WarnUnimplemented("nop", machInst);
|
||||
return new NopInst(machInst);
|
||||
case 0x1:
|
||||
return new WarnUnimplemented("yield", machInst);
|
||||
case 0x2:
|
||||
|
||||
@@ -1043,7 +1043,7 @@ def format Thumb16Misc() {{
|
||||
return new WarnUnimplemented("it", machInst);
|
||||
switch (bits(machInst, 7, 4)) {
|
||||
case 0x0:
|
||||
return new WarnUnimplemented("nop", machInst);
|
||||
return new NopInst(machInst);
|
||||
case 0x1:
|
||||
return new WarnUnimplemented("yield", machInst);
|
||||
case 0x2:
|
||||
|
||||
@@ -58,7 +58,7 @@ def format ArmUnconditional() {{
|
||||
machInst);
|
||||
} else if (bits(op1, 2, 0) == 1) {
|
||||
// Unallocated memory hint
|
||||
return new WarnUnimplemented("nop", machInst);
|
||||
return new NopInst(machInst);
|
||||
} else if (bits(op1, 2, 0) == 5) {
|
||||
const bool add = bits(machInst, 23);
|
||||
const uint32_t imm12 = bits(machInst, 11, 0);
|
||||
@@ -108,7 +108,7 @@ def format ArmUnconditional() {{
|
||||
switch (op1 & 0xf7) {
|
||||
case 0x61:
|
||||
// Unallocated memory hint
|
||||
return new WarnUnimplemented("nop", machInst);
|
||||
return new NopInst(machInst);
|
||||
case 0x65:
|
||||
{
|
||||
const uint32_t imm5 = bits(machInst, 11, 7);
|
||||
|
||||
Reference in New Issue
Block a user