From f2d213745e07e884c1616f2f3d0b78f9e918e5db Mon Sep 17 00:00:00 2001 From: Devang Patel Date: Mon, 23 Jan 2012 22:35:25 +0000 Subject: 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 --- test/MC/X86/intel-syntax.s | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'test/MC/X86') 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 -- cgit v1.1