diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2010-06-02 12:58:06 -0500 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2010-06-02 12:58:06 -0500 |
commit | 5495ebd68d10e9472543dcd9c95e8b5a7a58a36b (patch) | |
tree | 8a1b97d1ef79d1d52e5fbccc84d7fd262e3c7438 /src/arch/arm | |
parent | fd6e9f304e8529bf2fda6a06fe6d7524c9293433 (diff) | |
download | gem5-5495ebd68d10e9472543dcd9c95e8b5a7a58a36b.tar.xz |
ARM: Decode the ssub instructions.
Diffstat (limited to 'src/arch/arm')
-rw-r--r-- | src/arch/arm/isa/formats/data.isa | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/arch/arm/isa/formats/data.isa b/src/arch/arm/isa/formats/data.isa index 28fb50194..648e04453 100644 --- a/src/arch/arm/isa/formats/data.isa +++ b/src/arch/arm/isa/formats/data.isa @@ -240,11 +240,11 @@ def format ArmParallelAddSubtract() {{ case 0x2: return new WarnUnimplemented("ssax", machInst); case 0x3: - return new WarnUnimplemented("ssub16", machInst); + return new Ssub16RegCc(machInst, rd, rn, rm, 0, LSL); case 0x4: return new Sadd8RegCc(machInst, rd, rn, rm, 0, LSL); case 0x7: - return new WarnUnimplemented("ssub8", machInst); + return new Ssub8RegCc(machInst, rd, rn, rm, 0, LSL); } break; case 0x2: @@ -557,12 +557,14 @@ def format Thumb32DataProcReg() {{ case 0x6: return new WarnUnimplemented("ssax", machInst); case 0x5: - return new WarnUnimplemented("ssub16", machInst); + return new Ssub16RegCc(machInst, rd, + rn, rm, 0, LSL); case 0x0: return new Sadd8RegCc(machInst, rd, rn, rm, 0, LSL); case 0x4: - return new WarnUnimplemented("ssub8", machInst); + return new Ssub8RegCc(machInst, rd, + rn, rm, 0, LSL); } break; case 0x1: |