[all-commits] [llvm/llvm-project] 8875ee: [X86] Add a new format type for instructions that ...

topperc via All-commits all-commits at lists.llvm.org
Fri Feb 21 12:35:34 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 8875ee18d72b1b395331c1b7217d2b91fb4dc4b7
      https://github.com/llvm/llvm-project/commit/8875ee18d72b1b395331c1b7217d2b91fb4dc4b7
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2020-02-21 (Fri, 21 Feb 2020)

  Changed paths:
    M llvm/lib/Target/X86/MCTargetDesc/X86BaseInfo.h
    M llvm/lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
    M llvm/lib/Target/X86/X86InstrFormats.td
    M llvm/lib/Target/X86/X86InstrInfo.td
    M llvm/lib/Target/X86/X86InstrSystem.td
    M llvm/lib/Target/X86/X86InstrTSX.td
    M llvm/tools/llvm-exegesis/lib/X86/Target.cpp
    M llvm/utils/TableGen/X86RecognizableInstr.cpp
    M llvm/utils/TableGen/X86RecognizableInstr.h

  Log Message:
  -----------
  [X86] Add a new format type for instructions that represent named prefix bytes like data16 and rep. Use it to make a simpler version of isPrefix.

isPrefix was added to support the patches to align branches.
it relies on a switch over instruction names.

This moves those opcodes to a new format so the information is
tablegen and we can just check for a specific value in some bits
in TSFlags instead.

I've left the other function in place for now so that the
existing patches in phabricator will still work. I'll work with
the owner to get them migrated.




More information about the All-commits mailing list