[InstCombine] Signed saturation patterns
[llvm-core.git] / test / MC / X86 / avx512vp2intersectvl-intel.s
blob188d1bb461f7a185a7057b21dbd7a1c5ac85038d
1 // RUN: llvm-mc -triple i386-unknown-unknown -x86-asm-syntax=intel -output-asm-variant=1 --show-encoding %s | FileCheck %s
3 // CHECK: vp2intersectd k6, ymm3, ymm4
4 // CHECK: encoding: [0x62,0xf2,0x67,0x28,0x68,0xf4]
5 vp2intersectd k6, ymm3, ymm4
7 // CHECK: vp2intersectd k6, xmm3, xmm4
8 // CHECK: encoding: [0x62,0xf2,0x67,0x08,0x68,0xf4]
9 vp2intersectd k6, xmm3, xmm4
11 // CHECK: vp2intersectd k6, ymm3, ymmword ptr [esp + 8*esi + 268435456]
12 // CHECK: encoding: [0x62,0xf2,0x67,0x28,0x68,0xb4,0xf4,0x00,0x00,0x00,0x10]
13 vp2intersectd k6, ymm3, ymmword ptr [esp + 8*esi + 268435456]
15 // CHECK: vp2intersectd k6, ymm3, ymmword ptr [edi + 4*eax + 291]
16 // CHECK: encoding: [0x62,0xf2,0x67,0x28,0x68,0xb4,0x87,0x23,0x01,0x00,0x00]
17 vp2intersectd k6, ymm3, ymmword ptr [edi + 4*eax + 291]
19 // CHECK: vp2intersectd k6, ymm3, dword ptr [eax]{1to8}
20 // CHECK: encoding: [0x62,0xf2,0x67,0x38,0x68,0x30]
21 vp2intersectd k6, ymm3, dword ptr [eax]{1to8}
23 // CHECK: vp2intersectd k6, ymm3, ymmword ptr [2*ebp - 1024]
24 // CHECK: encoding: [0x62,0xf2,0x67,0x28,0x68,0x34,0x6d,0x00,0xfc,0xff,0xff]
25 vp2intersectd k6, ymm3, ymmword ptr [2*ebp - 1024]
27 // CHECK: vp2intersectd k6, ymm3, ymmword ptr [ecx + 4064]
28 // CHECK: encoding: [0x62,0xf2,0x67,0x28,0x68,0x71,0x7f]
29 vp2intersectd k6, ymm3, ymmword ptr [ecx + 4064]
31 // CHECK: vp2intersectd k6, ymm3, dword ptr [edx - 512]{1to8}
32 // CHECK: encoding: [0x62,0xf2,0x67,0x38,0x68,0x72,0x80]
33 vp2intersectd k6, ymm3, dword ptr [edx - 512]{1to8}
35 // CHECK: vp2intersectd k6, xmm3, xmmword ptr [esp + 8*esi + 268435456]
36 // CHECK: encoding: [0x62,0xf2,0x67,0x08,0x68,0xb4,0xf4,0x00,0x00,0x00,0x10]
37 vp2intersectd k6, xmm3, xmmword ptr [esp + 8*esi + 268435456]
39 // CHECK: vp2intersectd k6, xmm3, xmmword ptr [edi + 4*eax + 291]
40 // CHECK: encoding: [0x62,0xf2,0x67,0x08,0x68,0xb4,0x87,0x23,0x01,0x00,0x00]
41 vp2intersectd k6, xmm3, xmmword ptr [edi + 4*eax + 291]
43 // CHECK: vp2intersectd k6, xmm3, dword ptr [eax]{1to4}
44 // CHECK: encoding: [0x62,0xf2,0x67,0x18,0x68,0x30]
45 vp2intersectd k6, xmm3, dword ptr [eax]{1to4}
47 // CHECK: vp2intersectd k6, xmm3, xmmword ptr [2*ebp - 512]
48 // CHECK: encoding: [0x62,0xf2,0x67,0x08,0x68,0x34,0x6d,0x00,0xfe,0xff,0xff]
49 vp2intersectd k6, xmm3, xmmword ptr [2*ebp - 512]
51 // CHECK: vp2intersectd k6, xmm3, xmmword ptr [ecx + 2032]
52 // CHECK: encoding: [0x62,0xf2,0x67,0x08,0x68,0x71,0x7f]
53 vp2intersectd k6, xmm3, xmmword ptr [ecx + 2032]
55 // CHECK: vp2intersectd k6, xmm3, dword ptr [edx - 512]{1to4}
56 // CHECK: encoding: [0x62,0xf2,0x67,0x18,0x68,0x72,0x80]
57 vp2intersectd k6, xmm3, dword ptr [edx - 512]{1to4}
59 // CHECK: vp2intersectq k6, ymm3, ymm4
60 // CHECK: encoding: [0x62,0xf2,0xe7,0x28,0x68,0xf4]
61 vp2intersectq k6, ymm3, ymm4
63 // CHECK: vp2intersectq k6, xmm3, xmm4
64 // CHECK: encoding: [0x62,0xf2,0xe7,0x08,0x68,0xf4]
65 vp2intersectq k6, xmm3, xmm4
67 // CHECK: vp2intersectq k6, ymm3, ymmword ptr [esp + 8*esi + 268435456]
68 // CHECK: encoding: [0x62,0xf2,0xe7,0x28,0x68,0xb4,0xf4,0x00,0x00,0x00,0x10]
69 vp2intersectq k6, ymm3, ymmword ptr [esp + 8*esi + 268435456]
71 // CHECK: vp2intersectq k6, ymm3, ymmword ptr [edi + 4*eax + 291]
72 // CHECK: encoding: [0x62,0xf2,0xe7,0x28,0x68,0xb4,0x87,0x23,0x01,0x00,0x00]
73 vp2intersectq k6, ymm3, ymmword ptr [edi + 4*eax + 291]
75 // CHECK: vp2intersectq k6, ymm3, qword ptr [eax]{1to4}
76 // CHECK: encoding: [0x62,0xf2,0xe7,0x38,0x68,0x30]
77 vp2intersectq k6, ymm3, qword ptr [eax]{1to4}
79 // CHECK: vp2intersectq k6, ymm3, ymmword ptr [2*ebp - 1024]
80 // CHECK: encoding: [0x62,0xf2,0xe7,0x28,0x68,0x34,0x6d,0x00,0xfc,0xff,0xff]
81 vp2intersectq k6, ymm3, ymmword ptr [2*ebp - 1024]
83 // CHECK: vp2intersectq k6, ymm3, ymmword ptr [ecx + 4064]
84 // CHECK: encoding: [0x62,0xf2,0xe7,0x28,0x68,0x71,0x7f]
85 vp2intersectq k6, ymm3, ymmword ptr [ecx + 4064]
87 // CHECK: vp2intersectq k6, ymm3, qword ptr [edx - 1024]{1to4}
88 // CHECK: encoding: [0x62,0xf2,0xe7,0x38,0x68,0x72,0x80]
89 vp2intersectq k6, ymm3, qword ptr [edx - 1024]{1to4}
91 // CHECK: vp2intersectq k6, xmm3, xmmword ptr [esp + 8*esi + 268435456]
92 // CHECK: encoding: [0x62,0xf2,0xe7,0x08,0x68,0xb4,0xf4,0x00,0x00,0x00,0x10]
93 vp2intersectq k6, xmm3, xmmword ptr [esp + 8*esi + 268435456]
95 // CHECK: vp2intersectq k6, xmm3, xmmword ptr [edi + 4*eax + 291]
96 // CHECK: encoding: [0x62,0xf2,0xe7,0x08,0x68,0xb4,0x87,0x23,0x01,0x00,0x00]
97 vp2intersectq k6, xmm3, xmmword ptr [edi + 4*eax + 291]
99 // CHECK: vp2intersectq k6, xmm3, qword ptr [eax]{1to2}
100 // CHECK: encoding: [0x62,0xf2,0xe7,0x18,0x68,0x30]
101 vp2intersectq k6, xmm3, qword ptr [eax]{1to2}
103 // CHECK: vp2intersectq k6, xmm3, xmmword ptr [2*ebp - 512]
104 // CHECK: encoding: [0x62,0xf2,0xe7,0x08,0x68,0x34,0x6d,0x00,0xfe,0xff,0xff]
105 vp2intersectq k6, xmm3, xmmword ptr [2*ebp - 512]
107 // CHECK: vp2intersectq k6, xmm3, xmmword ptr [ecx + 2032]
108 // CHECK: encoding: [0x62,0xf2,0xe7,0x08,0x68,0x71,0x7f]
109 vp2intersectq k6, xmm3, xmmword ptr [ecx + 2032]
111 // CHECK: vp2intersectq k6, xmm3, qword ptr [edx - 1024]{1to2}
112 // CHECK: encoding: [0x62,0xf2,0xe7,0x18,0x68,0x72,0x80]
113 vp2intersectq k6, xmm3, qword ptr [edx - 1024]{1to2}