diff options
author | Johnny Chen <johnny.chen@apple.com> | 2011-04-04 23:57:05 +0000 |
---|---|---|
committer | Johnny Chen <johnny.chen@apple.com> | 2011-04-04 23:57:05 +0000 |
commit | 597028cc2840d9182523bd0179a1f95ddd931dae (patch) | |
tree | d9cde18cdfa5eb5e7208692236c5e6c1cc14b14d /lib/Target/ARM/ARMInstrInfo.td | |
parent | c3b94fbb7a2e321848fe34da78254730986d14bc (diff) | |
download | external_llvm-597028cc2840d9182523bd0179a1f95ddd931dae.zip external_llvm-597028cc2840d9182523bd0179a1f95ddd931dae.tar.gz external_llvm-597028cc2840d9182523bd0179a1f95ddd931dae.tar.bz2 |
A8.6.105 MUL
Inst{15-12} should be specified as 0b0000.
rdar://problem/9231168 ARM disassembler discrepancy: erroneously accepting MUL
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128862 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMInstrInfo.td')
-rw-r--r-- | lib/Target/ARM/ARMInstrInfo.td | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMInstrInfo.td b/lib/Target/ARM/ARMInstrInfo.td index 508d0b2..fabf95b 100644 --- a/lib/Target/ARM/ARMInstrInfo.td +++ b/lib/Target/ARM/ARMInstrInfo.td @@ -2687,7 +2687,9 @@ def MULv5: ARMPseudoInst<(outs GPR:$Rd), (ins GPR:$Rn, GPR:$Rm, def MUL : AsMul1I32<0b0000000, (outs GPR:$Rd), (ins GPR:$Rn, GPR:$Rm), IIC_iMUL32, "mul", "\t$Rd, $Rn, $Rm", [(set GPR:$Rd, (mul GPR:$Rn, GPR:$Rm))]>, - Requires<[IsARM, HasV6]>; + Requires<[IsARM, HasV6]> { + let Inst{15-12} = 0b0000; +} } let Constraints = "@earlyclobber $Rd" in |