This is an archive of the discontinued LLVM Phabricator instance.

Permit memory operands in ins/outs instructions
ClosedPublic

Authored by niravd on Apr 6 2016, 11:26 AM.

Details

Summary

[x86] (PR15455) While (ins|outs)[bwld] instructions do not take %dx as a
memory operand, various unofficial references do and objdump
disassembles to this format. Extend special treatment of
similar (in|out)[bwld] operations.

Diff Detail

Event Timeline

niravd updated this revision to Diff 52829.Apr 6 2016, 11:26 AM
niravd retitled this revision from to Permit memory operands in ins/outs instructions.
niravd updated this object.
niravd added a reviewer: craig.topper.
niravd added a subscriber: llvm-commits.

Polite Ping for review.

niravd added a reviewer: rnk.Jun 10 2016, 6:05 AM
ab accepted this revision.Jun 27 2016, 10:28 AM
ab added a reviewer: ab.
ab added a subscriber: ab.

Gross, but LGTM.

test/MC/X86/x86-32.s
603

It's *really* minor, but the inconsistent newlines make me twitch: either separate the CHECKs from the instructions, or don't ;)

625

space

test/MC/X86/x86-64.s
284

space

290

Comment in a separate line?

This revision is now accepted and ready to land.Jun 27 2016, 10:28 AM
This revision was automatically updated to reflect the committed changes.