Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / X86 / sm3-intel-32.s
blobda3818a1dc9974ead019265ecd1e5135e48e0f30
1 // RUN: llvm-mc -triple i686-unknown-unknown -x86-asm-syntax=intel -output-asm-variant=1 --show-encoding %s | FileCheck %s
3 // CHECK: vsm3msg1 xmm2, xmm3, xmm4
4 // CHECK: encoding: [0xc4,0xe2,0x60,0xda,0xd4]
5 vsm3msg1 xmm2, xmm3, xmm4
7 // CHECK: vsm3msg1 xmm2, xmm3, xmmword ptr [esp + 8*esi + 268435456]
8 // CHECK: encoding: [0xc4,0xe2,0x60,0xda,0x94,0xf4,0x00,0x00,0x00,0x10]
9 vsm3msg1 xmm2, xmm3, xmmword ptr [esp + 8*esi + 268435456]
11 // CHECK: vsm3msg1 xmm2, xmm3, xmmword ptr [edi + 4*eax + 291]
12 // CHECK: encoding: [0xc4,0xe2,0x60,0xda,0x94,0x87,0x23,0x01,0x00,0x00]
13 vsm3msg1 xmm2, xmm3, xmmword ptr [edi + 4*eax + 291]
15 // CHECK: vsm3msg1 xmm2, xmm3, xmmword ptr [eax]
16 // CHECK: encoding: [0xc4,0xe2,0x60,0xda,0x10]
17 vsm3msg1 xmm2, xmm3, xmmword ptr [eax]
19 // CHECK: vsm3msg1 xmm2, xmm3, xmmword ptr [2*ebp - 512]
20 // CHECK: encoding: [0xc4,0xe2,0x60,0xda,0x14,0x6d,0x00,0xfe,0xff,0xff]
21 vsm3msg1 xmm2, xmm3, xmmword ptr [2*ebp - 512]
23 // CHECK: vsm3msg1 xmm2, xmm3, xmmword ptr [ecx + 2032]
24 // CHECK: encoding: [0xc4,0xe2,0x60,0xda,0x91,0xf0,0x07,0x00,0x00]
25 vsm3msg1 xmm2, xmm3, xmmword ptr [ecx + 2032]
27 // CHECK: vsm3msg1 xmm2, xmm3, xmmword ptr [edx - 2048]
28 // CHECK: encoding: [0xc4,0xe2,0x60,0xda,0x92,0x00,0xf8,0xff,0xff]
29 vsm3msg1 xmm2, xmm3, xmmword ptr [edx - 2048]
31 // CHECK: vsm3msg2 xmm2, xmm3, xmm4
32 // CHECK: encoding: [0xc4,0xe2,0x61,0xda,0xd4]
33 vsm3msg2 xmm2, xmm3, xmm4
35 // CHECK: vsm3msg2 xmm2, xmm3, xmmword ptr [esp + 8*esi + 268435456]
36 // CHECK: encoding: [0xc4,0xe2,0x61,0xda,0x94,0xf4,0x00,0x00,0x00,0x10]
37 vsm3msg2 xmm2, xmm3, xmmword ptr [esp + 8*esi + 268435456]
39 // CHECK: vsm3msg2 xmm2, xmm3, xmmword ptr [edi + 4*eax + 291]
40 // CHECK: encoding: [0xc4,0xe2,0x61,0xda,0x94,0x87,0x23,0x01,0x00,0x00]
41 vsm3msg2 xmm2, xmm3, xmmword ptr [edi + 4*eax + 291]
43 // CHECK: vsm3msg2 xmm2, xmm3, xmmword ptr [eax]
44 // CHECK: encoding: [0xc4,0xe2,0x61,0xda,0x10]
45 vsm3msg2 xmm2, xmm3, xmmword ptr [eax]
47 // CHECK: vsm3msg2 xmm2, xmm3, xmmword ptr [2*ebp - 512]
48 // CHECK: encoding: [0xc4,0xe2,0x61,0xda,0x14,0x6d,0x00,0xfe,0xff,0xff]
49 vsm3msg2 xmm2, xmm3, xmmword ptr [2*ebp - 512]
51 // CHECK: vsm3msg2 xmm2, xmm3, xmmword ptr [ecx + 2032]
52 // CHECK: encoding: [0xc4,0xe2,0x61,0xda,0x91,0xf0,0x07,0x00,0x00]
53 vsm3msg2 xmm2, xmm3, xmmword ptr [ecx + 2032]
55 // CHECK: vsm3msg2 xmm2, xmm3, xmmword ptr [edx - 2048]
56 // CHECK: encoding: [0xc4,0xe2,0x61,0xda,0x92,0x00,0xf8,0xff,0xff]
57 vsm3msg2 xmm2, xmm3, xmmword ptr [edx - 2048]
59 // CHECK: vsm3rnds2 xmm2, xmm3, xmm4, 123
60 // CHECK: encoding: [0xc4,0xe3,0x61,0xde,0xd4,0x7b]
61 vsm3rnds2 xmm2, xmm3, xmm4, 123
63 // CHECK: vsm3rnds2 xmm2, xmm3, xmmword ptr [esp + 8*esi + 268435456], 123
64 // CHECK: encoding: [0xc4,0xe3,0x61,0xde,0x94,0xf4,0x00,0x00,0x00,0x10,0x7b]
65 vsm3rnds2 xmm2, xmm3, xmmword ptr [esp + 8*esi + 268435456], 123
67 // CHECK: vsm3rnds2 xmm2, xmm3, xmmword ptr [edi + 4*eax + 291], 123
68 // CHECK: encoding: [0xc4,0xe3,0x61,0xde,0x94,0x87,0x23,0x01,0x00,0x00,0x7b]
69 vsm3rnds2 xmm2, xmm3, xmmword ptr [edi + 4*eax + 291], 123
71 // CHECK: vsm3rnds2 xmm2, xmm3, xmmword ptr [eax], 123
72 // CHECK: encoding: [0xc4,0xe3,0x61,0xde,0x10,0x7b]
73 vsm3rnds2 xmm2, xmm3, xmmword ptr [eax], 123
75 // CHECK: vsm3rnds2 xmm2, xmm3, xmmword ptr [2*ebp - 512], 123
76 // CHECK: encoding: [0xc4,0xe3,0x61,0xde,0x14,0x6d,0x00,0xfe,0xff,0xff,0x7b]
77 vsm3rnds2 xmm2, xmm3, xmmword ptr [2*ebp - 512], 123
79 // CHECK: vsm3rnds2 xmm2, xmm3, xmmword ptr [ecx + 2032], 123
80 // CHECK: encoding: [0xc4,0xe3,0x61,0xde,0x91,0xf0,0x07,0x00,0x00,0x7b]
81 vsm3rnds2 xmm2, xmm3, xmmword ptr [ecx + 2032], 123
83 // CHECK: vsm3rnds2 xmm2, xmm3, xmmword ptr [edx - 2048], 123
84 // CHECK: encoding: [0xc4,0xe3,0x61,0xde,0x92,0x00,0xf8,0xff,0xff,0x7b]
85 vsm3rnds2 xmm2, xmm3, xmmword ptr [edx - 2048], 123