aboutsummaryrefslogtreecommitdiff
path: root/gcc/gdbhooks.py
diff options
context:
space:
mode:
authorliuhongt <hongtao.liu@intel.com>2024-08-29 11:39:20 +0800
committerliuhongt <hongtao.liu@intel.com>2024-08-30 13:51:54 +0800
commitab214ef734bfc3dcffcf79ff9e1dd651c2b40566 (patch)
tree2e9efcc00dc6024d94dff83349b0183830424874 /gcc/gdbhooks.py
parent350d627d5ee6abf23ede3f8a3b23348caab81fe3 (diff)
downloadgcc-ab214ef734bfc3dcffcf79ff9e1dd651c2b40566.zip
gcc-ab214ef734bfc3dcffcf79ff9e1dd651c2b40566.tar.gz
gcc-ab214ef734bfc3dcffcf79ff9e1dd651c2b40566.tar.bz2
Check avx upper register for parallel.
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.
Diffstat (limited to 'gcc/gdbhooks.py')
0 files changed, 0 insertions, 0 deletions