summaryrefslogtreecommitdiffstats
path: root/llvm/lib
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
commit8c021d85a65481ff0375fd0b09db55934be4fa64 (patch)
treeb044acf7ade0cd7abc2f5d68017c481563c29eda /llvm/lib
parent222b5a4f5a9c0b981165bc2faa6878a85465d185 (diff)
downloadbcm5719-llvm-8c021d85a65481ff0375fd0b09db55934be4fa64.tar.gz
bcm5719-llvm-8c021d85a65481ff0375fd0b09db55934be4fa64.zip
Specify an additional fixed bit in the Thumb2 SSAT encoding to prevent the decoder from emitting gibberish for this invalid encoding.
llvm-svn: 140041
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/ARM/ARMInstrThumb2.td1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/ARM/ARMInstrThumb2.td b/llvm/lib/Target/ARM/ARMInstrThumb2.td
index 52d563bdcb7..cef8bbe17ad 100644
--- a/llvm/lib/Target/ARM/ARMInstrThumb2.td
+++ b/llvm/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<
OpenPOWER on IntegriCloud