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