[all-commits] [llvm/llvm-project] 0e5da2: [compiler-rt] Fix the HWCAP2_EBF16 and HWCAP2_SVE_...

joyhou-hw via All-commits all-commits at lists.llvm.org
Wed Nov 22 18:18:08 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0e5da2eceb89f1e947e8b9b4aa42804e4ea89acc
      https://github.com/llvm/llvm-project/commit/0e5da2eceb89f1e947e8b9b4aa42804e4ea89acc
  Author: joyhou-hw <houzhenyu at huawei.com>
  Date:   2023-11-23 (Thu, 23 Nov 2023)

  Changed paths:
    M compiler-rt/lib/builtins/cpu_model.c

  Log Message:
  -----------
  [compiler-rt] Fix the HWCAP2_EBF16 and HWCAP2_SVE_EBF16 macro value (#70905)

HWCAP2_EBF16 (1UL << 32)
HWCAP2_SVE_EBF16 (1UL << 33)
this will overflow in aarch64 ilp32 abi, and make func
__init_cpu_features_constructor() wrong.




More information about the All-commits mailing list