Do not define builtins that overload disabled builtins.
PR bootstrap/92661 * config/rs6000/rs6000-c.c (struct altivec_builtin_types): Move to rs6000.h. (altivec_overloaded_builtins): Move to rs6000-call.c. * config/rs6000/rs6000.h (struct altivec_builtin_types): Moved from rs6000-c.c. * config/rs6000/rs6000-call.c (rs6000_builtin_info): Make static. (altivec_overloaded_builtins): Moved from rs6000-c.c. (rs6000_common_init_builtins): Do no define builtins that overload builtins that have been disabled. From-SVN: r278973
This commit is contained in:
parent
b3e3b9000b
commit
25ffd3d34e
4 changed files with 5247 additions and 5222 deletions
|
@ -1,3 +1,16 @@
|
|||
2019-12-04 Peter Bergner <bergner@linux.ibm.com>
|
||||
|
||||
PR bootstrap/92661
|
||||
* config/rs6000/rs6000-c.c (struct altivec_builtin_types): Move to
|
||||
rs6000.h.
|
||||
(altivec_overloaded_builtins): Move to rs6000-call.c.
|
||||
* config/rs6000/rs6000.h (struct altivec_builtin_types): Moved from
|
||||
rs6000-c.c.
|
||||
* config/rs6000/rs6000-call.c (rs6000_builtin_info): Make static.
|
||||
(altivec_overloaded_builtins): Moved from rs6000-c.c.
|
||||
(rs6000_common_init_builtins): Do no define builtins that overload
|
||||
builtins that have been disabled.
|
||||
|
||||
2019-12-04 Wilco Dijkstra <wdijkstr@arm.com>
|
||||
|
||||
* config/arm/arm.c (arm_option_override_internal):
|
||||
|
|
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
@ -2365,6 +2365,18 @@ enum rs6000_builtins
|
|||
#undef RS6000_BUILTIN_P
|
||||
#undef RS6000_BUILTIN_X
|
||||
|
||||
/* Mappings for overloaded builtins. */
|
||||
struct altivec_builtin_types
|
||||
{
|
||||
enum rs6000_builtins code;
|
||||
enum rs6000_builtins overloaded_code;
|
||||
signed char ret_type;
|
||||
signed char op1;
|
||||
signed char op2;
|
||||
signed char op3;
|
||||
};
|
||||
extern const struct altivec_builtin_types altivec_overloaded_builtins[];
|
||||
|
||||
enum rs6000_builtin_type_index
|
||||
{
|
||||
RS6000_BTI_NOT_OPAQUE,
|
||||
|
|
Loading…
Add table
Reference in a new issue