1 // RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s 2 3 // CHECK: vaesdec -485498096(%edx,%eax,4), %xmm1, %xmm1 4 // CHECK: encoding: [0xc4,0xe2,0x71,0xde,0x8c,0x82,0x10,0xe3,0x0f,0xe3] 5 vaesdec -485498096(%edx,%eax,4), %xmm1, %xmm1 6 7 // CHECK: vaesdec 485498096(%edx,%eax,4), %xmm1, %xmm1 8 // CHECK: encoding: [0xc4,0xe2,0x71,0xde,0x8c,0x82,0xf0,0x1c,0xf0,0x1c] 9 vaesdec 485498096(%edx,%eax,4), %xmm1, %xmm1 10 11 // CHECK: vaesdec 485498096(%edx), %xmm1, %xmm1 12 // CHECK: encoding: [0xc4,0xe2,0x71,0xde,0x8a,0xf0,0x1c,0xf0,0x1c] 13 vaesdec 485498096(%edx), %xmm1, %xmm1 14 15 // CHECK: vaesdec 485498096, %xmm1, %xmm1 16 // CHECK: encoding: [0xc4,0xe2,0x71,0xde,0x0d,0xf0,0x1c,0xf0,0x1c] 17 vaesdec 485498096, %xmm1, %xmm1 18 19 // CHECK: vaesdec 64(%edx,%eax), %xmm1, %xmm1 20 // CHECK: encoding: [0xc4,0xe2,0x71,0xde,0x4c,0x02,0x40] 21 vaesdec 64(%edx,%eax), %xmm1, %xmm1 22 23 // CHECK: vaesdec (%edx), %xmm1, %xmm1 24 // CHECK: encoding: [0xc4,0xe2,0x71,0xde,0x0a] 25 vaesdec (%edx), %xmm1, %xmm1 26 27 // CHECK: vaesdeclast -485498096(%edx,%eax,4), %xmm1, %xmm1 28 // CHECK: encoding: [0xc4,0xe2,0x71,0xdf,0x8c,0x82,0x10,0xe3,0x0f,0xe3] 29 vaesdeclast -485498096(%edx,%eax,4), %xmm1, %xmm1 30 31 // CHECK: vaesdeclast 485498096(%edx,%eax,4), %xmm1, %xmm1 32 // CHECK: encoding: [0xc4,0xe2,0x71,0xdf,0x8c,0x82,0xf0,0x1c,0xf0,0x1c] 33 vaesdeclast 485498096(%edx,%eax,4), %xmm1, %xmm1 34 35 // CHECK: vaesdeclast 485498096(%edx), %xmm1, %xmm1 36 // CHECK: encoding: [0xc4,0xe2,0x71,0xdf,0x8a,0xf0,0x1c,0xf0,0x1c] 37 vaesdeclast 485498096(%edx), %xmm1, %xmm1 38 39 // CHECK: vaesdeclast 485498096, %xmm1, %xmm1 40 // CHECK: encoding: [0xc4,0xe2,0x71,0xdf,0x0d,0xf0,0x1c,0xf0,0x1c] 41 vaesdeclast 485498096, %xmm1, %xmm1 42 43 // CHECK: vaesdeclast 64(%edx,%eax), %xmm1, %xmm1 44 // CHECK: encoding: [0xc4,0xe2,0x71,0xdf,0x4c,0x02,0x40] 45 vaesdeclast 64(%edx,%eax), %xmm1, %xmm1 46 47 // CHECK: vaesdeclast (%edx), %xmm1, %xmm1 48 // CHECK: encoding: [0xc4,0xe2,0x71,0xdf,0x0a] 49 vaesdeclast (%edx), %xmm1, %xmm1 50 51 // CHECK: vaesdeclast %xmm1, %xmm1, %xmm1 52 // CHECK: encoding: [0xc4,0xe2,0x71,0xdf,0xc9] 53 vaesdeclast %xmm1, %xmm1, %xmm1 54 55 // CHECK: vaesdec %xmm1, %xmm1, %xmm1 56 // CHECK: encoding: [0xc4,0xe2,0x71,0xde,0xc9] 57 vaesdec %xmm1, %xmm1, %xmm1 58 59 // CHECK: vaesenc -485498096(%edx,%eax,4), %xmm1, %xmm1 60 // CHECK: encoding: [0xc4,0xe2,0x71,0xdc,0x8c,0x82,0x10,0xe3,0x0f,0xe3] 61 vaesenc -485498096(%edx,%eax,4), %xmm1, %xmm1 62 63 // CHECK: vaesenc 485498096(%edx,%eax,4), %xmm1, %xmm1 64 // CHECK: encoding: [0xc4,0xe2,0x71,0xdc,0x8c,0x82,0xf0,0x1c,0xf0,0x1c] 65 vaesenc 485498096(%edx,%eax,4), %xmm1, %xmm1 66 67 // CHECK: vaesenc 485498096(%edx), %xmm1, %xmm1 68 // CHECK: encoding: [0xc4,0xe2,0x71,0xdc,0x8a,0xf0,0x1c,0xf0,0x1c] 69 vaesenc 485498096(%edx), %xmm1, %xmm1 70 71 // CHECK: vaesenc 485498096, %xmm1, %xmm1 72 // CHECK: encoding: [0xc4,0xe2,0x71,0xdc,0x0d,0xf0,0x1c,0xf0,0x1c] 73 vaesenc 485498096, %xmm1, %xmm1 74 75 // CHECK: vaesenc 64(%edx,%eax), %xmm1, %xmm1 76 // CHECK: encoding: [0xc4,0xe2,0x71,0xdc,0x4c,0x02,0x40] 77 vaesenc 64(%edx,%eax), %xmm1, %xmm1 78 79 // CHECK: vaesenc (%edx), %xmm1, %xmm1 80 // CHECK: encoding: [0xc4,0xe2,0x71,0xdc,0x0a] 81 vaesenc (%edx), %xmm1, %xmm1 82 83 // CHECK: vaesenclast -485498096(%edx,%eax,4), %xmm1, %xmm1 84 // CHECK: encoding: [0xc4,0xe2,0x71,0xdd,0x8c,0x82,0x10,0xe3,0x0f,0xe3] 85 vaesenclast -485498096(%edx,%eax,4), %xmm1, %xmm1 86 87 // CHECK: vaesenclast 485498096(%edx,%eax,4), %xmm1, %xmm1 88 // CHECK: encoding: [0xc4,0xe2,0x71,0xdd,0x8c,0x82,0xf0,0x1c,0xf0,0x1c] 89 vaesenclast 485498096(%edx,%eax,4), %xmm1, %xmm1 90 91 // CHECK: vaesenclast 485498096(%edx), %xmm1, %xmm1 92 // CHECK: encoding: [0xc4,0xe2,0x71,0xdd,0x8a,0xf0,0x1c,0xf0,0x1c] 93 vaesenclast 485498096(%edx), %xmm1, %xmm1 94 95 // CHECK: vaesenclast 485498096, %xmm1, %xmm1 96 // CHECK: encoding: [0xc4,0xe2,0x71,0xdd,0x0d,0xf0,0x1c,0xf0,0x1c] 97 vaesenclast 485498096, %xmm1, %xmm1 98 99 // CHECK: vaesenclast 64(%edx,%eax), %xmm1, %xmm1 100 // CHECK: encoding: [0xc4,0xe2,0x71,0xdd,0x4c,0x02,0x40] 101 vaesenclast 64(%edx,%eax), %xmm1, %xmm1 102 103 // CHECK: vaesenclast (%edx), %xmm1, %xmm1 104 // CHECK: encoding: [0xc4,0xe2,0x71,0xdd,0x0a] 105 vaesenclast (%edx), %xmm1, %xmm1 106 107 // CHECK: vaesenclast %xmm1, %xmm1, %xmm1 108 // CHECK: encoding: [0xc4,0xe2,0x71,0xdd,0xc9] 109 vaesenclast %xmm1, %xmm1, %xmm1 110 111 // CHECK: vaesenc %xmm1, %xmm1, %xmm1 112 // CHECK: encoding: [0xc4,0xe2,0x71,0xdc,0xc9] 113 vaesenc %xmm1, %xmm1, %xmm1 114 115 // CHECK: vaesimc -485498096(%edx,%eax,4), %xmm1 116 // CHECK: encoding: [0xc4,0xe2,0x79,0xdb,0x8c,0x82,0x10,0xe3,0x0f,0xe3] 117 vaesimc -485498096(%edx,%eax,4), %xmm1 118 119 // CHECK: vaesimc 485498096(%edx,%eax,4), %xmm1 120 // CHECK: encoding: [0xc4,0xe2,0x79,0xdb,0x8c,0x82,0xf0,0x1c,0xf0,0x1c] 121 vaesimc 485498096(%edx,%eax,4), %xmm1 122 123 // CHECK: vaesimc 485498096(%edx), %xmm1 124 // CHECK: encoding: [0xc4,0xe2,0x79,0xdb,0x8a,0xf0,0x1c,0xf0,0x1c] 125 vaesimc 485498096(%edx), %xmm1 126 127 // CHECK: vaesimc 485498096, %xmm1 128 // CHECK: encoding: [0xc4,0xe2,0x79,0xdb,0x0d,0xf0,0x1c,0xf0,0x1c] 129 vaesimc 485498096, %xmm1 130 131 // CHECK: vaesimc 64(%edx,%eax), %xmm1 132 // CHECK: encoding: [0xc4,0xe2,0x79,0xdb,0x4c,0x02,0x40] 133 vaesimc 64(%edx,%eax), %xmm1 134 135 // CHECK: vaesimc (%edx), %xmm1 136 // CHECK: encoding: [0xc4,0xe2,0x79,0xdb,0x0a] 137 vaesimc (%edx), %xmm1 138 139 // CHECK: vaesimc %xmm1, %xmm1 140 // CHECK: encoding: [0xc4,0xe2,0x79,0xdb,0xc9] 141 vaesimc %xmm1, %xmm1 142 143 // CHECK: vaeskeygenassist $0, -485498096(%edx,%eax,4), %xmm1 144 // CHECK: encoding: [0xc4,0xe3,0x79,0xdf,0x8c,0x82,0x10,0xe3,0x0f,0xe3,0x00] 145 vaeskeygenassist $0, -485498096(%edx,%eax,4), %xmm1 146 147 // CHECK: vaeskeygenassist $0, 485498096(%edx,%eax,4), %xmm1 148 // CHECK: encoding: [0xc4,0xe3,0x79,0xdf,0x8c,0x82,0xf0,0x1c,0xf0,0x1c,0x00] 149 vaeskeygenassist $0, 485498096(%edx,%eax,4), %xmm1 150 151 // CHECK: vaeskeygenassist $0, 485498096(%edx), %xmm1 152 // CHECK: encoding: [0xc4,0xe3,0x79,0xdf,0x8a,0xf0,0x1c,0xf0,0x1c,0x00] 153 vaeskeygenassist $0, 485498096(%edx), %xmm1 154 155 // CHECK: vaeskeygenassist $0, 485498096, %xmm1 156 // CHECK: encoding: [0xc4,0xe3,0x79,0xdf,0x0d,0xf0,0x1c,0xf0,0x1c,0x00] 157 vaeskeygenassist $0, 485498096, %xmm1 158 159 // CHECK: vaeskeygenassist $0, 64(%edx,%eax), %xmm1 160 // CHECK: encoding: [0xc4,0xe3,0x79,0xdf,0x4c,0x02,0x40,0x00] 161 vaeskeygenassist $0, 64(%edx,%eax), %xmm1 162 163 // CHECK: vaeskeygenassist $0, (%edx), %xmm1 164 // CHECK: encoding: [0xc4,0xe3,0x79,0xdf,0x0a,0x00] 165 vaeskeygenassist $0, (%edx), %xmm1 166 167 // CHECK: vaeskeygenassist $0, %xmm1, %xmm1 168 // CHECK: encoding: [0xc4,0xe3,0x79,0xdf,0xc9,0x00] 169 vaeskeygenassist $0, %xmm1, %xmm1 170 171