diff options
author | Peter Bergner <bergner@linux.ibm.com> | 2023-03-20 09:12:47 -0500 |
---|---|---|
committer | Peter Bergner <bergner@linux.ibm.com> | 2023-03-20 09:12:47 -0500 |
commit | fbd50e867e6a782c7b56c9727bf7e1e74dae4b94 (patch) | |
tree | 79af31a0aadb8f24c18b7640ceb3e8d1c729ec9b /gcc/errors.h | |
parent | e19234f464676efea383c8ef34c61dd18f2da108 (diff) | |
download | gcc-fbd50e867e6a782c7b56c9727bf7e1e74dae4b94.zip gcc-fbd50e867e6a782c7b56c9727bf7e1e74dae4b94.tar.gz gcc-fbd50e867e6a782c7b56c9727bf7e1e74dae4b94.tar.bz2 |
rs6000: Don't ICE when compiling the __builtin_vec_xst_trunc built-in [PR109178]
When we expand the __builtin_vec_xst_trunc built-in, we use the wrong mode
for the MEM operand which causes an unrecognizable insn ICE. The solution
is to use the correct TMODE mode.
2023-03-20 Peter Bergner <bergner@linux.ibm.com>
gcc/
PR target/109178
* config/rs6000/rs6000-builtin.cc (stv_expand_builtin): Use tmode.
gcc/testsuite/
PR target/109178
* gcc.target/powerpc/pr109178.c: New test.
Diffstat (limited to 'gcc/errors.h')
0 files changed, 0 insertions, 0 deletions