diff options
author | Andreas Krebbel <krebbel@linux.ibm.com> | 2018-12-13 11:57:16 +0000 |
---|---|---|
committer | Andreas Krebbel <krebbel@gcc.gnu.org> | 2018-12-13 11:57:16 +0000 |
commit | a00ccce85885e1ddafe83c177dffa17cb7aff89d (patch) | |
tree | f42b23690eea8d7a5c6efe7c7b3d50a968e2076d /gcc/main.c | |
parent | 99daf8e848ce7a0f7f80e86543a98e79143c3648 (diff) | |
download | gcc-a00ccce85885e1ddafe83c177dffa17cb7aff89d.zip gcc-a00ccce85885e1ddafe83c177dffa17cb7aff89d.tar.gz gcc-a00ccce85885e1ddafe83c177dffa17cb7aff89d.tar.bz2 |
S/390: Fix zvector vec_double builtin
The (unsigned) long int to double vector conversion instructions
expect 2 immediate parameters. One for the inexact suppression
control and another one for the rounding mode. However, the
vec_double builtin has just the vector source operand. The 2
addtional operands need to be added with an intermediate expander.
The expanders were already there but unfortunately not wired up
correctly to the builtin.
gcc/ChangeLog:
2018-12-13 Andreas Krebbel <krebbel@linux.ibm.com>
* config/s390/s390-builtins.def (s390_vec_double_s64): Map to
s390_vec_double_s64 instead of s390_vcdgb.
(s390_vec_double_u64): Map to s390_vec_double_u64 instead of
s390_vcdlgb.
gcc/testsuite/ChangeLog:
2018-12-13 Andreas Krebbel <krebbel@linux.ibm.com>
* gcc.target/s390/zvector/vec-double-1.c: New test.
* gcc.target/s390/zvector/vec-double-2.c: New test.
From-SVN: r267084
Diffstat (limited to 'gcc/main.c')
0 files changed, 0 insertions, 0 deletions