1// RUN: llvm-mc -triple i386-unknown-unknown --show-encoding %s | FileCheck %s 2 3// CHECK: bzhil %edx, -485498096(%edx,%eax,4), %edx 4// CHECK: encoding: [0xc4,0xe2,0x68,0xf5,0x94,0x82,0x10,0xe3,0x0f,0xe3] 5bzhil %edx, -485498096(%edx,%eax,4), %edx 6 7// CHECK: bzhil %edx, 485498096(%edx,%eax,4), %edx 8// CHECK: encoding: [0xc4,0xe2,0x68,0xf5,0x94,0x82,0xf0,0x1c,0xf0,0x1c] 9bzhil %edx, 485498096(%edx,%eax,4), %edx 10 11// CHECK: bzhil %edx, 485498096(%edx), %edx 12// CHECK: encoding: [0xc4,0xe2,0x68,0xf5,0x92,0xf0,0x1c,0xf0,0x1c] 13bzhil %edx, 485498096(%edx), %edx 14 15// CHECK: bzhil %edx, 485498096, %edx 16// CHECK: encoding: [0xc4,0xe2,0x68,0xf5,0x15,0xf0,0x1c,0xf0,0x1c] 17bzhil %edx, 485498096, %edx 18 19// CHECK: bzhil %edx, 64(%edx,%eax), %edx 20// CHECK: encoding: [0xc4,0xe2,0x68,0xf5,0x54,0x02,0x40] 21bzhil %edx, 64(%edx,%eax), %edx 22 23// CHECK: bzhil %edx, (%edx), %edx 24// CHECK: encoding: [0xc4,0xe2,0x68,0xf5,0x12] 25bzhil %edx, (%edx), %edx 26 27// CHECK: bzhil %edx, %edx, %edx 28// CHECK: encoding: [0xc4,0xe2,0x68,0xf5,0xd2] 29bzhil %edx, %edx, %edx 30 31// CHECK: mulxl -485498096(%edx,%eax,4), %edx, %edx 32// CHECK: encoding: [0xc4,0xe2,0x6b,0xf6,0x94,0x82,0x10,0xe3,0x0f,0xe3] 33mulxl -485498096(%edx,%eax,4), %edx, %edx 34 35// CHECK: mulxl 485498096(%edx,%eax,4), %edx, %edx 36// CHECK: encoding: [0xc4,0xe2,0x6b,0xf6,0x94,0x82,0xf0,0x1c,0xf0,0x1c] 37mulxl 485498096(%edx,%eax,4), %edx, %edx 38 39// CHECK: mulxl 485498096(%edx), %edx, %edx 40// CHECK: encoding: [0xc4,0xe2,0x6b,0xf6,0x92,0xf0,0x1c,0xf0,0x1c] 41mulxl 485498096(%edx), %edx, %edx 42 43// CHECK: mulxl 485498096, %edx, %edx 44// CHECK: encoding: [0xc4,0xe2,0x6b,0xf6,0x15,0xf0,0x1c,0xf0,0x1c] 45mulxl 485498096, %edx, %edx 46 47// CHECK: mulxl 64(%edx,%eax), %edx, %edx 48// CHECK: encoding: [0xc4,0xe2,0x6b,0xf6,0x54,0x02,0x40] 49mulxl 64(%edx,%eax), %edx, %edx 50 51// CHECK: mulxl (%edx), %edx, %edx 52// CHECK: encoding: [0xc4,0xe2,0x6b,0xf6,0x12] 53mulxl (%edx), %edx, %edx 54 55// CHECK: mulxl %edx, %edx, %edx 56// CHECK: encoding: [0xc4,0xe2,0x6b,0xf6,0xd2] 57mulxl %edx, %edx, %edx 58 59// CHECK: pdepl -485498096(%edx,%eax,4), %edx, %edx 60// CHECK: encoding: [0xc4,0xe2,0x6b,0xf5,0x94,0x82,0x10,0xe3,0x0f,0xe3] 61pdepl -485498096(%edx,%eax,4), %edx, %edx 62 63// CHECK: pdepl 485498096(%edx,%eax,4), %edx, %edx 64// CHECK: encoding: [0xc4,0xe2,0x6b,0xf5,0x94,0x82,0xf0,0x1c,0xf0,0x1c] 65pdepl 485498096(%edx,%eax,4), %edx, %edx 66 67// CHECK: pdepl 485498096(%edx), %edx, %edx 68// CHECK: encoding: [0xc4,0xe2,0x6b,0xf5,0x92,0xf0,0x1c,0xf0,0x1c] 69pdepl 485498096(%edx), %edx, %edx 70 71// CHECK: pdepl 485498096, %edx, %edx 72// CHECK: encoding: [0xc4,0xe2,0x6b,0xf5,0x15,0xf0,0x1c,0xf0,0x1c] 73pdepl 485498096, %edx, %edx 74 75// CHECK: pdepl 64(%edx,%eax), %edx, %edx 76// CHECK: encoding: [0xc4,0xe2,0x6b,0xf5,0x54,0x02,0x40] 77pdepl 64(%edx,%eax), %edx, %edx 78 79// CHECK: pdepl (%edx), %edx, %edx 80// CHECK: encoding: [0xc4,0xe2,0x6b,0xf5,0x12] 81pdepl (%edx), %edx, %edx 82 83// CHECK: pdepl %edx, %edx, %edx 84// CHECK: encoding: [0xc4,0xe2,0x6b,0xf5,0xd2] 85pdepl %edx, %edx, %edx 86 87// CHECK: pextl -485498096(%edx,%eax,4), %edx, %edx 88// CHECK: encoding: [0xc4,0xe2,0x6a,0xf5,0x94,0x82,0x10,0xe3,0x0f,0xe3] 89pextl -485498096(%edx,%eax,4), %edx, %edx 90 91// CHECK: pextl 485498096(%edx,%eax,4), %edx, %edx 92// CHECK: encoding: [0xc4,0xe2,0x6a,0xf5,0x94,0x82,0xf0,0x1c,0xf0,0x1c] 93pextl 485498096(%edx,%eax,4), %edx, %edx 94 95// CHECK: pextl 485498096(%edx), %edx, %edx 96// CHECK: encoding: [0xc4,0xe2,0x6a,0xf5,0x92,0xf0,0x1c,0xf0,0x1c] 97pextl 485498096(%edx), %edx, %edx 98 99// CHECK: pextl 485498096, %edx, %edx 100// CHECK: encoding: [0xc4,0xe2,0x6a,0xf5,0x15,0xf0,0x1c,0xf0,0x1c] 101pextl 485498096, %edx, %edx 102 103// CHECK: pextl 64(%edx,%eax), %edx, %edx 104// CHECK: encoding: [0xc4,0xe2,0x6a,0xf5,0x54,0x02,0x40] 105pextl 64(%edx,%eax), %edx, %edx 106 107// CHECK: pextl (%edx), %edx, %edx 108// CHECK: encoding: [0xc4,0xe2,0x6a,0xf5,0x12] 109pextl (%edx), %edx, %edx 110 111// CHECK: pextl %edx, %edx, %edx 112// CHECK: encoding: [0xc4,0xe2,0x6a,0xf5,0xd2] 113pextl %edx, %edx, %edx 114 115// CHECK: rorxl $0, -485498096(%edx,%eax,4), %edx 116// CHECK: encoding: [0xc4,0xe3,0x7b,0xf0,0x94,0x82,0x10,0xe3,0x0f,0xe3,0x00] 117rorxl $0, -485498096(%edx,%eax,4), %edx 118 119// CHECK: rorxl $0, 485498096(%edx,%eax,4), %edx 120// CHECK: encoding: [0xc4,0xe3,0x7b,0xf0,0x94,0x82,0xf0,0x1c,0xf0,0x1c,0x00] 121rorxl $0, 485498096(%edx,%eax,4), %edx 122 123// CHECK: rorxl $0, 485498096(%edx), %edx 124// CHECK: encoding: [0xc4,0xe3,0x7b,0xf0,0x92,0xf0,0x1c,0xf0,0x1c,0x00] 125rorxl $0, 485498096(%edx), %edx 126 127// CHECK: rorxl $0, 485498096, %edx 128// CHECK: encoding: [0xc4,0xe3,0x7b,0xf0,0x15,0xf0,0x1c,0xf0,0x1c,0x00] 129rorxl $0, 485498096, %edx 130 131// CHECK: rorxl $0, 64(%edx,%eax), %edx 132// CHECK: encoding: [0xc4,0xe3,0x7b,0xf0,0x54,0x02,0x40,0x00] 133rorxl $0, 64(%edx,%eax), %edx 134 135// CHECK: rorxl $0, (%edx), %edx 136// CHECK: encoding: [0xc4,0xe3,0x7b,0xf0,0x12,0x00] 137rorxl $0, (%edx), %edx 138 139// CHECK: rorxl $0, %edx, %edx 140// CHECK: encoding: [0xc4,0xe3,0x7b,0xf0,0xd2,0x00] 141rorxl $0, %edx, %edx 142 143// CHECK: sarxl %edx, -485498096(%edx,%eax,4), %edx 144// CHECK: encoding: [0xc4,0xe2,0x6a,0xf7,0x94,0x82,0x10,0xe3,0x0f,0xe3] 145sarxl %edx, -485498096(%edx,%eax,4), %edx 146 147// CHECK: sarxl %edx, 485498096(%edx,%eax,4), %edx 148// CHECK: encoding: [0xc4,0xe2,0x6a,0xf7,0x94,0x82,0xf0,0x1c,0xf0,0x1c] 149sarxl %edx, 485498096(%edx,%eax,4), %edx 150 151// CHECK: sarxl %edx, 485498096(%edx), %edx 152// CHECK: encoding: [0xc4,0xe2,0x6a,0xf7,0x92,0xf0,0x1c,0xf0,0x1c] 153sarxl %edx, 485498096(%edx), %edx 154 155// CHECK: sarxl %edx, 485498096, %edx 156// CHECK: encoding: [0xc4,0xe2,0x6a,0xf7,0x15,0xf0,0x1c,0xf0,0x1c] 157sarxl %edx, 485498096, %edx 158 159// CHECK: sarxl %edx, 64(%edx,%eax), %edx 160// CHECK: encoding: [0xc4,0xe2,0x6a,0xf7,0x54,0x02,0x40] 161sarxl %edx, 64(%edx,%eax), %edx 162 163// CHECK: sarxl %edx, (%edx), %edx 164// CHECK: encoding: [0xc4,0xe2,0x6a,0xf7,0x12] 165sarxl %edx, (%edx), %edx 166 167// CHECK: sarxl %edx, %edx, %edx 168// CHECK: encoding: [0xc4,0xe2,0x6a,0xf7,0xd2] 169sarxl %edx, %edx, %edx 170 171// CHECK: shlxl %edx, -485498096(%edx,%eax,4), %edx 172// CHECK: encoding: [0xc4,0xe2,0x69,0xf7,0x94,0x82,0x10,0xe3,0x0f,0xe3] 173shlxl %edx, -485498096(%edx,%eax,4), %edx 174 175// CHECK: shlxl %edx, 485498096(%edx,%eax,4), %edx 176// CHECK: encoding: [0xc4,0xe2,0x69,0xf7,0x94,0x82,0xf0,0x1c,0xf0,0x1c] 177shlxl %edx, 485498096(%edx,%eax,4), %edx 178 179// CHECK: shlxl %edx, 485498096(%edx), %edx 180// CHECK: encoding: [0xc4,0xe2,0x69,0xf7,0x92,0xf0,0x1c,0xf0,0x1c] 181shlxl %edx, 485498096(%edx), %edx 182 183// CHECK: shlxl %edx, 485498096, %edx 184// CHECK: encoding: [0xc4,0xe2,0x69,0xf7,0x15,0xf0,0x1c,0xf0,0x1c] 185shlxl %edx, 485498096, %edx 186 187// CHECK: shlxl %edx, 64(%edx,%eax), %edx 188// CHECK: encoding: [0xc4,0xe2,0x69,0xf7,0x54,0x02,0x40] 189shlxl %edx, 64(%edx,%eax), %edx 190 191// CHECK: shlxl %edx, (%edx), %edx 192// CHECK: encoding: [0xc4,0xe2,0x69,0xf7,0x12] 193shlxl %edx, (%edx), %edx 194 195// CHECK: shlxl %edx, %edx, %edx 196// CHECK: encoding: [0xc4,0xe2,0x69,0xf7,0xd2] 197shlxl %edx, %edx, %edx 198 199// CHECK: shrxl %edx, -485498096(%edx,%eax,4), %edx 200// CHECK: encoding: [0xc4,0xe2,0x6b,0xf7,0x94,0x82,0x10,0xe3,0x0f,0xe3] 201shrxl %edx, -485498096(%edx,%eax,4), %edx 202 203// CHECK: shrxl %edx, 485498096(%edx,%eax,4), %edx 204// CHECK: encoding: [0xc4,0xe2,0x6b,0xf7,0x94,0x82,0xf0,0x1c,0xf0,0x1c] 205shrxl %edx, 485498096(%edx,%eax,4), %edx 206 207// CHECK: shrxl %edx, 485498096(%edx), %edx 208// CHECK: encoding: [0xc4,0xe2,0x6b,0xf7,0x92,0xf0,0x1c,0xf0,0x1c] 209shrxl %edx, 485498096(%edx), %edx 210 211// CHECK: shrxl %edx, 485498096, %edx 212// CHECK: encoding: [0xc4,0xe2,0x6b,0xf7,0x15,0xf0,0x1c,0xf0,0x1c] 213shrxl %edx, 485498096, %edx 214 215// CHECK: shrxl %edx, 64(%edx,%eax), %edx 216// CHECK: encoding: [0xc4,0xe2,0x6b,0xf7,0x54,0x02,0x40] 217shrxl %edx, 64(%edx,%eax), %edx 218 219// CHECK: shrxl %edx, (%edx), %edx 220// CHECK: encoding: [0xc4,0xe2,0x6b,0xf7,0x12] 221shrxl %edx, (%edx), %edx 222 223// CHECK: shrxl %edx, %edx, %edx 224// CHECK: encoding: [0xc4,0xe2,0x6b,0xf7,0xd2] 225shrxl %edx, %edx, %edx 226 227