diff options
author | Chris Lattner <sabre@nondot.org> | 2010-05-12 22:48:24 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-05-12 22:48:24 +0000 |
commit | 2745f6e920dd8b562ded008e3e34acc873c5a36f (patch) | |
tree | 95775ab5e430eccc09d2264caa1993d62d987b35 /test/MC | |
parent | 9a1581b9102511282ee823ab9a29819bc060e6a5 (diff) | |
download | llvm-2745f6e920dd8b562ded008e3e34acc873c5a36f.tar.gz llvm-2745f6e920dd8b562ded008e3e34acc873c5a36f.tar.bz2 llvm-2745f6e920dd8b562ded008e3e34acc873c5a36f.tar.xz |
fix the encoding of the obscure "moffset" forms of moves, i386
part first. rdar://7947184
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103660 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r-- | test/MC/AsmParser/X86/x86_32-new-encoder.s | 7 |
1 files changed, 7 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 c00007fd16..6ce98680d1 100644 --- a/test/MC/AsmParser/X86/x86_32-new-encoder.s +++ b/test/MC/AsmParser/X86/x86_32-new-encoder.s @@ -50,3 +50,10 @@ rdtscp // CHECK: shrl %eax # encoding: [0xd1,0xe8] shrl $1, %eax + +// moffset forms of moves, rdar://7947184 + +movb 0, %al // CHECK: movb 0, %al # encoding: [0xa0,A,A,A,A] +movw 0, %ax // CHECK: movw 0, %ax # encoding: [0x66,0xa1,A,A,A,A] +movl 0, %eax // CHECK: movl 0, %eax # encoding: [0xa1,A,A,A,A] + |