[all-commits] [llvm/llvm-project] 4ade88: [libc] Update FMA detection macro for x86-64 targets.

lntue via All-commits all-commits at lists.llvm.org
Wed Jun 7 16:55:42 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4ade88a4533e71f0bd033f80284e53178653b0c3
      https://github.com/llvm/llvm-project/commit/4ade88a4533e71f0bd033f80284e53178653b0c3
  Author: Tue Ly <lntue at google.com>
  Date:   2023-06-07 (Wed, 07 Jun 2023)

  Changed paths:
    M libc/src/__support/macros/properties/cpu_features.h

  Log Message:
  -----------
  [libc] Update FMA detection macro for x86-64 targets.

To generate fma instructions for x86-64 targets, we need both -mavx2
and -mfma.

Reviewed By: brooksmoses

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




More information about the All-commits mailing list