diff options
author | Craig Topper <craig.topper@gmail.com> | 2013-10-14 04:55:01 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2013-10-14 04:55:01 +0000 |
commit | c6f7c99809cece8c85e180c1b95e6159d8ea9613 (patch) | |
tree | 0a9ba17311321226fcbbba638fa6ba333d583ed2 /test | |
parent | 8e121843c19297205fe9acb9153570f596838eb9 (diff) | |
download | external_llvm-c6f7c99809cece8c85e180c1b95e6159d8ea9613.zip external_llvm-c6f7c99809cece8c85e180c1b95e6159d8ea9613.tar.gz external_llvm-c6f7c99809cece8c85e180c1b95e6159d8ea9613.tar.bz2 |
Allow pinsrw/pinsrb/pextrb/pextrw/movmskps/movmskpd/pmovmskb/extractps instructions to parse either GR32 or GR64 without resorting to duplicating instructions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192567 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/MC/X86/x86-64.s | 4 | ||||
-rw-r--r-- | test/MC/X86/x86_64-avx-encoding.s | 18 | ||||
-rw-r--r-- | test/MC/X86/x86_64-encoding.s | 4 |
3 files changed, 13 insertions, 13 deletions
diff --git a/test/MC/X86/x86-64.s b/test/MC/X86/x86-64.s index 04a6a57..6b41f48 100644 --- a/test/MC/X86/x86-64.s +++ b/test/MC/X86/x86-64.s @@ -549,8 +549,8 @@ cvttpd2dq 0xdeadbeef(%ebx,%ecx,8),%xmm5 // rdar://8490728 - llvm-mc rejects 'movmskpd' movmskpd %xmm6, %rax -// CHECK: movmskpd %xmm6, %rax -// CHECK: encoding: [0x66,0x48,0x0f,0x50,0xc6] +// CHECK: movmskpd %xmm6, %eax +// CHECK: encoding: [0x66,0x0f,0x50,0xc6] movmskpd %xmm6, %eax // CHECK: movmskpd %xmm6, %eax // CHECK: encoding: [0x66,0x0f,0x50,0xc6] diff --git a/test/MC/X86/x86_64-avx-encoding.s b/test/MC/X86/x86_64-avx-encoding.s index e02cd28..5ba8064 100644 --- a/test/MC/X86/x86_64-avx-encoding.s +++ b/test/MC/X86/x86_64-avx-encoding.s @@ -4044,7 +4044,7 @@ 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 @@ -4052,35 +4052,35 @@ vdivpd -4(%rcx,%rbx,8), %xmm10, %xmm11 // 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 diff --git a/test/MC/X86/x86_64-encoding.s b/test/MC/X86/x86_64-encoding.s index 9f802d9..40b93f0 100644 --- a/test/MC/X86/x86_64-encoding.s +++ b/test/MC/X86/x86_64-encoding.s @@ -232,7 +232,7 @@ sha256msg2 (%rax), %xmm2 // CHECK: encoding: [0xdf,0x07] filds (%rdi) -// CHECK: pmovmskb %xmm5, %rcx +// CHECK: pmovmskb %xmm5, %ecx // CHECK: encoding: [0x66,0x0f,0xd7,0xcd] pmovmskb %xmm5,%rcx @@ -240,6 +240,6 @@ sha256msg2 (%rax), %xmm2 // CHECK: encoding: [0x66,0x0f,0xc4,0xe9,0x03] pinsrw $3, %ecx, %xmm5 -// CHECK: pinsrw $3, %rcx, %xmm5 +// CHECK: pinsrw $3, %ecx, %xmm5 // CHECK: encoding: [0x66,0x0f,0xc4,0xe9,0x03] pinsrw $3, %rcx, %xmm5 |