diff options
| author | Bradley Smith <bradley.smith@arm.com> | 2014-04-09 14:43:31 +0000 |
|---|---|---|
| committer | Bradley Smith <bradley.smith@arm.com> | 2014-04-09 14:43:31 +0000 |
| commit | db7b9b17ebba5e0c7ba1307f53e45d86645ad165 (patch) | |
| tree | 4e3a15629d12da2b3807373abd1b65938d739bf5 /llvm/test/MC/Disassembler/ARM64 | |
| parent | 60e7667886043069f544e8543b0fabbeee313bc3 (diff) | |
| download | bcm5719-llvm-db7b9b17ebba5e0c7ba1307f53e45d86645ad165.tar.gz bcm5719-llvm-db7b9b17ebba5e0c7ba1307f53e45d86645ad165.zip | |
[ARM64] EXT and EXTR instructions on v8i8 and W regs respectively must have the top bit of their immediate clear.
llvm-svn: 205881
Diffstat (limited to 'llvm/test/MC/Disassembler/ARM64')
| -rw-r--r-- | llvm/test/MC/Disassembler/ARM64/basic-a64-undefined.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/test/MC/Disassembler/ARM64/basic-a64-undefined.txt b/llvm/test/MC/Disassembler/ARM64/basic-a64-undefined.txt index 21ff82ccccf..c2e3841bb94 100644 --- a/llvm/test/MC/Disassembler/ARM64/basic-a64-undefined.txt +++ b/llvm/test/MC/Disassembler/ARM64/basic-a64-undefined.txt @@ -20,4 +20,7 @@ # UBFM is undefined when s == 0 and imms<5> or immr<5> is 1. # RUN: echo "0x00 0x80 0x00 0x53" | llvm-mc -triple=arm64 -disassemble 2>&1 | FileCheck %s +# EXT on vectors of i8 must have imm<3> = 0. +# RUN: echo "0x00 0x40 0x00 0x2e" | llvm-mc -triple=arm64 -disassemble 2>&1 | FileCheck %s + # CHECK: invalid instruction encoding |

