[libc] Update FMA detection macro for x86-64 targets.
authorTue Ly <lntue@google.com>
Wed, 7 Jun 2023 23:23:12 +0000 (19:23 -0400)
committerTue Ly <lntue@google.com>
Wed, 7 Jun 2023 23:55:18 +0000 (19:55 -0400)
commit4ade88a4533e71f0bd033f80284e53178653b0c3
tree6b268fb5b1e9359a0d81031153fd3598d8e0ac3b
parentd338727737357ce35bed3cfd985b2be7790e6932
[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
libc/src/__support/macros/properties/cpu_features.h