aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/ARM
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2011-04-01 23:15:50 +0000
committerJohnny Chen <johnny.chen@apple.com>2011-04-01 23:15:50 +0000
commit6da3fe68c6e3f5abd520a1bfc8dd8429e6ec6389 (patch)
tree4ddcbc2d3f886b46ed64ae9dfd7fb2768e9acb03 /lib/Target/ARM
parent857b1939dabefe931e1fd25b20185153ea389587 (diff)
downloadexternal_llvm-6da3fe68c6e3f5abd520a1bfc8dd8429e6ec6389.zip
external_llvm-6da3fe68c6e3f5abd520a1bfc8dd8429e6ec6389.tar.gz
external_llvm-6da3fe68c6e3f5abd520a1bfc8dd8429e6ec6389.tar.bz2
MOVs should have Inst{19-16} as 0b0000, otherwise, the instruction is UNPREDICTABLE.
rdar://problem/9224120 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@128748 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM')
-rw-r--r--lib/Target/ARM/ARMInstrInfo.td1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMInstrInfo.td b/lib/Target/ARM/ARMInstrInfo.td
index 2f9da43..28b53ca 100644
--- a/lib/Target/ARM/ARMInstrInfo.td
+++ b/lib/Target/ARM/ARMInstrInfo.td
@@ -2009,6 +2009,7 @@ def MOVs : AsI1<0b1101, (outs GPR:$Rd), (ins shift_so_reg:$src),
bits<4> Rd;
bits<12> src;
let Inst{15-12} = Rd;
+ let Inst{19-16} = 0b0000;
let Inst{11-0} = src;
let Inst{25} = 0;
}