Add encoding tests for flds/filds

llvm-svn: 129589
This commit is contained in:
Joerg Sonnenberger 2011-04-15 19:25:31 +00:00
parent 12c26de5c4
commit 375249a417
2 changed files with 24 additions and 0 deletions

View File

@ -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)

View File

@ -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)