195 lines · plain
1// RUN: llvm-mc -triple i386 --show-encoding %s | FileCheck %s2 3// CHECK: vcomxsd %xmm3, %xmm24// CHECK: encoding: [0x62,0xf1,0xff,0x08,0x2f,0xd3]5 vcomxsd %xmm3, %xmm26 7// CHECK: vcomxsd {sae}, %xmm3, %xmm28// CHECK: encoding: [0x62,0xf1,0xff,0x18,0x2f,0xd3]9 vcomxsd {sae}, %xmm3, %xmm210 11// CHECK: vcomxsd 268435456(%esp,%esi,8), %xmm212// CHECK: encoding: [0x62,0xf1,0xff,0x08,0x2f,0x94,0xf4,0x00,0x00,0x00,0x10]13 vcomxsd 268435456(%esp,%esi,8), %xmm214 15// CHECK: vcomxsd 291(%edi,%eax,4), %xmm216// CHECK: encoding: [0x62,0xf1,0xff,0x08,0x2f,0x94,0x87,0x23,0x01,0x00,0x00]17 vcomxsd 291(%edi,%eax,4), %xmm218 19// CHECK: vcomxsd (%eax), %xmm220// CHECK: encoding: [0x62,0xf1,0xff,0x08,0x2f,0x10]21 vcomxsd (%eax), %xmm222 23// CHECK: vcomxsd -256(,%ebp,2), %xmm224// CHECK: encoding: [0x62,0xf1,0xff,0x08,0x2f,0x14,0x6d,0x00,0xff,0xff,0xff]25 vcomxsd -256(,%ebp,2), %xmm226 27// CHECK: vcomxsd 1016(%ecx), %xmm228// CHECK: encoding: [0x62,0xf1,0xff,0x08,0x2f,0x51,0x7f]29 vcomxsd 1016(%ecx), %xmm230 31// CHECK: vcomxsd -1024(%edx), %xmm232// CHECK: encoding: [0x62,0xf1,0xff,0x08,0x2f,0x52,0x80]33 vcomxsd -1024(%edx), %xmm234 35// CHECK: vcomxsh %xmm3, %xmm236// CHECK: encoding: [0x62,0xf5,0x7e,0x08,0x2f,0xd3]37 vcomxsh %xmm3, %xmm238 39// CHECK: vcomxsh {sae}, %xmm3, %xmm240// CHECK: encoding: [0x62,0xf5,0x7e,0x18,0x2f,0xd3]41 vcomxsh {sae}, %xmm3, %xmm242 43// CHECK: vcomxsh 268435456(%esp,%esi,8), %xmm244// CHECK: encoding: [0x62,0xf5,0x7e,0x08,0x2f,0x94,0xf4,0x00,0x00,0x00,0x10]45 vcomxsh 268435456(%esp,%esi,8), %xmm246 47// CHECK: vcomxsh 291(%edi,%eax,4), %xmm248// CHECK: encoding: [0x62,0xf5,0x7e,0x08,0x2f,0x94,0x87,0x23,0x01,0x00,0x00]49 vcomxsh 291(%edi,%eax,4), %xmm250 51// CHECK: vcomxsh (%eax), %xmm252// CHECK: encoding: [0x62,0xf5,0x7e,0x08,0x2f,0x10]53 vcomxsh (%eax), %xmm254 55// CHECK: vcomxsh -64(,%ebp,2), %xmm256// CHECK: encoding: [0x62,0xf5,0x7e,0x08,0x2f,0x14,0x6d,0xc0,0xff,0xff,0xff]57 vcomxsh -64(,%ebp,2), %xmm258 59// CHECK: vcomxsh 254(%ecx), %xmm260// CHECK: encoding: [0x62,0xf5,0x7e,0x08,0x2f,0x51,0x7f]61 vcomxsh 254(%ecx), %xmm262 63// CHECK: vcomxsh -256(%edx), %xmm264// CHECK: encoding: [0x62,0xf5,0x7e,0x08,0x2f,0x52,0x80]65 vcomxsh -256(%edx), %xmm266 67// CHECK: vcomxss %xmm3, %xmm268// CHECK: encoding: [0x62,0xf1,0x7e,0x08,0x2f,0xd3]69 vcomxss %xmm3, %xmm270 71// CHECK: vcomxss {sae}, %xmm3, %xmm272// CHECK: encoding: [0x62,0xf1,0x7e,0x18,0x2f,0xd3]73 vcomxss {sae}, %xmm3, %xmm274 75// CHECK: vcomxss 268435456(%esp,%esi,8), %xmm276// CHECK: encoding: [0x62,0xf1,0x7e,0x08,0x2f,0x94,0xf4,0x00,0x00,0x00,0x10]77 vcomxss 268435456(%esp,%esi,8), %xmm278 79// CHECK: vcomxss 291(%edi,%eax,4), %xmm280// CHECK: encoding: [0x62,0xf1,0x7e,0x08,0x2f,0x94,0x87,0x23,0x01,0x00,0x00]81 vcomxss 291(%edi,%eax,4), %xmm282 83// CHECK: vcomxss (%eax), %xmm284// CHECK: encoding: [0x62,0xf1,0x7e,0x08,0x2f,0x10]85 vcomxss (%eax), %xmm286 87// CHECK: vcomxss -128(,%ebp,2), %xmm288// CHECK: encoding: [0x62,0xf1,0x7e,0x08,0x2f,0x14,0x6d,0x80,0xff,0xff,0xff]89 vcomxss -128(,%ebp,2), %xmm290 91// CHECK: vcomxss 508(%ecx), %xmm292// CHECK: encoding: [0x62,0xf1,0x7e,0x08,0x2f,0x51,0x7f]93 vcomxss 508(%ecx), %xmm294 95// CHECK: vcomxss -512(%edx), %xmm296// CHECK: encoding: [0x62,0xf1,0x7e,0x08,0x2f,0x52,0x80]97 vcomxss -512(%edx), %xmm298 99// CHECK: vucomxsd %xmm3, %xmm2100// CHECK: encoding: [0x62,0xf1,0xff,0x08,0x2e,0xd3]101 vucomxsd %xmm3, %xmm2102 103// CHECK: vucomxsd {sae}, %xmm3, %xmm2104// CHECK: encoding: [0x62,0xf1,0xff,0x18,0x2e,0xd3]105 vucomxsd {sae}, %xmm3, %xmm2106 107// CHECK: vucomxsd 268435456(%esp,%esi,8), %xmm2108// CHECK: encoding: [0x62,0xf1,0xff,0x08,0x2e,0x94,0xf4,0x00,0x00,0x00,0x10]109 vucomxsd 268435456(%esp,%esi,8), %xmm2110 111// CHECK: vucomxsd 291(%edi,%eax,4), %xmm2112// CHECK: encoding: [0x62,0xf1,0xff,0x08,0x2e,0x94,0x87,0x23,0x01,0x00,0x00]113 vucomxsd 291(%edi,%eax,4), %xmm2114 115// CHECK: vucomxsd (%eax), %xmm2116// CHECK: encoding: [0x62,0xf1,0xff,0x08,0x2e,0x10]117 vucomxsd (%eax), %xmm2118 119// CHECK: vucomxsd -256(,%ebp,2), %xmm2120// CHECK: encoding: [0x62,0xf1,0xff,0x08,0x2e,0x14,0x6d,0x00,0xff,0xff,0xff]121 vucomxsd -256(,%ebp,2), %xmm2122 123// CHECK: vucomxsd 1016(%ecx), %xmm2124// CHECK: encoding: [0x62,0xf1,0xff,0x08,0x2e,0x51,0x7f]125 vucomxsd 1016(%ecx), %xmm2126 127// CHECK: vucomxsd -1024(%edx), %xmm2128// CHECK: encoding: [0x62,0xf1,0xff,0x08,0x2e,0x52,0x80]129 vucomxsd -1024(%edx), %xmm2130 131// CHECK: vucomxsh %xmm3, %xmm2132// CHECK: encoding: [0x62,0xf5,0x7e,0x08,0x2e,0xd3]133 vucomxsh %xmm3, %xmm2134 135// CHECK: vucomxsh {sae}, %xmm3, %xmm2136// CHECK: encoding: [0x62,0xf5,0x7e,0x18,0x2e,0xd3]137 vucomxsh {sae}, %xmm3, %xmm2138 139// CHECK: vucomxsh 268435456(%esp,%esi,8), %xmm2140// CHECK: encoding: [0x62,0xf5,0x7e,0x08,0x2e,0x94,0xf4,0x00,0x00,0x00,0x10]141 vucomxsh 268435456(%esp,%esi,8), %xmm2142 143// CHECK: vucomxsh 291(%edi,%eax,4), %xmm2144// CHECK: encoding: [0x62,0xf5,0x7e,0x08,0x2e,0x94,0x87,0x23,0x01,0x00,0x00]145 vucomxsh 291(%edi,%eax,4), %xmm2146 147// CHECK: vucomxsh (%eax), %xmm2148// CHECK: encoding: [0x62,0xf5,0x7e,0x08,0x2e,0x10]149 vucomxsh (%eax), %xmm2150 151// CHECK: vucomxsh -64(,%ebp,2), %xmm2152// CHECK: encoding: [0x62,0xf5,0x7e,0x08,0x2e,0x14,0x6d,0xc0,0xff,0xff,0xff]153 vucomxsh -64(,%ebp,2), %xmm2154 155// CHECK: vucomxsh 254(%ecx), %xmm2156// CHECK: encoding: [0x62,0xf5,0x7e,0x08,0x2e,0x51,0x7f]157 vucomxsh 254(%ecx), %xmm2158 159// CHECK: vucomxsh -256(%edx), %xmm2160// CHECK: encoding: [0x62,0xf5,0x7e,0x08,0x2e,0x52,0x80]161 vucomxsh -256(%edx), %xmm2162 163// CHECK: vucomxss %xmm3, %xmm2164// CHECK: encoding: [0x62,0xf1,0x7e,0x08,0x2e,0xd3]165 vucomxss %xmm3, %xmm2166 167// CHECK: vucomxss {sae}, %xmm3, %xmm2168// CHECK: encoding: [0x62,0xf1,0x7e,0x18,0x2e,0xd3]169 vucomxss {sae}, %xmm3, %xmm2170 171// CHECK: vucomxss 268435456(%esp,%esi,8), %xmm2172// CHECK: encoding: [0x62,0xf1,0x7e,0x08,0x2e,0x94,0xf4,0x00,0x00,0x00,0x10]173 vucomxss 268435456(%esp,%esi,8), %xmm2174 175// CHECK: vucomxss 291(%edi,%eax,4), %xmm2176// CHECK: encoding: [0x62,0xf1,0x7e,0x08,0x2e,0x94,0x87,0x23,0x01,0x00,0x00]177 vucomxss 291(%edi,%eax,4), %xmm2178 179// CHECK: vucomxss (%eax), %xmm2180// CHECK: encoding: [0x62,0xf1,0x7e,0x08,0x2e,0x10]181 vucomxss (%eax), %xmm2182 183// CHECK: vucomxss -128(,%ebp,2), %xmm2184// CHECK: encoding: [0x62,0xf1,0x7e,0x08,0x2e,0x14,0x6d,0x80,0xff,0xff,0xff]185 vucomxss -128(,%ebp,2), %xmm2186 187// CHECK: vucomxss 508(%ecx), %xmm2188// CHECK: encoding: [0x62,0xf1,0x7e,0x08,0x2e,0x51,0x7f]189 vucomxss 508(%ecx), %xmm2190 191// CHECK: vucomxss -512(%edx), %xmm2192// CHECK: encoding: [0x62,0xf1,0x7e,0x08,0x2e,0x52,0x80]193 vucomxss -512(%edx), %xmm2194 195