Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions clang/lib/Headers/avx512cdintrin.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
/* Define the default attributes for the functions in this file. */
#if defined(__cplusplus) && (__cplusplus >= 201103L)
#define __DEFAULT_FN_ATTRS \
constexpr __attribute__((__always_inline__, __nodebug__, \
__target__("avx512cd"), __min_vector_width__(512)))
__attribute__((__always_inline__, __nodebug__, __target__("avx512cd"), \
__min_vector_width__(512))) constexpr
#else
#define __DEFAULT_FN_ATTRS \
__attribute__((__always_inline__, __nodebug__, __target__("avx512cd"), \
Expand Down
12 changes: 6 additions & 6 deletions clang/lib/Headers/avx512vlcdintrin.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
/* Define the default attributes for the functions in this file. */
#if defined(__cplusplus) && (__cplusplus >= 201103L)
#define __DEFAULT_FN_ATTRS128 \
constexpr __attribute__((__always_inline__, __nodebug__, \
__target__("avx512vl,avx512cd"), \
__min_vector_width__(128)))
__attribute__((__always_inline__, __nodebug__, \
__target__("avx512vl,avx512cd"), \
__min_vector_width__(128))) constexpr
#define __DEFAULT_FN_ATTRS256 \
constexpr __attribute__((__always_inline__, __nodebug__, \
__target__("avx512vl,avx512cd"), \
__min_vector_width__(256)))
__attribute__((__always_inline__, __nodebug__, \
__target__("avx512vl,avx512cd"), \
__min_vector_width__(256))) constexpr
#else
#define __DEFAULT_FN_ATTRS128 \
__attribute__((__always_inline__, __nodebug__, \
Expand Down
Loading