1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-30 23:42:52 +01:00
llvm-mirror/test/MC/Disassembler/X86/marked-up.txt
Kevin Enderby 0f6b703b72 Add support for annotated disassembly output for X86 and arm.
Per the October 12, 2012 Proposal for annotated disassembly output sent out by
Jim Grosbach this set of changes implements this for X86 and arm.  The llvm-mc
tool now has a -mdis option to produced the marked up disassembly and a couple
of small example test cases have been added.

rdar://11764962

llvm-svn: 166445
2012-10-22 22:31:46 +00:00

7 lines
219 B
Plaintext

# RUN: llvm-mc --mdis %s -triple=x86_64-apple-darwin9 2>&1 | FileCheck %s
# CHECK: movq <mem:<reg:%gs>:8>, <reg:%rcx>
0x65 0x48 0x8b 0x0c 0x25 0x08 0x00 0x00 0x00
# CHECK: xorps <reg:%xmm1>, <reg:%xmm2>
0x0f 0x57 0xd1