diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2025-08-05 06:27:15 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2025-08-05 12:12:12 -0700 |
commit | 40da83e4a770f0a05ef6ace4cdd75397609e5bde (patch) | |
tree | c18b32d6afe7a9222b0e957234a0e6bb1d798555 /libjava/classpath/lib | |
parent | 59236d56eec6854e261dbf16963d5ee9e03bf7d5 (diff) | |
download | gcc-40da83e4a770f0a05ef6ace4cdd75397609e5bde.zip gcc-40da83e4a770f0a05ef6ace4cdd75397609e5bde.tar.gz gcc-40da83e4a770f0a05ef6ace4cdd75397609e5bde.tar.bz2 |
x86: Get the widest vector mode from STORE_MAX_PIECES for memset
commit 050b1708ea532ea4840e97d85fad4ca63d4cd631
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Thu Jun 19 05:03:48 2025 +0800
x86: Get the widest vector mode from MOVE_MAX
gets the widest vector mode from MOVE_MAX. But for memset, it should
use STORE_MAX_PIECES.
gcc/
PR target/121410
* config/i386/i386-expand.cc (ix86_expand_set_or_cpymem): Use
STORE_MAX_PIECES to get the widest vector mode in vector loop
for memset.
gcc/testsuite/
PR target/121410
* gcc.target/i386/pr121410.c: New test.
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'libjava/classpath/lib')
0 files changed, 0 insertions, 0 deletions