diff options
author | dzaima <dzaimagit@gmail.com> | 2024-02-13 22:41:14 +0200 |
---|---|---|
committer | dzaima <dzaimagit@gmail.com> | 2024-02-13 22:41:14 +0200 |
commit | 09cb2aa5f8b41d82b2c0ac8dcb68bc7244c8835e (patch) | |
tree | abb3b44284164783f4ac6f8dcde2709a8c3a7c5f | |
parent | 1318026c4eb054c146ad64e84af01f2ccd9ef719 (diff) |
gcc 14 should have "#pragma GCC novector"
-rw-r--r-- | src/h.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -128,7 +128,11 @@ typedef size_t ux; #define EXACTLY_GCC 1 #define NOUNROLL _Pragma("GCC unroll 1") #define vfor _Pragma("GCC ivdep") for - #define NOVECTORIZE + #if __GNUC__ >= 14 + #define NOVECTORIZE _Pragma("GCC novector") + #else + #define NOVECTORIZE + #endif #else #define NOUNROLL #define NOVECTORIZE |