|
| 1 | +2024-01-27 H.J. Lu < [email protected]> |
| 2 | + |
| 3 | + PR target/38534 |
| 4 | + * config/i386/i386-options.cc (ix86_set_func_type): Don't |
| 5 | + save and restore callee saved registers for a noreturn function |
| 6 | + with nothrow or compiled with -fno-exceptions. |
| 7 | + |
| 8 | +2024-01-27 H.J. Lu < [email protected]> |
| 9 | + |
| 10 | + PR target/103503 |
| 11 | + PR target/113312 |
| 12 | + * config/i386/i386-expand.cc (ix86_expand_call): Replace |
| 13 | + no_caller_saved_registers check with call_saved_registers check. |
| 14 | + Clobber all registers that are not used by the callee with |
| 15 | + no_callee_saved_registers attribute. |
| 16 | + * config/i386/i386-options.cc (ix86_set_func_type): Set |
| 17 | + call_saved_registers to TYPE_NO_CALLEE_SAVED_REGISTERS for |
| 18 | + noreturn function. Disallow no_callee_saved_registers with |
| 19 | + interrupt or no_caller_saved_registers attributes together. |
| 20 | + (ix86_set_current_function): Replace no_caller_saved_registers |
| 21 | + check with call_saved_registers check. |
| 22 | + (ix86_handle_no_caller_saved_registers_attribute): Renamed to ... |
| 23 | + (ix86_handle_call_saved_registers_attribute): This. |
| 24 | + (ix86_gnu_attributes): Add |
| 25 | + ix86_handle_call_saved_registers_attribute. |
| 26 | + * config/i386/i386.cc (ix86_conditional_register_usage): Replace |
| 27 | + no_caller_saved_registers check with call_saved_registers check. |
| 28 | + (ix86_function_ok_for_sibcall): Don't allow callee with |
| 29 | + no_callee_saved_registers attribute when the calling function |
| 30 | + has callee-saved registers. |
| 31 | + (ix86_comp_type_attributes): Also check |
| 32 | + no_callee_saved_registers. |
| 33 | + (ix86_epilogue_uses): Replace no_caller_saved_registers check |
| 34 | + with call_saved_registers check. |
| 35 | + (ix86_hard_regno_scratch_ok): Likewise. |
| 36 | + (ix86_save_reg): Replace no_caller_saved_registers check with |
| 37 | + call_saved_registers check. Don't save any registers for |
| 38 | + TYPE_NO_CALLEE_SAVED_REGISTERS. Save all registers with |
| 39 | + TYPE_DEFAULT_CALL_SAVED_REGISTERS if function with |
| 40 | + no_callee_saved_registers attribute is called. |
| 41 | + (find_drap_reg): Replace no_caller_saved_registers check with |
| 42 | + call_saved_registers check. |
| 43 | + * config/i386/i386.h (call_saved_registers_type): New enum. |
| 44 | + (machine_function): Replace no_caller_saved_registers with |
| 45 | + call_saved_registers. |
| 46 | + * doc/extend.texi: Document no_callee_saved_registers attribute. |
| 47 | + |
| 48 | +2024-01-27 Jakub Jelinek < [email protected]> |
| 49 | + |
| 50 | + PR tree-optimization/113614 |
| 51 | + * gimple-lower-bitint.cc (gimple_lower_bitint): Don't merge |
| 52 | + widening casts from signed to unsigned types with TRUNC_DIV_EXPR, |
| 53 | + TRUNC_MOD_EXPR or FLOAT_EXPR uses. |
| 54 | + |
| 55 | +2024-01-27 Jakub Jelinek < [email protected]> |
| 56 | + |
| 57 | + PR tree-optimization/113568 |
| 58 | + * gimple-lower-bitint.cc (bitint_large_huge::lower_mergeable_stmt): |
| 59 | + For VIEW_CONVERT_EXPR use first operand of rhs1 instead of rhs1 |
| 60 | + in the widening extension checks. |
| 61 | + |
| 62 | +2024-01-27 Jakub Jelinek < [email protected]> |
| 63 | + |
| 64 | + * gimple-lower-bitint.cc (gimple_lower_bitint): For |
| 65 | + TDF_DETAILS dump mapping of SSA_NAMEs to decls. |
| 66 | + |
1 | 67 | 2024-01-26 Hans-Peter Nilsson < [email protected]>
|
2 | 68 |
|
3 | 69 | * cgraphunit.cc (process_function_and_variable_attributes): Tweak
|
|
0 commit comments