diff options
Diffstat (limited to 'test/MC/X86/x86_64-avx-encoding.s')
-rw-r--r-- | test/MC/X86/x86_64-avx-encoding.s | 80 |
1 files changed, 68 insertions, 12 deletions
diff --git a/test/MC/X86/x86_64-avx-encoding.s b/test/MC/X86/x86_64-avx-encoding.s index 6da9e21fef66..5ba8064ff48a 100644 --- a/test/MC/X86/x86_64-avx-encoding.s +++ b/test/MC/X86/x86_64-avx-encoding.s @@ -2212,11 +2212,11 @@ vdivpd -4(%rcx,%rbx,8), %xmm10, %xmm11 // CHECK: encoding: [0xc5,0x79,0x7e,0x30] vmovd %xmm14, (%rax) -// CHECK: vmovd %rax, %xmm14 +// CHECK: vmovq %rax, %xmm14 // CHECK: encoding: [0xc4,0x61,0xf9,0x6e,0xf0] vmovd %rax, %xmm14 -// CHECK: vmovd %xmm0, %rax +// CHECK: vmovq %xmm0, %rax // CHECK: encoding: [0xc4,0xe1,0xf9,0x7e,0xc0] vmovd %xmm0, %rax @@ -4044,43 +4044,43 @@ vdivpd -4(%rcx,%rbx,8), %xmm10, %xmm11 // CHECK: encoding: [0xc4,0x43,0x79,0x17,0xc0,0x0a] vextractps $10, %xmm8, %r8 -// CHECK: vextractps $7, %xmm4, %rcx +// CHECK: vextractps $7, %xmm4, %ecx // CHECK: encoding: [0xc4,0xe3,0x79,0x17,0xe1,0x07] vextractps $7, %xmm4, %rcx -// CHECK: vmovd %xmm4, %rcx +// CHECK: vmovq %xmm4, %rcx // CHECK: encoding: [0xc4,0xe1,0xf9,0x7e,0xe1] vmovd %xmm4, %rcx -// CHECK: vmovmskpd %xmm4, %rcx +// CHECK: vmovmskpd %xmm4, %ecx // CHECK: encoding: [0xc5,0xf9,0x50,0xcc] vmovmskpd %xmm4, %rcx -// CHECK: vmovmskpd %ymm4, %rcx +// CHECK: vmovmskpd %ymm4, %ecx // CHECK: encoding: [0xc5,0xfd,0x50,0xcc] vmovmskpd %ymm4, %rcx -// CHECK: vmovmskps %xmm4, %rcx +// CHECK: vmovmskps %xmm4, %ecx // CHECK: encoding: [0xc5,0xf8,0x50,0xcc] vmovmskps %xmm4, %rcx -// CHECK: vmovmskps %ymm4, %rcx +// CHECK: vmovmskps %ymm4, %ecx // CHECK: encoding: [0xc5,0xfc,0x50,0xcc] vmovmskps %ymm4, %rcx -// CHECK: vpextrb $7, %xmm4, %rcx +// CHECK: vpextrb $7, %xmm4, %ecx // CHECK: encoding: [0xc4,0xe3,0x79,0x14,0xe1,0x07] vpextrb $7, %xmm4, %rcx -// CHECK: vpinsrw $7, %r8, %xmm15, %xmm8 +// CHECK: vpinsrw $7, %r8d, %xmm15, %xmm8 // CHECK: encoding: [0xc4,0x41,0x01,0xc4,0xc0,0x07] vpinsrw $7, %r8, %xmm15, %xmm8 -// CHECK: vpinsrw $7, %rcx, %xmm4, %xmm6 +// CHECK: vpinsrw $7, %ecx, %xmm4, %xmm6 // CHECK: encoding: [0xc5,0xd9,0xc4,0xf1,0x07] vpinsrw $7, %rcx, %xmm4, %xmm6 -// CHECK: vpmovmskb %xmm4, %rcx +// CHECK: vpmovmskb %xmm4, %ecx // CHECK: encoding: [0xc5,0xf9,0xd7,0xcc] vpmovmskb %xmm4, %rcx @@ -4185,3 +4185,59 @@ _foo2: // CHECK: vpgatherqd %xmm8, (%r15,%ymm9,2), %xmm10 // CHECK: encoding: [0xc4,0x02,0x3d,0x91,0x14,0x4f] vpgatherqd %xmm8, (%r15,%ymm9,2), %xmm10 + +// CHECK: vmovaps %xmm0, %xmm8 +// CHECK: encoding: [0xc5,0x78,0x28,0xc0] + vmovaps %xmm0, %xmm8 + +// CHECK: vmovaps %xmm8, %xmm0 +// CHECK: encoding: [0xc5,0x78,0x29,0xc0] + vmovaps %xmm8, %xmm0 + +// CHECK: vmovaps %ymm0, %ymm8 +// CHECK: encoding: [0xc5,0x7c,0x28,0xc0] + vmovaps %ymm0, %ymm8 + +// CHECK: vmovaps %ymm8, %ymm0 +// CHECK: encoding: [0xc5,0x7c,0x29,0xc0] + vmovaps %ymm8, %ymm0 + +// CHECK: vmovups %xmm0, %xmm8 +// CHECK: encoding: [0xc5,0x78,0x10,0xc0] + vmovups %xmm0, %xmm8 + +// CHECK: vmovups %xmm8, %xmm0 +// CHECK: encoding: [0xc5,0x78,0x11,0xc0] + vmovups %xmm8, %xmm0 + +// CHECK: vmovups %ymm0, %ymm8 +// CHECK: encoding: [0xc5,0x7c,0x10,0xc0] + vmovups %ymm0, %ymm8 + +// CHECK: vmovups %ymm8, %ymm0 +// CHECK: encoding: [0xc5,0x7c,0x11,0xc0] + vmovups %ymm8, %ymm0 + +// CHECK: vmovss %xmm0, %xmm0, %xmm8 +// CHECK: encoding: [0xc5,0x7a,0x10,0xc0] + vmovss %xmm0, %xmm0, %xmm8 + +// CHECK: vmovss %xmm0, %xmm8, %xmm0 +// CHECK: encoding: [0xc5,0xba,0x10,0xc0] + vmovss %xmm0, %xmm8, %xmm0 + +// CHECK: vmovss %xmm8, %xmm0, %xmm0 +// CHECK: encoding: [0xc5,0x7a,0x11,0xc0] + vmovss %xmm8, %xmm0, %xmm0 + +// CHECK: vmovsd %xmm0, %xmm0, %xmm8 +// CHECK: encoding: [0xc5,0x7b,0x10,0xc0] + vmovsd %xmm0, %xmm0, %xmm8 + +// CHECK: vmovsd %xmm0, %xmm8, %xmm0 +// CHECK: encoding: [0xc5,0xbb,0x10,0xc0] + vmovsd %xmm0, %xmm8, %xmm0 + +// CHECK: vmovsd %xmm8, %xmm0, %xmm0 +// CHECK: encoding: [0xc5,0x7b,0x11,0xc0] + vmovsd %xmm8, %xmm0, %xmm0 |