[PATCH] D39847: [X86] Avoid unecessary opsize byte in segment move to memory

Nirav Dave via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 17 09:46:07 PST 2017


niravd updated this revision to Diff 123365.
niravd edited the summary of this revision.
niravd added a comment.

Add OpSizeIgnore modifier to allow consumption of optional 0x66 bytes and remove invalid instructions.

We now no longer accept movl/movq versions of these instructions but as Craig points out gas doesn't either.


https://reviews.llvm.org/D39847

Files:
  llvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h
  llvm/lib/Target/X86/X86InstrFormats.td
  llvm/lib/Target/X86/X86InstrInfo.td
  llvm/lib/Target/X86/X86InstrSystem.td
  llvm/lib/Target/X86/X86SchedSandyBridge.td
  llvm/test/MC/Disassembler/X86/x86-16.txt
  llvm/test/MC/X86/x86-16.s
  llvm/test/MC/X86/x86-32.s
  llvm/test/MC/X86/x86-64.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39847.123365.patch
Type: text/x-patch
Size: 8367 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171117/0b4dc985/attachment-0001.bin>


More information about the llvm-commits mailing list