[all-commits] [llvm/llvm-project] 6fb3c3: [llvm-exegesis] `ExegesisX86Target::setRegTo()`: s...

Roman Lebedev via All-commits all-commits at lists.llvm.org
Sat Dec 10 18:03:36 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6fb3c3a3cb72d932868a31f0a2139df9af292aa6
      https://github.com/llvm/llvm-project/commit/6fb3c3a3cb72d932868a31f0a2139df9af292aa6
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2022-12-11 (Sun, 11 Dec 2022)

  Changed paths:
    M llvm/tools/llvm-exegesis/lib/X86/Target.cpp
    M llvm/unittests/tools/llvm-exegesis/X86/TargetTest.cpp

  Log Message:
  -----------
  [llvm-exegesis] `ExegesisX86Target::setRegTo()`: support mask (K) regs

This only supports the obvious case, where the requested width
is supported by the available ISA sed, and there is
an appropriate, or wider, `KMOV?` instruction.

This doesn't deal with the 32/64 bit mask without BW instruction set.

This was the missing functionality that was
causing crashes in fd52305fdc7572534867247c8fb66093faf52e5c.




More information about the All-commits mailing list