[AMDGPU] Add commute for some VOP3 inst (#121326)
[llvm-project.git] / llvm / test / MC / AArch64 / armv8.3a-complex_nofp16.s
blobfee905182654138305ef0ceb3d3b455e532459a5
1 // RUN: llvm-mc -triple aarch64-none-linux-gnu -show-encoding -mattr=+complxnum -o - %s 2>%t | FileCheck %s
2 .text
3 fcmla v0.2s, v1.2s, v2.2s, #0
4 fcmla v0.4s, v1.4s, v2.4s, #0
5 fcmla v0.2d, v1.2d, v2.2d, #0
6 fcmla v0.2s, v1.2s, v2.2s, #0
7 fcmla v0.2s, v1.2s, v2.2s, #90
8 fcmla v0.2s, v1.2s, v2.2s, #180
9 fcmla v0.2s, v1.2s, v2.2s, #270
10 fcadd v0.2s, v1.2s, v2.2s, #90
11 fcadd v0.4s, v1.4s, v2.4s, #90
12 fcadd v0.2d, v1.2d, v2.2d, #90
13 fcadd v0.2s, v1.2s, v2.2s, #90
14 fcadd v0.2s, v1.2s, v2.2s, #270
15 fcmla v0.4s, v1.4s, v2.s[0], #0
16 fcmla v0.4s, v1.4s, v2.s[0], #90
17 fcmla v0.4s, v1.4s, v2.s[0], #180
18 fcmla v0.4s, v1.4s, v2.s[0], #270
19 fcmla v0.4s, v1.4s, v2.s[1], #0
20 //CHECK: .text
21 //CHECK-NEXT: fcmla v0.2s, v1.2s, v2.2s, #0 // encoding: [0x20,0xc4,0x82,0x2e]
22 //CHECK-NEXT: fcmla v0.4s, v1.4s, v2.4s, #0 // encoding: [0x20,0xc4,0x82,0x6e]
23 //CHECK-NEXT: fcmla v0.2d, v1.2d, v2.2d, #0 // encoding: [0x20,0xc4,0xc2,0x6e]
24 //CHECK-NEXT: fcmla v0.2s, v1.2s, v2.2s, #0 // encoding: [0x20,0xc4,0x82,0x2e]
25 //CHECK-NEXT: fcmla v0.2s, v1.2s, v2.2s, #90 // encoding: [0x20,0xcc,0x82,0x2e]
26 //CHECK-NEXT: fcmla v0.2s, v1.2s, v2.2s, #180 // encoding: [0x20,0xd4,0x82,0x2e]
27 //CHECK-NEXT: fcmla v0.2s, v1.2s, v2.2s, #270 // encoding: [0x20,0xdc,0x82,0x2e]
28 //CHECK-NEXT: fcadd v0.2s, v1.2s, v2.2s, #90 // encoding: [0x20,0xe4,0x82,0x2e]
29 //CHECK-NEXT: fcadd v0.4s, v1.4s, v2.4s, #90 // encoding: [0x20,0xe4,0x82,0x6e]
30 //CHECK-NEXT: fcadd v0.2d, v1.2d, v2.2d, #90 // encoding: [0x20,0xe4,0xc2,0x6e]
31 //CHECK-NEXT: fcadd v0.2s, v1.2s, v2.2s, #90 // encoding: [0x20,0xe4,0x82,0x2e]
32 //CHECK-NEXT: fcadd v0.2s, v1.2s, v2.2s, #270 // encoding: [0x20,0xf4,0x82,0x2e]
33 //CHECK-NEXT: fcmla v0.4s, v1.4s, v2.s[0], #0 // encoding: [0x20,0x10,0x82,0x6f]
34 //CHECK-NEXT: fcmla v0.4s, v1.4s, v2.s[0], #90 // encoding: [0x20,0x30,0x82,0x6f]
35 //CHECK-NEXT: fcmla v0.4s, v1.4s, v2.s[0], #180 // encoding: [0x20,0x50,0x82,0x6f]
36 //CHECK-NEXT: fcmla v0.4s, v1.4s, v2.s[0], #270 // encoding: [0x20,0x70,0x82,0x6f]
37 //CHECK-NEXT: fcmla v0.4s, v1.4s, v2.s[1], #0 // encoding: [0x20,0x18,0x82,0x6f]