https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84912
--- Comment #10 from Peter Bergner <bergner at gcc dot gnu.org> --- Author: bergner Date: Mon Apr 2 19:19:37 2018 New Revision: 259016 URL: https://gcc.gnu.org/viewcvs?rev=259016&root=gcc&view=rev Log: gcc/ Backport from mainline 2018-03-28 Peter Bergner <berg...@vnet.ibm.com> PR target/84912 * config/rs6000/rs6000.h: Update copyright date. (RS6000_BTM_POWERPC64): New define. (RS6000_BTM_COMMON): Add RS6000_BTM_POWERPC64. * config/rs6000/rs6000.c: Update copyright date. (rs6000_builtin_mask_calculate): Add support for RS6000_BTM_POWERPC64. (rs6000_invalid_builtin): Add handling for RS6000_BTM_POWERPC64 (rs6000_builtin_mask_names): Add RS6000_BTM_POWERPC64. * config/rs6000/rs6000-builtin.def: Update copyright date. (BU_P7_POWERPC64_MISC_2): New macro definition. (DIVDE): Use it. (DIVDEU): Likewise. Backport from mainline 2018-03-28 Peter Bergner <berg...@vnet.ibm.com> PR target/84912 * config/rs6000/rs6000-builtin.def (DIVWEO): Delete macro expansion. (DIVWEUO): Likewise. (DIVDEO): Likewise. (DIVDEUO): Likewise. * config/rs6000/rs6000.c (builtin_function_type): Remove support for DIVWEUO and DIVDEUO. * config/rs6000/rs6000.md: Update copyright date. (UNSPEC_DIVEO, UNSPEC_DIVEUO): Delete unspecs. (UNSPEC_DIV_EXTEND): Remove deleted unspecs. (div_extend): Likewise. * doc/extend.texi: Update copyright date. (__builtin_divweo): Remove documentation for deleted builtin function. (__builtin_divweuo): Likewise. (__builtin_divdeo): Likewise. (__builtin_divdeuo): Likewise. gcc/testsuite/ Backport from mainline 2018-03-28 Peter Bergner <berg...@vnet.ibm.com> PR target/84912 * gcc.target/powerpc/extend-divide-1.c (div_weo): Remove test for deleted builtin function. (div_weuo): Likewise. * gcc.target/powerpc/extend-divide-2.c (div_deo): Likewise. (div_deuo): Likewise. Modified: branches/gcc-7-branch/gcc/ChangeLog branches/gcc-7-branch/gcc/config/rs6000/rs6000-builtin.def branches/gcc-7-branch/gcc/config/rs6000/rs6000.c branches/gcc-7-branch/gcc/config/rs6000/rs6000.h branches/gcc-7-branch/gcc/config/rs6000/rs6000.md branches/gcc-7-branch/gcc/doc/extend.texi branches/gcc-7-branch/gcc/testsuite/ChangeLog branches/gcc-7-branch/gcc/testsuite/gcc.target/powerpc/extend-divide-1.c branches/gcc-7-branch/gcc/testsuite/gcc.target/powerpc/extend-divide-2.c