[InstCombine] Signed saturation patterns
[llvm-core.git] / test / MC / X86 / x86-64-avx512_vp2intersect-intel.s
blob1dd9501bb26132694d6cc18aa390463565c0618b
1 // RUN: llvm-mc -triple x86_64-unknown-unknown -x86-asm-syntax=intel -output-asm-variant=1 --show-encoding %s | FileCheck %s
2 // CHECK: vp2intersectd k4, zmm23, zmm24
3 // CHECK: encoding: [0x62,0x92,0x47,0x40,0x68,0xe0]
4 vp2intersectd k4, zmm23, zmm24
6 // CHECK: vp2intersectd k4, zmm23, zmmword ptr [rbp + 8*r14 + 268435456]
7 // CHECK: encoding: [0x62,0xb2,0x47,0x40,0x68,0xa4,0xf5,0x00,0x00,0x00,0x10]
8 vp2intersectd k4, zmm23, zmmword ptr [rbp + 8*r14 + 268435456]
10 // CHECK: vp2intersectd k4, zmm23, zmmword ptr [r8 + 4*rax + 291]
11 // CHECK: encoding: [0x62,0xd2,0x47,0x40,0x68,0xa4,0x80,0x23,0x01,0x00,0x00]
12 vp2intersectd k4, zmm23, zmmword ptr [r8 + 4*rax + 291]
14 // CHECK: vp2intersectd k4, zmm23, dword ptr [rip]{1to16}
15 // CHECK: encoding: [0x62,0xf2,0x47,0x50,0x68,0x25,0x00,0x00,0x00,0x00]
16 vp2intersectd k4, zmm23, dword ptr [rip]{1to16}
18 // CHECK: vp2intersectd k4, zmm23, zmmword ptr [2*rbp - 2048]
19 // CHECK: encoding: [0x62,0xf2,0x47,0x40,0x68,0x24,0x6d,0x00,0xf8,0xff,0xff]
20 vp2intersectd k4, zmm23, zmmword ptr [2*rbp - 2048]
22 // CHECK: vp2intersectd k4, zmm23, zmmword ptr [rcx + 8128]
23 // CHECK: encoding: [0x62,0xf2,0x47,0x40,0x68,0x61,0x7f]
24 vp2intersectd k4, zmm23, zmmword ptr [rcx + 8128]
26 // CHECK: vp2intersectd k4, zmm23, dword ptr [rdx - 512]{1to16}
27 // CHECK: encoding: [0x62,0xf2,0x47,0x50,0x68,0x62,0x80]
28 vp2intersectd k4, zmm23, dword ptr [rdx - 512]{1to16}
30 // CHECK: vp2intersectq k4, zmm23, zmm24
31 // CHECK: encoding: [0x62,0x92,0xc7,0x40,0x68,0xe0]
32 vp2intersectq k4, zmm23, zmm24
34 // CHECK: vp2intersectq k4, zmm23, zmmword ptr [rbp + 8*r14 + 268435456]
35 // CHECK: encoding: [0x62,0xb2,0xc7,0x40,0x68,0xa4,0xf5,0x00,0x00,0x00,0x10]
36 vp2intersectq k4, zmm23, zmmword ptr [rbp + 8*r14 + 268435456]
38 // CHECK: vp2intersectq k4, zmm23, zmmword ptr [r8 + 4*rax + 291]
39 // CHECK: encoding: [0x62,0xd2,0xc7,0x40,0x68,0xa4,0x80,0x23,0x01,0x00,0x00]
40 vp2intersectq k4, zmm23, zmmword ptr [r8 + 4*rax + 291]
42 // CHECK: vp2intersectq k4, zmm23, qword ptr [rip]{1to8}
43 // CHECK: encoding: [0x62,0xf2,0xc7,0x50,0x68,0x25,0x00,0x00,0x00,0x00]
44 vp2intersectq k4, zmm23, qword ptr [rip]{1to8}
46 // CHECK: vp2intersectq k4, zmm23, zmmword ptr [2*rbp - 2048]
47 // CHECK: encoding: [0x62,0xf2,0xc7,0x40,0x68,0x24,0x6d,0x00,0xf8,0xff,0xff]
48 vp2intersectq k4, zmm23, zmmword ptr [2*rbp - 2048]
50 // CHECK: vp2intersectq k4, zmm23, zmmword ptr [rcx + 8128]
51 // CHECK: encoding: [0x62,0xf2,0xc7,0x40,0x68,0x61,0x7f]
52 vp2intersectq k4, zmm23, zmmword ptr [rcx + 8128]
54 // CHECK: vp2intersectq k4, zmm23, qword ptr [rdx - 1024]{1to8}
55 // CHECK: encoding: [0x62,0xf2,0xc7,0x50,0x68,0x62,0x80]
56 vp2intersectq k4, zmm23, qword ptr [rdx - 1024]{1to8}