xref: /aosp_15_r20/external/llvm/test/MC/ARM/neont2-table-encoding.s (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker@ RUN: llvm-mc -mcpu=cortex-a8 -triple thumb-unknown-unknown -show-encoding < %s | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Worker.code 16
4*9880d681SAndroid Build Coastguard Worker
5*9880d681SAndroid Build Coastguard Worker	vtbl.8	d16, {d17}, d16
6*9880d681SAndroid Build Coastguard Worker	vtbl.8	d16, {d16, d17}, d18
7*9880d681SAndroid Build Coastguard Worker	vtbl.8	d16, {d16, d17, d18}, d20
8*9880d681SAndroid Build Coastguard Worker	vtbl.8	d16, {d16, d17, d18, d19}, d20
9*9880d681SAndroid Build Coastguard Worker
10*9880d681SAndroid Build Coastguard Worker@ CHECK: vtbl.8	d16, {d17}, d16         @ encoding: [0xf1,0xff,0xa0,0x08]
11*9880d681SAndroid Build Coastguard Worker@ CHECK: vtbl.8	d16, {d16, d17}, d18    @ encoding: [0xf0,0xff,0xa2,0x09]
12*9880d681SAndroid Build Coastguard Worker@ CHECK: vtbl.8	d16, {d16, d17, d18}, d20 @ encoding: [0xf0,0xff,0xa4,0x0a]
13*9880d681SAndroid Build Coastguard Worker@ CHECK: vtbl.8	d16, {d16, d17, d18, d19}, d20 @ encoding: [0xf0,0xff,0xa4,0x0b]
14*9880d681SAndroid Build Coastguard Worker
15*9880d681SAndroid Build Coastguard Worker
16*9880d681SAndroid Build Coastguard Worker	vtbx.8	d18, {d16}, d17
17*9880d681SAndroid Build Coastguard Worker	vtbx.8	d19, {d16, d17}, d18
18*9880d681SAndroid Build Coastguard Worker	vtbx.8	d20, {d16, d17, d18}, d21
19*9880d681SAndroid Build Coastguard Worker	vtbx.8	d20, {d16, d17, d18, d19}, d21
20*9880d681SAndroid Build Coastguard Worker
21*9880d681SAndroid Build Coastguard Worker@ CHECK: vtbx.8	d18, {d16}, d17         @ encoding: [0xf0,0xff,0xe1,0x28]
22*9880d681SAndroid Build Coastguard Worker@ CHECK: vtbx.8	d19, {d16, d17}, d18    @ encoding: [0xf0,0xff,0xe2,0x39]
23*9880d681SAndroid Build Coastguard Worker@ CHECK: vtbx.8	d20, {d16, d17, d18}, d21 @ encoding: [0xf0,0xff,0xe5,0x4a]
24*9880d681SAndroid Build Coastguard Worker@ CHECK: vtbx.8	d20, {d16, d17, d18, d19}, d21 @ encoding: [0xf0,0xff,0xe5,0x4b]
25