Commit ba8fa8da by Richard Sandiford Committed by Richard Sandiford

Update remaining calls to choose_hard_reg_mode

2019-10-01  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
	* regs.h (HARD_REGNO_CALLER_SAVE_MODE): Update call to
	choose_hard_reg_mode.
	* config/sparc/sparc.h (HARD_REGNO_CALLER_SAVE_MODE): Likewise.

From-SVN: r276388
parent bd2d1b3d
2019-10-01 Richard Sandiford <richard.sandiford@arm.com>
* regs.h (HARD_REGNO_CALLER_SAVE_MODE): Update call to
choose_hard_reg_mode.
* config/sparc/sparc.h (HARD_REGNO_CALLER_SAVE_MODE): Likewise.
2019-10-01 Segher Boessenkool <segher@kernel.crashing.org> 2019-10-01 Segher Boessenkool <segher@kernel.crashing.org>
* doc/md.texi (vec_pack_trunc_@var{m}): Fix typo. * doc/md.texi (vec_pack_trunc_@var{m}): Fix typo.
......
...@@ -716,7 +716,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -716,7 +716,7 @@ along with GCC; see the file COPYING3. If not see
mode but the largest suitable mode for the given (REGNO, NREGS) pair and mode but the largest suitable mode for the given (REGNO, NREGS) pair and
it quickly creates paradoxical subregs that can be problematic. */ it quickly creates paradoxical subregs that can be problematic. */
#define HARD_REGNO_CALLER_SAVE_MODE(REGNO, NREGS, MODE) \ #define HARD_REGNO_CALLER_SAVE_MODE(REGNO, NREGS, MODE) \
((MODE) == VOIDmode ? choose_hard_reg_mode (REGNO, NREGS, false) : (MODE)) ((MODE) == VOIDmode ? choose_hard_reg_mode (REGNO, NREGS, NULL) : (MODE))
/* Specify the registers used for certain standard purposes. /* Specify the registers used for certain standard purposes.
The values of these macros are register numbers. */ The values of these macros are register numbers. */
......
...@@ -192,7 +192,7 @@ extern int caller_save_needed; ...@@ -192,7 +192,7 @@ extern int caller_save_needed;
/* Select a register mode required for caller save of hard regno REGNO. */ /* Select a register mode required for caller save of hard regno REGNO. */
#ifndef HARD_REGNO_CALLER_SAVE_MODE #ifndef HARD_REGNO_CALLER_SAVE_MODE
#define HARD_REGNO_CALLER_SAVE_MODE(REGNO, NREGS, MODE) \ #define HARD_REGNO_CALLER_SAVE_MODE(REGNO, NREGS, MODE) \
choose_hard_reg_mode (REGNO, NREGS, false) choose_hard_reg_mode (REGNO, NREGS, NULL)
#endif #endif
/* Target-dependent globals. */ /* Target-dependent globals. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment