diff options
| author | Michael Forney <mforney@mforney.org> | 2020-03-20 16:43:28 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2020-03-20 16:43:56 -0700 |
| commit | 20bb028632b7a4f76200d60f90eacc821e59d84b (patch) | |
| tree | 798248ac69007104afa2f74d3f263d2930906f76 /probe | |
| parent | c31f9339b2eef5fbe7abb9f05b83e45463864bed (diff) | |
xz: Update to 5.2.5
Diffstat (limited to 'probe')
| -rw-r--r-- | probe/HAVE___BUILTIN_ASSUME_ALIGNED | 4 | ||||
| -rw-r--r-- | probe/gen.lua | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/probe/HAVE___BUILTIN_ASSUME_ALIGNED b/probe/HAVE___BUILTIN_ASSUME_ALIGNED new file mode 100644 index 00000000..9c64731f --- /dev/null +++ b/probe/HAVE___BUILTIN_ASSUME_ALIGNED @@ -0,0 +1,4 @@ +void *x; +int main(void) { + return __builtin_assume_aligned(x, 8) == x; +} diff --git a/probe/gen.lua b/probe/gen.lua index 20d513f5..c5a8bdff 100644 --- a/probe/gen.lua +++ b/probe/gen.lua @@ -5,6 +5,7 @@ end probe('HAVE_IMMINTRIN_H') probe('HAVE__MM_MOVEMASK_EPI8') probe('HAVE__THREAD_LOCAL') +probe('HAVE___BUILTIN_ASSUME_ALIGNED') probe('HAVE___BUILTIN_CLZ') probe('HAVE___BUILTIN_CTZL') probe('HAVE___BUILTIN_POPCOUNT') |
