craig.topper added a comment. You could probably just define add __ORBIS__ to every line and then rely on the individual feature defines at the end of the line to re-enable the ones that are really supported. I assume the target-cpu is set to btver for ps4?
================ Comment at: clang/lib/Headers/immintrin.h:460 defined(__AVX512VP2INTERSECT__) #include <avx512vp2intersectintrin.h> #endif ---------------- you don't need this one either Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D70348/new/ https://reviews.llvm.org/D70348 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits