[all-commits] [llvm/llvm-project] 8fa3e8: [X86] Force VIA PadLock crypto instructions to emi...

topperc via All-commits all-commits at lists.llvm.org
Thu Jun 11 13:03:44 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8fa3e8fa149203279dba9f4ace99575471cb46ac
      https://github.com/llvm/llvm-project/commit/8fa3e8fa149203279dba9f4ace99575471cb46ac
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2020-06-11 (Thu, 11 Jun 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86InstrSystem.td
    M llvm/test/MC/X86/padlock.s

  Log Message:
  -----------
  [X86] Force VIA PadLock crypto instructions to emit a 0xF3 prefix when they encode to match what GNU as does.

The spec for these says they need 0xf3 but also mentions REP
before the mnemonic. But I don't think its fair to users to make
them write REP first. And gas doesn't make them. objdump seems to
disassemble with or without the prefix and just prints any 0xf3
as REP.




More information about the All-commits mailing list