diff options
author | Chris Lattner <sabre@nondot.org> | 2010-09-11 16:39:16 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-09-11 16:39:16 +0000 |
commit | dfa3c9d98260f899297c11cda2b15dc44fc4f91e (patch) | |
tree | 00ab570bcdc37057564f19598c1d9d67f140871c /test | |
parent | ee211d0ed632d6329922ad4c5f7a25d3d66cf551 (diff) | |
download | llvm-dfa3c9d98260f899297c11cda2b15dc44fc4f91e.tar.gz llvm-dfa3c9d98260f899297c11cda2b15dc44fc4f91e.tar.bz2 llvm-dfa3c9d98260f899297c11cda2b15dc44fc4f91e.tar.xz |
add support for pushfd/popfd which are aliases for pushfl/popfl.
This fixes rdar://8408129 - pushfd and popfd get invalid instruction mnemonic errors
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113690 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/MC/AsmParser/X86/x86_32-new-encoder.s | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/MC/AsmParser/X86/x86_32-new-encoder.s b/test/MC/AsmParser/X86/x86_32-new-encoder.s index 70d4b40c78..efdce604ef 100644 --- a/test/MC/AsmParser/X86/x86_32-new-encoder.s +++ b/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 |