aboutsummaryrefslogtreecommitdiff
path: root/libio/isgetsb.cc
diff options
context:
space:
mode:
authorliuhongt <hongtao.liu@intel.com>2024-08-29 11:39:20 +0800
committerliuhongt <hongtao.liu@intel.com>2024-09-02 09:37:15 +0800
commitba9a3f105ea552a22d08f2d54dfdbef16af7c99e (patch)
tree846272b3c1ea84f81a829610933b539c548694c9 /libio/isgetsb.cc
parentdb4d81090b4f61998c393376c68eb97e38f5ed21 (diff)
downloadgcc-releases/gcc-14.zip
gcc-releases/gcc-14.tar.gz
gcc-releases/gcc-14.tar.bz2
Check avx upper register for parallel.releases/gcc-14
For function arguments/return, when it's BLK mode, it's put in a parallel with an expr_list, and the expr_list contains the real mode and registers. Current ix86_check_avx_upper_register only checked for SSE_REG_P, and failed to handle that. The patch extend the handle to each subrtx. gcc/ChangeLog: PR target/116512 * config/i386/i386.cc (ix86_check_avx_upper_register): Iterate subrtx to scan for avx upper register. (ix86_check_avx_upper_stores): Inline old ix86_check_avx_upper_register. (ix86_avx_u128_mode_needed): Ditto, and replace FOR_EACH_SUBRTX with call to new ix86_check_avx_upper_register. gcc/testsuite/ChangeLog: * gcc.target/i386/pr116512.c: New test. (cherry picked from commit ab214ef734bfc3dcffcf79ff9e1dd651c2b40566)
Diffstat (limited to 'libio/isgetsb.cc')
0 files changed, 0 insertions, 0 deletions