mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-26 23:24:34 +00:00
Add sanity checking for invalid register encodings for saturating instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129096 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
11
test/MC/Disassembler/ARM/invalid-SSAT-arm.txt
Normal file
11
test/MC/Disassembler/ARM/invalid-SSAT-arm.txt
Normal file
@ -0,0 +1,11 @@
|
||||
# RUN: llvm-mc --disassemble %s -triple=arm-apple-darwin9 |& grep {invalid instruction encoding}
|
||||
|
||||
# Opcode=322 Name=SSAT Format=ARM_FORMAT_SATFRM(13)
|
||||
# 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
|
||||
# -------------------------------------------------------------------------------------------------
|
||||
# | 1: 1: 1: 0| 0: 1: 1: 0| 1: 0: 1: 0| 0: 0: 0: 0| 1: 1: 1: 1| 0: 1: 0: 0| 0: 0: 0: 1| 1: 0: 1: 0|
|
||||
# -------------------------------------------------------------------------------------------------
|
||||
#
|
||||
# A8.6.183 SSAT
|
||||
# if d == 15 || n == 15 then UNPREDICTABLE;
|
||||
0x1a 0xf4 0xa0 0xe6
|
Reference in New Issue
Block a user