[clang] [clang] Separate Intel ADC instrinsics from ADX intrinsics (PR #75992)

Max Winkler via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 19 18:43:23 PST 2023


================
@@ -580,8 +580,7 @@ _storebe_i64(void * __P, long long __D) {
 #include <cetintrin.h>
 #endif
 
-/* Some intrinsics inside adxintrin.h are available only on processors with ADX,
- * whereas others are also available at all times. */
----------------
MaxEW707 wrote:

Confirmed that Intel ADX is supported on Ryzen.

I checked the Sony PS5 compiler on my work pc and confirmed that `__ADX__` is defined to `1` as expected for the PS5 Ryzen chips so we won't break them.
I check the Sony PS4 compiler on my work pc and confirmed that `__ADX__` is not defined as expected for the PS4 Jaguar chips.

https://github.com/llvm/llvm-project/pull/75992


More information about the cfe-commits mailing list