1// RUN: llvm-mc -triple=aarch64-none-linux-gnu < %s | FileCheck %s
2
3// CHECK: and x0, x1, #0xfffffffffffffffd
4// CHECK: and x0, x1, #0xfffffffffffffffd
5        and x0, x1, #~2
6        bic x0, x1, #2
7
8// CHECK: and w0, w1, #0xfffffffd
9// CHECK: and w0, w1, #0xfffffffd
10        and w0, w1, #~2
11        bic w0, w1, #2
12
13// CHECK: ands x0, x1, #0xfffffffffffffffd
14// CHECK: ands x0, x1, #0xfffffffffffffffd
15        ands x0, x1, #~2
16        bics x0, x1, #2
17
18// CHECK: ands w0, w1, #0xfffffffd
19// CHECK: ands w0, w1, #0xfffffffd
20        ands w0, w1, #~2
21        bics w0, w1, #2
22
23// CHECK: orr x0, x1, #0xfffffffffffffffd
24// CHECK: orr x0, x1, #0xfffffffffffffffd
25        orr x0, x1, #~2
26        orn x0, x1, #2
27
28// CHECK: orr w2, w1, #0xfffffffc
29// CHECK: orr w2, w1, #0xfffffffc
30        orr w2, w1, #~3
31        orn w2, w1, #3
32
33// CHECK: eor x0, x1, #0xfffffffffffffffd
34// CHECK: eor x0, x1, #0xfffffffffffffffd
35        eor x0, x1, #~2
36        eon x0, x1, #2
37
38// CHECK: eor w2, w1, #0xfffffffc
39// CHECK: eor w2, w1, #0xfffffffc
40        eor w2, w1, #~3
41        eon w2, w1, #3
42