diff options
author | Joerg Sonnenberger <joerg@bec.de> | 2011-04-15 19:25:31 +0000 |
---|---|---|
committer | Joerg Sonnenberger <joerg@bec.de> | 2011-04-15 19:25:31 +0000 |
commit | c25e8d8cea7af83b5538ac0e521366d06c9720d9 (patch) | |
tree | fbedeec388eefef26066ad6abf62960004a7953f /test/MC/X86 | |
parent | 437ef0cfb74102208d6e96ff7e7f1204835e66f3 (diff) | |
download | external_llvm-c25e8d8cea7af83b5538ac0e521366d06c9720d9.zip external_llvm-c25e8d8cea7af83b5538ac0e521366d06c9720d9.tar.gz external_llvm-c25e8d8cea7af83b5538ac0e521366d06c9720d9.tar.bz2 |
Add encoding tests for flds/filds
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129589 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/X86')
-rw-r--r-- | test/MC/X86/x86-32-coverage.s | 8 | ||||
-rw-r--r-- | test/MC/X86/x86_64-encoding.s | 16 |
2 files changed, 24 insertions, 0 deletions
diff --git a/test/MC/X86/x86-32-coverage.s b/test/MC/X86/x86-32-coverage.s index 4ec9fcd..4ac7efd 100644 --- a/test/MC/X86/x86-32-coverage.s +++ b/test/MC/X86/x86-32-coverage.s @@ -372,6 +372,14 @@ // CHECK: nop nop +// CHECK: flds (%edi) +// CHECK: encoding: [0xd9,0x07] + flds (%edi) + +// CHECK: filds (%edi) +// CHECK: encoding: [0xdf,0x07] + filds (%edi) + // CHECK: fldl 3735928559(%ebx,%ecx,8) fldl 0xdeadbeef(%ebx,%ecx,8) diff --git a/test/MC/X86/x86_64-encoding.s b/test/MC/X86/x86_64-encoding.s index 756da4d..cfdf87f 100644 --- a/test/MC/X86/x86_64-encoding.s +++ b/test/MC/X86/x86_64-encoding.s @@ -155,3 +155,19 @@ pshufb CPI1_0(%rip), %xmm1 // CHECK: leave // CHECK: encoding: [0xc9] leaveq + +// CHECK: flds (%edi) +// CHECK: encoding: [0x67,0xd9,0x07] + flds (%edi) + +// CHECK: filds (%edi) +// CHECK: encoding: [0x67,0xdf,0x07] + filds (%edi) + +// CHECK: flds (%rdi) +// CHECK: encoding: [0xd9,0x07] + flds (%rdi) + +// CHECK: filds (%rdi) +// CHECK: encoding: [0xdf,0x07] + filds (%rdi) |