ARM: Decode the nop instruction.

This commit is contained in:
Gabe Black
2010-06-02 12:58:07 -05:00
parent b9cfe9a3db
commit 566b2ff20c
3 changed files with 4 additions and 4 deletions

View File

@@ -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:

View File

@@ -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:

View File

@@ -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);