summaryrefslogtreecommitdiff
path: root/lib/Target/ARM/ARMInstrThumb2.td
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2011-09-19 20:00:02 +0000
committerOwen Anderson <resistor@mac.com>2011-09-19 20:00:02 +0000
commit061c3c450660976411ee7ff02774ae491ab3ee79 (patch)
treee16ea36f03f078959205c1e8301ab98250eb72dd /lib/Target/ARM/ARMInstrThumb2.td
parentc3d3598425b5af392691b740dbe407b10605d839 (diff)
downloadllvm-061c3c450660976411ee7ff02774ae491ab3ee79.tar.gz
llvm-061c3c450660976411ee7ff02774ae491ab3ee79.tar.bz2
llvm-061c3c450660976411ee7ff02774ae491ab3ee79.tar.xz
Specify an additional fixed bit in the Thumb2 SSAT encoding to prevent the decoder from emitting gibberish for this invalid encoding.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@140041 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMInstrThumb2.td')
-rw-r--r--lib/Target/ARM/ARMInstrThumb2.td1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMInstrThumb2.td b/lib/Target/ARM/ARMInstrThumb2.td
index 52d563bdcb..cef8bbe17a 100644
--- a/lib/Target/ARM/ARMInstrThumb2.td
+++ b/lib/Target/ARM/ARMInstrThumb2.td
@@ -2032,6 +2032,7 @@ def t2SSAT: T2SatI<
let Inst{25-22} = 0b1100;
let Inst{20} = 0;
let Inst{15} = 0;
+ let Inst{5} = 0;
}
def t2SSAT16: T2SatI<