diff options
author | Collin Funk <collin.funk1@gmail.com> | 2024-06-10 06:36:47 +0000 |
---|---|---|
committer | liuhongt <hongtao.liu@intel.com> | 2024-06-23 14:48:41 +0800 |
commit | 4c957d7ba84d8bbce6e778048f38e92ef71806c8 (patch) | |
tree | 5891c1201225b0994fbcf9fcd486ffb6e3ae7a8f /gcc/dwarf2codeview.h | |
parent | 77f3b3419d476e90a2b82dff2204466aba3b9c2c (diff) | |
download | gcc-4c957d7ba84d8bbce6e778048f38e92ef71806c8.zip gcc-4c957d7ba84d8bbce6e778048f38e92ef71806c8.tar.gz gcc-4c957d7ba84d8bbce6e778048f38e92ef71806c8.tar.bz2 |
AVX-512: Pacify -Wshift-overflow=2. [PR115409]
A shift of 31 on a signed int is undefined behavior. Since unsigned
int is 32-bits wide this change fixes it and silences the warning.
gcc/ChangeLog:
PR target/115409
* config/i386/avx512fp16intrin.h (_mm512_conj_pch): Make the
constant unsigned before shifting.
* config/i386/avx512fp16vlintrin.h (_mm256_conj_pch): Likewise.
(_mm_conj_pch): Likewise.
Signed-off-by: Collin Funk <collin.funk1@gmail.com>
Diffstat (limited to 'gcc/dwarf2codeview.h')
0 files changed, 0 insertions, 0 deletions