From 2c5291b56358bf239bdfc675ed681c2da3eb4901 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 22 Sep 2010 06:26:39 +0000 Subject: fix rdar://8456371 - Handle commutable instructions written backward. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114536 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/MC/AsmParser/X86/x86_instructions.s | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/MC/AsmParser') diff --git a/test/MC/AsmParser/X86/x86_instructions.s b/test/MC/AsmParser/X86/x86_instructions.s index aea617d..b72374d 100644 --- a/test/MC/AsmParser/X86/x86_instructions.s +++ b/test/MC/AsmParser/X86/x86_instructions.s @@ -353,3 +353,11 @@ mov %rdx, %cr8 mov %rdx, %cr15 // CHECK: movq %rdx, %cr15 // CHECK: encoding: [0x44,0x0f,0x22,0xfa] + +// rdar://8456371 - Handle commutable instructions written backward. +// CHECK: faddp %st(1) +// CHECK: fmulp %st(2) +faddp %st, %st(1) +fmulp %st, %st(2) + + -- cgit v1.1