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