diff options
author | Devang Patel <dpatel@apple.com> | 2012-01-23 22:35:25 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2012-01-23 22:35:25 +0000 |
commit | f2d213745e07e884c1616f2f3d0b78f9e918e5db (patch) | |
tree | bb8e3d680935efc5c086ea31d2a82e5809e91375 /test/MC/X86 | |
parent | c1bddefc56cd1db30326d6464f50db3dae6061eb (diff) | |
download | external_llvm-f2d213745e07e884c1616f2f3d0b78f9e918e5db.zip external_llvm-f2d213745e07e884c1616f2f3d0b78f9e918e5db.tar.gz external_llvm-f2d213745e07e884c1616f2f3d0b78f9e918e5db.tar.bz2 |
Intel syntax: Robustify parsing of memory operand's displacement experssion.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@148737 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/X86')
-rw-r--r-- | test/MC/X86/intel-syntax.s | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/MC/X86/intel-syntax.s b/test/MC/X86/intel-syntax.s index a069070..2c69280 100644 --- a/test/MC/X86/intel-syntax.s +++ b/test/MC/X86/intel-syntax.s @@ -56,7 +56,9 @@ _main: // CHECK: fld %st(0) fld ST(0) // CHECK: movl %fs:(%rdi), %eax -mov EAX, DWORD PTR FS:[RDI] + mov EAX, DWORD PTR FS:[RDI] // CHECK: leal (,%rdi,4), %r8d -lea R8D, DWORD PTR [4*RDI] + lea R8D, DWORD PTR [4*RDI] +// CHECK: movl _fnan(,%ecx,4), %ecx + mov ECX, DWORD PTR [4*ECX + _fnan] ret |