re PR target/84912 (__builtin_divde* produce Internal Compiler Error when compiled...
commiteb581af430ff929eb43e2fbf871e9a92e25780c5
authorPeter Bergner <bergner@gcc.gnu.org>
Thu, 29 Mar 2018 00:06:31 +0000 (28 19:06 -0500)
committerPeter Bergner <bergner@gcc.gnu.org>
Thu, 29 Mar 2018 00:06:31 +0000 (28 19:06 -0500)
tree22a74be11bfec563f65594b6d47ed41ae6db92c1
parent604e36ed96b2136fc24edecf675235c39fcfd6de
re PR target/84912 (__builtin_divde* produce Internal Compiler Error when compiled -m32)

PR target/84912
* config/rs6000/rs6000.h (RS6000_BTM_POWERPC64): New define.
(RS6000_BTM_COMMON): Add RS6000_BTM_POWERPC64.
* config/rs6000/rs6000.c (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 (BU_P7_POWERPC64_MISC_2): New macro
definition.
(DIVDE): Use it.
(DIVDEU): Likewise.

From-SVN: r258943
gcc/ChangeLog
gcc/config/rs6000/rs6000-builtin.def
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/rs6000.h