[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / X86 / avx5124fmaps-encoding.s
blob0e410745beb55f79b3843be30e5ec3cae5d6c9f5
1 // RUN: llvm-mc -triple x86_64-unknown-unknown --show-encoding %s > %t 2> %t.err
2 // RUN: FileCheck < %t %s
3 // RUN: FileCheck --check-prefix=CHECK-STDERR < %t.err %s
5 // CHECK: v4fmaddps (%rax), %zmm20, %zmm17
6 // CHECK: encoding: [0x62,0xe2,0x5f,0x40,0x9a,0x08]
7 v4fmaddps (%rax), %zmm20, %zmm17
8 // CHECK: v4fmaddps (%rax), %zmm8, %zmm3 {%k1}
9 // CHECK: encoding: [0x62,0xf2,0x3f,0x49,0x9a,0x18]
10 v4fmaddps (%rax), %zmm8, %zmm3 {k1}
11 // CHECK: v4fmaddps (%rax), %zmm4, %zmm5 {%k1} {z}
12 // CHECK: encoding: [0x62,0xf2,0x5f,0xc9,0x9a,0x28]
13 v4fmaddps (%rax), %zmm4, %zmm5 {k1} {z}
15 // CHECK: v4fmaddss (%rax), %xmm20, %xmm17
16 // CHECK: encoding: [0x62,0xe2,0x5f,0x00,0x9b,0x08]
17 v4fmaddss (%rax), %xmm20, %xmm17
18 // CHECK: v4fmaddss (%rax), %xmm8, %xmm3 {%k1}
19 // CHECK: encoding: [0x62,0xf2,0x3f,0x09,0x9b,0x18]
20 v4fmaddss (%rax), %xmm8, %xmm3 {k1}
21 // CHECK: v4fmaddss (%rax), %xmm4, %xmm5 {%k1} {z}
22 // CHECK: encoding: [0x62,0xf2,0x5f,0x89,0x9b,0x28]
23 v4fmaddss (%rax), %xmm4, %xmm5 {k1} {z}
25 // CHECK: v4fnmaddps (%rax), %zmm20, %zmm17
26 // CHECK: encoding: [0x62,0xe2,0x5f,0x40,0xaa,0x08]
27 v4fnmaddps (%rax), %zmm20, %zmm17
28 // CHECK: v4fnmaddps (%rax), %zmm8, %zmm3 {%k1}
29 // CHECK: encoding: [0x62,0xf2,0x3f,0x49,0xaa,0x18]
30 v4fnmaddps (%rax), %zmm8, %zmm3 {k1}
31 // CHECK: v4fnmaddps (%rax), %zmm4, %zmm5 {%k1} {z}
32 // CHECK: encoding: [0x62,0xf2,0x5f,0xc9,0xaa,0x28]
33 v4fnmaddps (%rax), %zmm4, %zmm5 {k1} {z}
35 // CHECK: v4fnmaddss (%rax), %xmm20, %xmm17
36 // CHECK: encoding: [0x62,0xe2,0x5f,0x00,0xab,0x08]
37 v4fnmaddss (%rax), %xmm20, %xmm17
38 // CHECK: v4fnmaddss (%rax), %xmm8, %xmm3 {%k1}
39 // CHECK: encoding: [0x62,0xf2,0x3f,0x09,0xab,0x18]
40 v4fnmaddss (%rax), %xmm8, %xmm3 {k1}
41 // CHECK: v4fnmaddss (%rax), %xmm4, %xmm5 {%k1} {z}
42 // CHECK: encoding: [0x62,0xf2,0x5f,0x89,0xab,0x28]
43 v4fnmaddss (%rax), %xmm4, %xmm5 {k1} {z}
46 // CHECK-STDERR: warning: source register 'zmm21' implicitly denotes 'zmm20' to 'zmm23' source group
47 // CHECK: v4fmaddps (%rax), %zmm21, %zmm17
48 // CHECK: encoding: [0x62,0xe2,0x57,0x40,0x9a,0x08]
49 v4fmaddps (%rax), %zmm21, %zmm17
50 // CHECK-STDERR: warning: source register 'zmm10' implicitly denotes 'zmm8' to 'zmm11' source group
51 // CHECK: v4fmaddps (%rax), %zmm10, %zmm3 {%k1}
52 // CHECK: encoding: [0x62,0xf2,0x2f,0x49,0x9a,0x18]
53 v4fmaddps (%rax), %zmm10, %zmm3 {k1}
54 // CHECK-STDERR: warning: source register 'zmm7' implicitly denotes 'zmm4' to 'zmm7' source group
55 // CHECK: v4fmaddps (%rax), %zmm7, %zmm5 {%k1} {z}
56 // CHECK: encoding: [0x62,0xf2,0x47,0xc9,0x9a,0x28]
57 v4fmaddps (%rax), %zmm7, %zmm5 {k1} {z}
59 // CHECK-STDERR: warning: source register 'xmm21' implicitly denotes 'xmm20' to 'xmm23' source group
60 // CHECK: v4fmaddss (%rax), %xmm21, %xmm17
61 // CHECK: encoding: [0x62,0xe2,0x57,0x00,0x9b,0x08]
62 v4fmaddss (%rax), %xmm21, %xmm17
63 // CHECK-STDERR: warning: source register 'xmm10' implicitly denotes 'xmm8' to 'xmm11' source group
64 // CHECK: v4fmaddss (%rax), %xmm10, %xmm3 {%k1}
65 // CHECK: encoding: [0x62,0xf2,0x2f,0x09,0x9b,0x18]
66 v4fmaddss (%rax), %xmm10, %xmm3 {k1}
67 // CHECK-STDERR: warning: source register 'xmm7' implicitly denotes 'xmm4' to 'xmm7' source group
68 // CHECK: v4fmaddss (%rax), %xmm7, %xmm5 {%k1} {z}
69 // CHECK: encoding: [0x62,0xf2,0x47,0x89,0x9b,0x28]
70 v4fmaddss (%rax), %xmm7, %xmm5 {k1} {z}