General tidy up.
commita690ede25950a0c4bdd199ec0853db01c0b01087
authorerich <erich@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Jun 1994 17:09:29 +0000 (1 17:09 +0000)
committererich <erich@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 1 Jun 1994 17:09:29 +0000 (1 17:09 +0000)
tree5ad810a2dba592bd029710106d8511ed42adc46c
parent094e994fbc67f7b2295696b28a4118096026039a
General tidy up.
#include <string.h>.
Declare some prototypes.
(output_memory_reference_mode): Change type to enum machine_mode.
(arm_const_nmoves): Delete.
(adjacent_mem_locations, {load,store}_multiple_operation): Explicitly
declare to return int.
({load,store}_multiple_operation): Change type of 'count', 'base' and 'i' to
HOST_WIDE_INT.
(output_add_immediate): Change type of 'n' to HOST_WIDE_INT.
(output_multi_immediate): Change type of Argument 'n' to HOST_WIDE_INT, if
wider than 32 bits, mask out the high bits.
(output_arithmetic_with_immediate_multiply): Change type of 'shift'
to HOST_WIDE_INT.
(output_func_{prologue,epilogue}): Renamed from output_{prologue,epilogue}.
Check all registers to see if they are live, but only push/pop them if they
are not in call_used_regs.

(const_pool_offset): New function.
(get_prologue_size): New function.
(output_func_prologue): Eliminate variable code_size.
(output_func_epilogue): Only call arm_increase_location when optimizing; also
add the size of the function just compiled, and the size of the prologue.
(arm_output_asm_insn): Delete.  All callers changed to use output_asm_insn.
(arm_output_llc): Delete.
(output_load_symbol): New first parameter 'insn'.  Rewrite so that assembler
can detect whether we made a mistake.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@7416 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/config/arm/arm.c