https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82317
--- Comment #2 from Andreas Krebbel <krebbel at gcc dot gnu.org> --- Author: krebbel Date: Fri Oct 6 09:18:37 2017 New Revision: 253480 URL: https://gcc.gnu.org/viewcvs?rev=253480&root=gcc&view=rev Log: PR82317: S/390: Fix vec_min/vec_max builtins for IBM z13. With IBM z14 a hardware instruction for floating point min and max has been added while for IBM z13 we emulated min/max for vector double with compare and select. This testcase makes sure that we fall back to the emulated variant when compiling for z13. gcc/ChangeLog: 2017-10-06 Andreas Krebbel <kreb...@linux.vnet.ibm.com> PR target/82317 * config/s390/s390-builtin-types.def: Regenerate. * config/s390/s390-builtins.def (s390_vfmaxdb_4, s390_vfmindb_4): Change flag from B_VXE to B_VX. (s390_vec_min_dbl): Remove B_VXE flag. gcc/testsuite/ChangeLog: 2017-10-06 Andreas Krebbel <kreb...@linux.vnet.ibm.com> PR target/82317 * gcc.target/s390/zvector/pr82317.c: New test. Added: trunk/gcc/testsuite/gcc.target/s390/zvector/pr82317.c Modified: trunk/gcc/ChangeLog trunk/gcc/config/s390/s390-builtin-types.def trunk/gcc/config/s390/s390-builtins.def trunk/gcc/testsuite/ChangeLog