diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2010-06-02 12:58:07 -0500 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2010-06-02 12:58:07 -0500 |
commit | a1208aa66d04994d3b1d8b2dc703dbb95fe0c98c (patch) | |
tree | 87e0edd00e65c1b0af8455e40bc5d54de20a569c /src/arch | |
parent | cabf766a06145fe0fe13b56fb58dd51e57ed71fc (diff) | |
download | gem5-a1208aa66d04994d3b1d8b2dc703dbb95fe0c98c.tar.xz |
ARM: Decode the 8/16 bit signed/unsigned add/subtract half instructions.
Diffstat (limited to 'src/arch')
-rw-r--r-- | src/arch/arm/isa/formats/data.isa | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/src/arch/arm/isa/formats/data.isa b/src/arch/arm/isa/formats/data.isa index 627c17ca0..296bf23c5 100644 --- a/src/arch/arm/isa/formats/data.isa +++ b/src/arch/arm/isa/formats/data.isa @@ -284,17 +284,17 @@ def format ArmParallelAddSubtract() {{ case 0x3: switch (op2) { case 0x0: - return new WarnUnimplemented("shadd16", machInst); + return new Shadd16Reg(machInst, rd, rn, rm, 0, LSL); case 0x1: - return new WarnUnimplemented("shasx", machInst); + return new ShasxReg(machInst, rd, rn, rm, 0, LSL); case 0x2: - return new WarnUnimplemented("shsax", machInst); + return new ShsaxReg(machInst, rd, rn, rm, 0, LSL); case 0x3: - return new WarnUnimplemented("shsub16", machInst); + return new Shsub16Reg(machInst, rd, rn, rm, 0, LSL); case 0x4: - return new WarnUnimplemented("shadd8", machInst); + return new Shadd8Reg(machInst, rd, rn, rm, 0, LSL); case 0x7: - return new WarnUnimplemented("shsub8", machInst); + return new Shsub8Reg(machInst, rd, rn, rm, 0, LSL); } break; } @@ -335,17 +335,17 @@ def format ArmParallelAddSubtract() {{ case 0x3: switch (op2) { case 0x0: - return new WarnUnimplemented("uhadd16", machInst); + return new Uhadd16Reg(machInst, rd, rn, rm, 0, LSL); case 0x1: - return new WarnUnimplemented("uhasx", machInst); + return new UhasxReg(machInst, rd, rn, rm, 0, LSL); case 0x2: - return new WarnUnimplemented("uhsax", machInst); + return new UhsaxReg(machInst, rd, rn, rm, 0, LSL); case 0x3: - return new WarnUnimplemented("uhsub16", machInst); + return new Uhsub16Reg(machInst, rd, rn, rm, 0, LSL); case 0x4: - return new WarnUnimplemented("uhadd8", machInst); + return new Uhadd8Reg(machInst, rd, rn, rm, 0, LSL); case 0x7: - return new WarnUnimplemented("uhsub8", machInst); + return new Uhsub8Reg(machInst, rd, rn, rm, 0, LSL); } break; } @@ -606,17 +606,17 @@ def format Thumb32DataProcReg() {{ case 0x2: switch (op1) { case 0x1: - return new WarnUnimplemented("shadd16", machInst); + return new Shadd16Reg(machInst, rd, rn, rm, 0, LSL); case 0x2: - return new WarnUnimplemented("shasx", machInst); + return new ShasxReg(machInst, rd, rn, rm, 0, LSL); case 0x6: - return new WarnUnimplemented("shsax", machInst); + return new ShsaxReg(machInst, rd, rn, rm, 0, LSL); case 0x5: - return new WarnUnimplemented("shsub16", machInst); + return new Shsub16Reg(machInst, rd, rn, rm, 0, LSL); case 0x0: - return new WarnUnimplemented("shadd8", machInst); + return new Shadd8Reg(machInst, rd, rn, rm, 0, LSL); case 0x4: - return new WarnUnimplemented("shsub8", machInst); + return new Shsub8Reg(machInst, rd, rn, rm, 0, LSL); } break; } @@ -665,17 +665,17 @@ def format Thumb32DataProcReg() {{ case 0x2: switch (op1) { case 0x1: - return new WarnUnimplemented("uhadd16", machInst); + return new Uhadd16Reg(machInst, rd, rn, rm, 0, LSL); case 0x2: - return new WarnUnimplemented("uhasx", machInst); + return new UhasxReg(machInst, rd, rn, rm, 0, LSL); case 0x6: - return new WarnUnimplemented("uhsax", machInst); + return new UhsaxReg(machInst, rd, rn, rm, 0, LSL); case 0x5: - return new WarnUnimplemented("uhsub16", machInst); + return new Uhsub16Reg(machInst, rd, rn, rm, 0, LSL); case 0x0: - return new WarnUnimplemented("uhadd8", machInst); + return new Uhadd8Reg(machInst, rd, rn, rm, 0, LSL); case 0x4: - return new WarnUnimplemented("uhsub8", machInst); + return new Uhsub8Reg(machInst, rd, rn, rm, 0, LSL); } break; } |