[all-commits] [llvm/llvm-project] 9be921: AMD k8 family does not support SSE4.x which are re...

Haojian Wu via All-commits all-commits at lists.llvm.org
Mon Jun 21 10:55:24 PDT 2021


  Branch: refs/heads/release/12.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 9be9215b27196c52177c4fc6edebd31a8f4b7e49
      https://github.com/llvm/llvm-project/commit/9be9215b27196c52177c4fc6edebd31a8f4b7e49
  Author: serge-sans-paille <sguelton at redhat.com>
  Date:   2021-06-21 (Mon, 21 Jun 2021)

  Changed paths:
    M clang/lib/Basic/Targets/X86.cpp

  Log Message:
  -----------
  AMD k8 family does not support SSE4.x which are required by x86-64-v2+

So don't define __tune__k8__ for these micro architecture.

SSE, SSE2 and SSE3 appear in https://www.amd.com/system/files/TechDocs/25112.PDF
but not SSE4.x.

Differential Revision: https://reviews.llvm.org/D104116

(cherry picked from commit 092c303955cd18be6c0b923b1c0a1b96e2c91893)


  Commit: 051126fe6ffe0f7c27b260ad29ecc84eb34fac0f
      https://github.com/llvm/llvm-project/commit/051126fe6ffe0f7c27b260ad29ecc84eb34fac0f
  Author: Haojian Wu <hokein.wu at gmail.com>
  Date:   2021-06-21 (Mon, 21 Jun 2021)

  Changed paths:
    M clang/lib/Basic/Targets/X86.cpp

  Log Message:
  -----------
  Fix -Wswitch warning after 092c303955cd18be6c0b923b1c0a1b96e2c91893.

(cherry picked from commit a83ef21ff82e4283044fd31470fc6c1bc4b99c51)


Compare: https://github.com/llvm/llvm-project/compare/0193a7da8bda...051126fe6ffe


More information about the All-commits mailing list