[InstCombine] Signed saturation patterns
[llvm-core.git] / test / MC / ARM / neont2-bitwise-encoding.s
blob175873b69718cc4e1bcc114af697b850af340e66
1 @ RUN: llvm-mc -mcpu=cortex-a8 -triple thumb-unknown-unknown -show-encoding < %s | FileCheck %s
3 .code 16
5 vand d16, d17, d16
6 vand q8, q8, q9
8 @ CHECK: vand d16, d17, d16 @ encoding: [0x41,0xef,0xb0,0x01]
9 @ CHECK: vand q8, q8, q9 @ encoding: [0x40,0xef,0xf2,0x01]
11 veor d16, d17, d16
12 veor q8, q8, q9
14 @ CHECK: veor d16, d17, d16 @ encoding: [0x41,0xff,0xb0,0x01]
15 @ CHECK: veor q8, q8, q9 @ encoding: [0x40,0xff,0xf2,0x01]
18 vorr d16, d17, d16
19 vorr q8, q8, q9
20 @ vorr.i32 d16, #0x1000000
21 @ vorr.i32 q8, #0x1000000
22 @ vorr.i32 q8, #0x0
24 @ CHECK: vorr d16, d17, d16 @ encoding: [0x61,0xef,0xb0,0x01]
25 @ CHECK: vorr q8, q8, q9 @ encoding: [0x60,0xef,0xf2,0x01]
28 vbic d16, d17, d16
29 vbic q8, q8, q9
30 @ vbic.i32 d16, #0xFF000000
31 @ vbic.i32 q8, #0xFF000000
33 @ CHECK: vbic d16, d17, d16 @ encoding: [0x51,0xef,0xb0,0x01]
34 @ CHECK: vbic q8, q8, q9 @ encoding: [0x50,0xef,0xf2,0x01]
37 vorn d16, d17, d16
38 vorn q8, q8, q9
40 @ CHECK: vorn d16, d17, d16 @ encoding: [0x71,0xef,0xb0,0x01]
41 @ CHECK: vorn q8, q8, q9 @ encoding: [0x70,0xef,0xf2,0x01]
44 vmvn d16, d16
45 vmvn q8, q8
47 @ CHECK: vmvn d16, d16 @ encoding: [0xf0,0xff,0xa0,0x05]
48 @ CHECK: vmvn q8, q8 @ encoding: [0xf0,0xff,0xe0,0x05]
51 vbsl d18, d17, d16
52 vbsl q8, q10, q9
54 @ CHECK: vbsl d18, d17, d16 @ encoding: [0x51,0xff,0xb0,0x21]
55 @ CHECK: vbsl q8, q10, q9 @ encoding: [0x54,0xff,0xf2,0x01]