[all-commits] [llvm/llvm-project] 3c2a56: [X86] Teach assembler parser to accept lsl and lar...

topperc via All-commits all-commits at lists.llvm.org
Wed Jul 15 15:24:44 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3c2a56a857227b6bc39285747269f02cd7a9dbe5
      https://github.com/llvm/llvm-project/commit/3c2a56a857227b6bc39285747269f02cd7a9dbe5
  Author: Craig Topper <craig.topper at intel.com>
  Date:   2020-07-15 (Wed, 15 Jul 2020)

  Changed paths:
    M llvm/lib/Target/X86/X86InstrSystem.td
    M llvm/test/MC/X86/I286-64.s

  Log Message:
  -----------
  [X86] Teach assembler parser to accept lsl and lar with a 64 or 32 source register when the destination is a 64 register.

Previously we only accepted a 32-bit source with a 64-bit dest.

Accepting 64-bit as well is more consistent with gas behavior. I
think maybe we should accept 16 bit register as well, but I'm not
sure.




More information about the All-commits mailing list