Skip to content

Commit 288d249

Browse files
committed
clang-format
1 parent 01e8aec commit 288d249

File tree

2 files changed

+18
-12
lines changed

2 files changed

+18
-12
lines changed

clang/lib/Headers/avx2intrin.h

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2060,8 +2060,9 @@ _mm256_sign_epi32(__m256i __a, __m256i __b)
20602060
/// \param imm
20612061
/// An unsigned immediate value specifying the shift count (in bytes).
20622062
/// \returns A 256-bit integer vector containing the result.
2063-
#define _mm256_slli_si256(a, imm) \
2064-
((__m256i)__builtin_ia32_pslldqi256_byteshift((__v32qi)(__m256i)(a), (int)(imm)))
2063+
#define _mm256_slli_si256(a, imm) \
2064+
((__m256i)__builtin_ia32_pslldqi256_byteshift((__v32qi)(__m256i)(a), \
2065+
(int)(imm)))
20652066

20662067
/// Shifts each 128-bit half of the 256-bit integer vector \a a left by
20672068
/// \a imm bytes, shifting in zero bytes, and returns the result. If \a imm
@@ -2080,8 +2081,9 @@ _mm256_sign_epi32(__m256i __a, __m256i __b)
20802081
/// \param imm
20812082
/// An unsigned immediate value specifying the shift count (in bytes).
20822083
/// \returns A 256-bit integer vector containing the result.
2083-
#define _mm256_bslli_epi128(a, imm) \
2084-
((__m256i)__builtin_ia32_pslldqi256_byteshift((__v32qi)(__m256i)(a), (int)(imm)))
2084+
#define _mm256_bslli_epi128(a, imm) \
2085+
((__m256i)__builtin_ia32_pslldqi256_byteshift((__v32qi)(__m256i)(a), \
2086+
(int)(imm)))
20852087

20862088
/// Shifts each 16-bit element of the 256-bit vector of [16 x i16] in \a __a
20872089
/// left by \a __count bits, shifting in zero bits, and returns the result.
@@ -2299,8 +2301,9 @@ _mm256_sra_epi32(__m256i __a, __m128i __count)
22992301
/// \param imm
23002302
/// An unsigned immediate value specifying the shift count (in bytes).
23012303
/// \returns A 256-bit integer vector containing the result.
2302-
#define _mm256_srli_si256(a, imm) \
2303-
((__m256i)__builtin_ia32_psrldqi256_byteshift((__v32qi)(__m256i)(a), (int)(imm)))
2304+
#define _mm256_srli_si256(a, imm) \
2305+
((__m256i)__builtin_ia32_psrldqi256_byteshift((__v32qi)(__m256i)(a), \
2306+
(int)(imm)))
23042307

23052308
/// Shifts each 128-bit half of the 256-bit integer vector in \a a right by
23062309
/// \a imm bytes, shifting in zero bytes, and returns the result. If
@@ -2319,8 +2322,9 @@ _mm256_sra_epi32(__m256i __a, __m128i __count)
23192322
/// \param imm
23202323
/// An unsigned immediate value specifying the shift count (in bytes).
23212324
/// \returns A 256-bit integer vector containing the result.
2322-
#define _mm256_bsrli_epi128(a, imm) \
2323-
((__m256i)__builtin_ia32_psrldqi256_byteshift((__v32qi)(__m256i)(a), (int)(imm)))
2325+
#define _mm256_bsrli_epi128(a, imm) \
2326+
((__m256i)__builtin_ia32_psrldqi256_byteshift((__v32qi)(__m256i)(a), \
2327+
(int)(imm)))
23242328

23252329
/// Shifts each 16-bit element of the 256-bit vector of [16 x i16] in \a __a
23262330
/// right by \a __count bits, shifting in zero bits, and returns the result.

clang/lib/Headers/avx512bwintrin.h

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1459,8 +1459,9 @@ _mm512_maskz_slli_epi16(__mmask32 __U, __m512i __A, unsigned int __B) {
14591459
(__v32hi)_mm512_setzero_si512());
14601460
}
14611461

1462-
#define _mm512_bslli_epi128(a, imm) \
1463-
((__m512i)__builtin_ia32_pslldqi512_byteshift((__v64qi)(__m512i)(a), (int)(imm)))
1462+
#define _mm512_bslli_epi128(a, imm) \
1463+
((__m512i)__builtin_ia32_pslldqi512_byteshift((__v64qi)(__m512i)(a), \
1464+
(int)(imm)))
14641465

14651466
static __inline__ __m512i __DEFAULT_FN_ATTRS512_CONSTEXPR
14661467
_mm512_srlv_epi16(__m512i __A, __m512i __B)
@@ -1590,8 +1591,9 @@ _mm512_maskz_srli_epi16(__mmask32 __U, __m512i __A, int __B) {
15901591
(__v32hi)_mm512_setzero_si512());
15911592
}
15921593

1593-
#define _mm512_bsrli_epi128(a, imm) \
1594-
((__m512i)__builtin_ia32_psrldqi512_byteshift((__v64qi)(__m512i)(a), (int)(imm)))
1594+
#define _mm512_bsrli_epi128(a, imm) \
1595+
((__m512i)__builtin_ia32_psrldqi512_byteshift((__v64qi)(__m512i)(a), \
1596+
(int)(imm)))
15951597

15961598
static __inline__ __m512i __DEFAULT_FN_ATTRS512
15971599
_mm512_mask_mov_epi16 (__m512i __W, __mmask32 __U, __m512i __A)

0 commit comments

Comments
 (0)