Commit a46bbb5a by Bob Wilson Committed by Bob Wilson

xtensa.c (xtensa_ld_opcodes, [...]): Delete.

	* config/xtensa/xtensa.c (xtensa_ld_opcodes, xtensa_st_opcodes): Delete.
	(xtensa_expand_block_move): Update comment.
	(override_options): Remove initialization of xtensa_{ld,st}_opcodes.

From-SVN: r86626
parent 52351a5e
2004-08-26 Bob Wilson <bob.wilson@acm.org>
* config/xtensa/xtensa.c (xtensa_ld_opcodes, xtensa_st_opcodes): Delete.
(xtensa_expand_block_move): Update comment.
(override_options): Remove initialization of xtensa_{ld,st}_opcodes.
2004-08026 Richard Earnshaw <rearnsha@arm.com> 2004-08026 Richard Earnshaw <rearnsha@arm.com>
PR target/13506 PR target/13506
......
...@@ -84,9 +84,7 @@ char xtensa_hard_regno_mode_ok[(int) MAX_MACHINE_MODE][FIRST_PSEUDO_REGISTER]; ...@@ -84,9 +84,7 @@ char xtensa_hard_regno_mode_ok[(int) MAX_MACHINE_MODE][FIRST_PSEUDO_REGISTER];
/* Current frame size calculated by compute_frame_size. */ /* Current frame size calculated by compute_frame_size. */
unsigned xtensa_current_frame_size; unsigned xtensa_current_frame_size;
/* Tables of ld/st opcode names for block moves */ /* Largest block move to handle in-line. */
const char *xtensa_ld_opcodes[(int) MAX_MACHINE_MODE];
const char *xtensa_st_opcodes[(int) MAX_MACHINE_MODE];
#define LARGEST_MOVE_RATIO 15 #define LARGEST_MOVE_RATIO 15
/* Define the structure for the machine field in struct function. */ /* Define the structure for the machine field in struct function. */
...@@ -1425,10 +1423,10 @@ xtensa_copy_incoming_a7 (rtx opnd) ...@@ -1425,10 +1423,10 @@ xtensa_copy_incoming_a7 (rtx opnd)
} }
/* Try to expand a block move operation to an RTL block move instruction. /* Try to expand a block move operation to a sequence of RTL move
If not optimizing or if the block size is not a constant or if the instructions. If not optimizing, or if the block size is not a
block is small, the expansion fails and GCC falls back to calling constant, or if the block is too large, the expansion fails and GCC
memcpy(). falls back to calling memcpy().
operands[0] is the destination operands[0] is the destination
operands[1] is the source operands[1] is the source
...@@ -1775,14 +1773,6 @@ override_options (void) ...@@ -1775,14 +1773,6 @@ override_options (void)
if (!TARGET_BOOLEANS && TARGET_HARD_FLOAT) if (!TARGET_BOOLEANS && TARGET_HARD_FLOAT)
error ("boolean registers required for the floating-point option"); error ("boolean registers required for the floating-point option");
/* Set up the tables of ld/st opcode names for block moves. */
xtensa_ld_opcodes[(int) SImode] = "l32i";
xtensa_ld_opcodes[(int) HImode] = "l16ui";
xtensa_ld_opcodes[(int) QImode] = "l8ui";
xtensa_st_opcodes[(int) SImode] = "s32i";
xtensa_st_opcodes[(int) HImode] = "s16i";
xtensa_st_opcodes[(int) QImode] = "s8i";
xtensa_char_to_class['q'] = SP_REG; xtensa_char_to_class['q'] = SP_REG;
xtensa_char_to_class['a'] = GR_REGS; xtensa_char_to_class['a'] = GR_REGS;
xtensa_char_to_class['b'] = ((TARGET_BOOLEANS) ? BR_REGS : NO_REGS); xtensa_char_to_class['b'] = ((TARGET_BOOLEANS) ? BR_REGS : NO_REGS);
......
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