[all-commits] [llvm/llvm-project] e28e21: [X86] Treat PSLLDQ/PSRLDQ as a shuffle not a shift

Simon Pilgrim via All-commits all-commits at lists.llvm.org
Mon Oct 24 06:43:04 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e28e214e4f225080104811aec5295fa062006515
      https://github.com/llvm/llvm-project/commit/e28e214e4f225080104811aec5295fa062006515
  Author: Simon Pilgrim <llvm-dev at redking.me.uk>
  Date:   2022-10-24 (Mon, 24 Oct 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-avx1.s
    M llvm/test/tools/llvm-mca/X86/Znver1/resources-avx2.s
    M llvm/test/tools/llvm-mca/X86/Znver1/resources-sse2.s
    M llvm/test/tools/llvm-mca/X86/Znver2/resources-avx1.s
    M llvm/test/tools/llvm-mca/X86/Znver2/resources-avx2.s
    M llvm/test/tools/llvm-mca/X86/Znver2/resources-sse2.s

  Log Message:
  -----------
  [X86] Treat PSLLDQ/PSRLDQ as a shuffle not a shift

This appears to be a copy+paste typo in the znver1/2 AMD SoG tables, treating the byte shift instructions like bit shifts

Older AMD SoG referred to PSLLDQ/PSRLDQ as shuffles, and Agner/instlatx64 both report they are integer shuffles




More information about the All-commits mailing list