summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-09-11 16:39:16 +0000
committerChris Lattner <sabre@nondot.org>2010-09-11 16:39:16 +0000
commitb47c042e094f3f7eb935f28602ee4717e5fdb990 (patch)
tree69a8985753d138b1a586f29676633e2013cfcbb1 /llvm/test
parent30561aba207001bb7aec11a377be7cd0fd27ae61 (diff)
downloadbcm5719-llvm-b47c042e094f3f7eb935f28602ee4717e5fdb990.tar.gz
bcm5719-llvm-b47c042e094f3f7eb935f28602ee4717e5fdb990.zip
add support for pushfd/popfd which are aliases for pushfl/popfl.
This fixes rdar://8408129 - pushfd and popfd get invalid instruction mnemonic errors llvm-svn: 113690
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/MC/AsmParser/X86/x86_32-new-encoder.s10
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/MC/AsmParser/X86/x86_32-new-encoder.s b/llvm/test/MC/AsmParser/X86/x86_32-new-encoder.s
index 70d4b40c78a..efdce604efc 100644
--- a/llvm/test/MC/AsmParser/X86/x86_32-new-encoder.s
+++ b/llvm/test/MC/AsmParser/X86/x86_32-new-encoder.s
@@ -508,3 +508,13 @@ pop %ds
pop %es
// CHECK: popl %es
// CHECK: encoding: [0x07]
+
+// rdar://8408129
+pushfd
+// CHECK: pushfl
+popfd
+// CHECK: popfl
+pushfl
+// CHECK: pushfl
+popfl
+// CHECK: popfl
OpenPOWER on IntegriCloud