[all-commits] [llvm/llvm-project] 058a33: [X86] Account for high uop/resource usage in BSF/B...

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Apr 11 03:20:27 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 058a33d3c9249e9475cf1e42b9721251e816cd47
      https://github.com/llvm/llvm-project/commit/058a33d3c9249e9475cf1e42b9721251e816cd47
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-04-11 (Mon, 11 Apr 2022)

  Changed paths:
    M llvm/lib/Target/X86/X86ScheduleZnver1.td
    M llvm/lib/Target/X86/X86ScheduleZnver2.td
    M llvm/test/tools/llvm-mca/X86/Znver1/resources-x86_64.s
    M llvm/test/tools/llvm-mca/X86/Znver2/resources-x86_64.s

  Log Message:
  -----------
  [X86] Account for high uop/resource usage in BSF/BSR instructions

znver1/2 models were incorrectly modelling these as single uop instructions, instead of the microcoded nightmares they really are.

Now matches AMD SoG, Agner and instlatx64 numbers.

Fixes #54811




More information about the All-commits mailing list