llvm/llvm/test/MC/X86/avx10.2-copy-32-att.s

// RUN: llvm-mc -triple i386 --show-encoding %s | FileCheck %s

// CHECK: vmovd  268435456(%esp,%esi,8), %xmm2
// CHECK: encoding: [0xc5,0xf9,0x6e,0x94,0xf4,0x00,0x00,0x00,0x10]
          vmovd  268435456(%esp,%esi,8), %xmm2

// CHECK: vmovd  291(%edi,%eax,4), %xmm2
// CHECK: encoding: [0xc5,0xf9,0x6e,0x94,0x87,0x23,0x01,0x00,0x00]
          vmovd  291(%edi,%eax,4), %xmm2

// CHECK: vmovd  (%eax), %xmm2
// CHECK: encoding: [0xc5,0xf9,0x6e,0x10]
          vmovd  (%eax), %xmm2

// CHECK: vmovd  -128(,%ebp,2), %xmm2
// CHECK: encoding: [0xc5,0xf9,0x6e,0x14,0x6d,0x80,0xff,0xff,0xff]
          vmovd  -128(,%ebp,2), %xmm2

// CHECK: vmovd  %xmm3, 268435456(%esp,%esi,8)
// CHECK: encoding: [0xc5,0xf9,0x7e,0x9c,0xf4,0x00,0x00,0x00,0x10]
          vmovd  %xmm3, 268435456(%esp,%esi,8)

// CHECK: vmovd  %xmm3, 291(%edi,%eax,4)
// CHECK: encoding: [0xc5,0xf9,0x7e,0x9c,0x87,0x23,0x01,0x00,0x00]
          vmovd  %xmm3, 291(%edi,%eax,4)

// CHECK: vmovd  %xmm3, (%eax)
// CHECK: encoding: [0xc5,0xf9,0x7e,0x18]
          vmovd  %xmm3, (%eax)

// CHECK: vmovd  %xmm3, -128(,%ebp,2)
// CHECK: encoding: [0xc5,0xf9,0x7e,0x1c,0x6d,0x80,0xff,0xff,0xff]
          vmovd  %xmm3, -128(,%ebp,2)

// CHECK: vmovw  268435456(%esp,%esi,8), %xmm2
// CHECK: encoding: [0x62,0xf5,0x7d,0x08,0x6e,0x94,0xf4,0x00,0x00,0x00,0x10]
          vmovw  268435456(%esp,%esi,8), %xmm2

// CHECK: vmovw  291(%edi,%eax,4), %xmm2
// CHECK: encoding: [0x62,0xf5,0x7d,0x08,0x6e,0x94,0x87,0x23,0x01,0x00,0x00]
          vmovw  291(%edi,%eax,4), %xmm2

// CHECK: vmovw  (%eax), %xmm2
// CHECK: encoding: [0x62,0xf5,0x7d,0x08,0x6e,0x10]
          vmovw  (%eax), %xmm2

// CHECK: vmovw  -64(,%ebp,2), %xmm2
// CHECK: encoding: [0x62,0xf5,0x7d,0x08,0x6e,0x14,0x6d,0xc0,0xff,0xff,0xff]
          vmovw  -64(,%ebp,2), %xmm2

// CHECK: vmovw  254(%ecx), %xmm2
// CHECK: encoding: [0x62,0xf5,0x7d,0x08,0x6e,0x51,0x7f]
          vmovw  254(%ecx), %xmm2

// CHECK: vmovw  -256(%edx), %xmm2
// CHECK: encoding: [0x62,0xf5,0x7d,0x08,0x6e,0x52,0x80]
          vmovw  -256(%edx), %xmm2

// CHECK: vmovw  %xmm3, 268435456(%esp,%esi,8)
// CHECK: encoding: [0x62,0xf5,0x7d,0x08,0x7e,0x9c,0xf4,0x00,0x00,0x00,0x10]
          vmovw  %xmm3, 268435456(%esp,%esi,8)

// CHECK: vmovw  %xmm3, 291(%edi,%eax,4)
// CHECK: encoding: [0x62,0xf5,0x7d,0x08,0x7e,0x9c,0x87,0x23,0x01,0x00,0x00]
          vmovw  %xmm3, 291(%edi,%eax,4)

// CHECK: vmovw  %xmm3, (%eax)
// CHECK: encoding: [0x62,0xf5,0x7d,0x08,0x7e,0x18]
          vmovw  %xmm3, (%eax)

// CHECK: vmovw  %xmm3, -64(,%ebp,2)
// CHECK: encoding: [0x62,0xf5,0x7d,0x08,0x7e,0x1c,0x6d,0xc0,0xff,0xff,0xff]
          vmovw  %xmm3, -64(,%ebp,2)

// CHECK: vmovw  %xmm3, 254(%ecx)
// CHECK: encoding: [0x62,0xf5,0x7d,0x08,0x7e,0x59,0x7f]
          vmovw  %xmm3, 254(%ecx)

// CHECK: vmovw  %xmm3, -256(%edx)
// CHECK: encoding: [0x62,0xf5,0x7d,0x08,0x7e,0x5a,0x80]
          vmovw  %xmm3, -256(%edx)