[all-commits] [llvm/llvm-project] ab7948: [NFC][X86][MCA] AMD Zen3: add GPR zero-idiom depen...

Roman Lebedev via All-commits all-commits at lists.llvm.org
Sun May 9 14:04:16 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ab794852ed41d75039aeb122e4268fa32ef1a68f
      https://github.com/llvm/llvm-project/commit/ab794852ed41d75039aeb122e4268fa32ef1a68f
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2021-05-10 (Mon, 10 May 2021)

  Changed paths:
    A llvm/test/tools/llvm-mca/X86/Znver3/zero-idioms-gpr.s

  Log Message:
  -----------
  [NFC][X86][MCA] AMD Zen3: add GPR zero-idiom dependency breaking tests


  Commit: eed8552787d8e2e7c4fd257a8b5ddd78682a55fa
      https://github.com/llvm/llvm-project/commit/eed8552787d8e2e7c4fd257a8b5ddd78682a55fa
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2021-05-10 (Mon, 10 May 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86ScheduleZnver3.td
    M llvm/test/tools/llvm-mca/X86/Znver3/zero-idioms-gpr.s

  Log Message:
  -----------
  [X86] AMD Zen 3: same-register XOR/SUB are GPR dependency breaking zero-idioms

As measured by exegesis and confirmed in reference docs.


  Commit: 8d0e2d2b0f0f555549255ee812f7ff5297b79420
      https://github.com/llvm/llvm-project/commit/8d0e2d2b0f0f555549255ee812f7ff5297b79420
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2021-05-10 (Mon, 10 May 2021)

  Changed paths:
    A llvm/test/tools/llvm-mca/X86/Znver3/dependency-breaking-gpr.s

  Log Message:
  -----------
  [NFC][X86][MCA] AMD Zen 3: add tests for SBB dependency breaking


  Commit: 11b0568dce5a72d45780d07398650693537bfa67
      https://github.com/llvm/llvm-project/commit/11b0568dce5a72d45780d07398650693537bfa67
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2021-05-10 (Mon, 10 May 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86ScheduleZnver3.td
    M llvm/test/tools/llvm-mca/X86/Znver3/dependency-breaking-gpr.s
    M llvm/test/tools/llvm-mca/X86/Znver3/resources-bmi2.s

  Log Message:
  -----------
  [X86] AMD Zen 3: same-reg SBB is a dependency-breaking instruction

As confirmed by exegesis measurements, and ref docs.
It does actually execute.

While there, bump latency for MULX32rr, that seems to match measurements.


  Commit: 9a31efa2f51b8150935a9b90eac6ab4eaa613841
      https://github.com/llvm/llvm-project/commit/9a31efa2f51b8150935a9b90eac6ab4eaa613841
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2021-05-10 (Mon, 10 May 2021)

  Changed paths:
    M llvm/test/tools/llvm-mca/X86/Znver3/dependency-breaking-gpr.s

  Log Message:
  -----------
  [NFC][X86][MCA] AMD Zen 3: add tests for CMP dependency breaking


  Commit: be23d5e81439e701c67c767b06fe4c7afcde6af9
      https://github.com/llvm/llvm-project/commit/be23d5e81439e701c67c767b06fe4c7afcde6af9
  Author: Roman Lebedev <lebedev.ri at gmail.com>
  Date:   2021-05-10 (Mon, 10 May 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86ScheduleZnver3.td
    M llvm/test/tools/llvm-mca/X86/Znver3/dependency-breaking-gpr.s

  Log Message:
  -----------
  [X86] AMD Zen 3: same-reg CMP is a zero-cycle dependency-breaking instruction

As measured by exegesis, and confirmed by ref docs.


Compare: https://github.com/llvm/llvm-project/compare/76786037c681...be23d5e81439


More information about the All-commits mailing list