[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / AArch64 / armv8.3a-complex.s
blobdae5d4779510054259f3ea6569c93714206a49e2
1 // RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+complxnum,+fullfp16 -o - %s 2>%t | FileCheck %s
2 // RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+v8.3a,+fullfp16 -o - %s 2>%t | FileCheck %s
3 fcmla v0.4h, v1.4h, v2.4h, #0
4 fcmla v0.8h, v1.8h, v2.8h, #0
5 fcmla v0.2s, v1.2s, v2.2s, #0
6 fcmla v0.4s, v1.4s, v2.4s, #0
7 fcmla v0.2d, v1.2d, v2.2d, #0
8 fcmla v0.2s, v1.2s, v2.2s, #0
9 fcmla v0.2s, v1.2s, v2.2s, #90
10 fcmla v0.2s, v1.2s, v2.2s, #180
11 fcmla v0.2s, v1.2s, v2.2s, #270
12 fcadd v0.4h, v1.4h, v2.4h, #90
13 fcadd v0.8h, v1.8h, v2.8h, #90
14 fcadd v0.2s, v1.2s, v2.2s, #90
15 fcadd v0.4s, v1.4s, v2.4s, #90
16 fcadd v0.2d, v1.2d, v2.2d, #90
17 fcadd v0.2s, v1.2s, v2.2s, #90
18 fcadd v0.2s, v1.2s, v2.2s, #270
19 fcmla v0.4h, v1.4h, v2.h[0], #0
20 fcmla v0.8h, v1.8h, v2.h[0], #0
21 fcmla v0.4s, v1.4s, v2.s[0], #0
22 fcmla v0.4s, v1.4s, v2.s[0], #90
23 fcmla v0.4s, v1.4s, v2.s[0], #180
24 fcmla v0.4s, v1.4s, v2.s[0], #270
25 fcmla v0.4h, v1.4h, v2.h[1], #0
26 fcmla v0.8h, v1.8h, v2.h[3], #0
27 fcmla v0.4s, v1.4s, v2.s[1], #0
28 //CHECK: .text
29 //CHECK-NEXT: fcmla v0.4h, v1.4h, v2.4h, #0 // encoding: [0x20,0xc4,0x42,0x2e]
30 //CHECK-NEXT: fcmla v0.8h, v1.8h, v2.8h, #0 // encoding: [0x20,0xc4,0x42,0x6e]
31 //CHECK-NEXT: fcmla v0.2s, v1.2s, v2.2s, #0 // encoding: [0x20,0xc4,0x82,0x2e]
32 //CHECK-NEXT: fcmla v0.4s, v1.4s, v2.4s, #0 // encoding: [0x20,0xc4,0x82,0x6e]
33 //CHECK-NEXT: fcmla v0.2d, v1.2d, v2.2d, #0 // encoding: [0x20,0xc4,0xc2,0x6e]
34 //CHECK-NEXT: fcmla v0.2s, v1.2s, v2.2s, #0 // encoding: [0x20,0xc4,0x82,0x2e]
35 //CHECK-NEXT: fcmla v0.2s, v1.2s, v2.2s, #90 // encoding: [0x20,0xcc,0x82,0x2e]
36 //CHECK-NEXT: fcmla v0.2s, v1.2s, v2.2s, #180 // encoding: [0x20,0xd4,0x82,0x2e]
37 //CHECK-NEXT: fcmla v0.2s, v1.2s, v2.2s, #270 // encoding: [0x20,0xdc,0x82,0x2e]
38 //CHECK-NEXT: fcadd v0.4h, v1.4h, v2.4h, #90 // encoding: [0x20,0xe4,0x42,0x2e]
39 //CHECK-NEXT: fcadd v0.8h, v1.8h, v2.8h, #90 // encoding: [0x20,0xe4,0x42,0x6e]
40 //CHECK-NEXT: fcadd v0.2s, v1.2s, v2.2s, #90 // encoding: [0x20,0xe4,0x82,0x2e]
41 //CHECK-NEXT: fcadd v0.4s, v1.4s, v2.4s, #90 // encoding: [0x20,0xe4,0x82,0x6e]
42 //CHECK-NEXT: fcadd v0.2d, v1.2d, v2.2d, #90 // encoding: [0x20,0xe4,0xc2,0x6e]
43 //CHECK-NEXT: fcadd v0.2s, v1.2s, v2.2s, #90 // encoding: [0x20,0xe4,0x82,0x2e]
44 //CHECK-NEXT: fcadd v0.2s, v1.2s, v2.2s, #270 // encoding: [0x20,0xf4,0x82,0x2e]
45 //CHECK-NEXT: fcmla v0.4h, v1.4h, v2.h[0], #0 // encoding: [0x20,0x10,0x42,0x2f]
46 //CHECK-NEXT: fcmla v0.8h, v1.8h, v2.h[0], #0 // encoding: [0x20,0x10,0x42,0x6f]
47 //CHECK-NEXT: fcmla v0.4s, v1.4s, v2.s[0], #0 // encoding: [0x20,0x10,0x82,0x6f]
48 //CHECK-NEXT: fcmla v0.4s, v1.4s, v2.s[0], #90 // encoding: [0x20,0x30,0x82,0x6f]
49 //CHECK-NEXT: fcmla v0.4s, v1.4s, v2.s[0], #180 // encoding: [0x20,0x50,0x82,0x6f]
50 //CHECK-NEXT: fcmla v0.4s, v1.4s, v2.s[0], #270 // encoding: [0x20,0x70,0x82,0x6f]
51 //CHECK-NEXT: fcmla v0.4h, v1.4h, v2.h[1], #0 // encoding: [0x20,0x10,0x62,0x2f]
52 //CHECK-NEXT: fcmla v0.8h, v1.8h, v2.h[3], #0 // encoding: [0x20,0x18,0x62,0x6f]
53 //CHECK-NEXT: fcmla v0.4s, v1.4s, v2.s[1], #0 // encoding: [0x20,0x18,0x82,0x6f]