diff options
author | Levy Hsu <admin@levyhsu.com> | 2024-09-11 14:19:02 +0930 |
---|---|---|
committer | Levy Hsu <admin@levyhsu.com> | 2024-09-26 02:37:34 +0000 |
commit | 85910e650a61de6da37e3d67a7ac208904dd3c0d (patch) | |
tree | 018b32600066bd90076e03bd5bad978672986eed /gcc/gdbhooks.py | |
parent | 78eef8919e2f2973ed7750ba66f5726e70614d07 (diff) | |
download | gcc-85910e650a61de6da37e3d67a7ac208904dd3c0d.zip gcc-85910e650a61de6da37e3d67a7ac208904dd3c0d.tar.gz gcc-85910e650a61de6da37e3d67a7ac208904dd3c0d.tar.bz2 |
x86: Extend AVX512 Vectorization for Popcount in Various Modes
This patch enables vectorization of the popcount operation for V2QI, V4QI,
V8QI, V2HI, V4HI, and V2SI modes.
gcc/ChangeLog:
* config/i386/mmx.md:
(VQI_16_32_64): New mode iterator for 8-byte, 4-byte, and 2-byte QImode.
(popcount<mode>2): New pattern for popcount of V2QI/V4QI/V8QI mode.
(popcount<mode>2): New pattern for popcount of V2HI/V4HI mode.
(popcountv2si2): New pattern for popcount of V2SI mode.
gcc/testsuite/ChangeLog:
* gcc.target/i386/part-vect-popcount-1.c: New test.
Diffstat (limited to 'gcc/gdbhooks.py')
0 files changed, 0 insertions, 0 deletions