OSDN Git Service

pf3gnuchains/gcc-fork.git
30 years ago(__floatdisf): Protect against double-rounding error.
kenner [Thu, 2 Jun 1994 22:10:30 +0000 (22:10 +0000)]
(__floatdisf):  Protect against double-rounding error.

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

30 years ago(define_function_unit): Remove ppc604 from sqrt list.
kenner [Thu, 2 Jun 1994 21:47:39 +0000 (21:47 +0000)]
(define_function_unit): Remove ppc604 from sqrt list.
(divsi3, udivsi3): Remove spaces from PowerPC output templates.
(sqrtsf2, maxsf3, minsf3, sqrtdf2, maxdf3, mindf3): Use new macros.
(floatdidf2, fix_truncdfdi2, ffsdi2, muldi3, smuldi3_highpart,
umuldi3_highpart, divdi3, udivdi3, rotldi3): New patterns.
(movdi): Handle moves between FPRs and GPRs.
(scc insn): Correct swapped compare and delayed_compare attributes.

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

30 years ago(processor_target_table): Use new macros.
kenner [Thu, 2 Jun 1994 21:47:12 +0000 (21:47 +0000)]
(processor_target_table): Use new macros.

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

30 years ago(MASK_PPCFPX): Delete.
kenner [Thu, 2 Jun 1994 21:42:15 +0000 (21:42 +0000)]
(MASK_PPCFPX): Delete.
(MASK_PPC_GPOPT, MASK_PPC_GFXOPT, TARGET_PPC_GPOPT, TARGET_PPC_GFXOPT):
New Macros.
(TARGET_SWITCHES): Remove -mpowerpc-fpx; add -mpowerpc-gpopt
and -mpowerpc-gfxopt.

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

30 years ago(c_build_type_variant): Don't change TYPE_MAIN_VARIANT of new type.
kenner [Thu, 2 Jun 1994 21:31:34 +0000 (21:31 +0000)]
(c_build_type_variant): Don't change TYPE_MAIN_VARIANT of new type.

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

30 years agooutput_func_{prologue,epilogue}): Change declarations from
erich [Thu, 2 Jun 1994 18:41:52 +0000 (18:41 +0000)]
output_func_{prologue,epilogue}): Change declarations from
output_{prologue,epilogue}.
(arm_output_llc, arithmetic_instr, output_arithmetic_with_immediate_mulitply,
 output_arithmetic_with_shift, shift_instr): Delete function definition.
(ASM_OUTPUT_OPCODE): Delete.
(PRINT_OPERAND): Call arm_print_operand, instead of doing it directly.
(ARM_COMMENT_CHAR): New macro.
(ARM_REG_PREFIX): New macro.
(ARM_SIGN_EXTEND): New macro.
(PRINT_OPERAND_ADDRESS): Delete variable 'shift'.  Change type of
variable 'offset' to HOST_WIDE_INT.  Use arm_print_operand to handle
shifts in addresses.

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

30 years ago(all output patterns): Use new capabilities of arm_print_operand to
erich [Thu, 2 Jun 1994 18:41:52 +0000 (18:41 +0000)]
(all output patterns): Use new capabilities of arm_print_operand to
simplify output sequences.  Mark position of condition code with '%?'.

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

30 years ago(ASM_FINAL_SPEC [CROSS_COMPILE]): Correct typo.
erich [Thu, 2 Jun 1994 18:41:52 +0000 (18:41 +0000)]
(ASM_FINAL_SPEC [CROSS_COMPILE]): Correct typo.
Update copyright message.

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

30 years ago(arm_condition_code): Move to start of file.
erich [Thu, 2 Jun 1994 18:41:52 +0000 (18:41 +0000)]
(arm_condition_code): Move to start of file.
(const_pool_offset): Correct typo.
(fp_const_from_val): New function.
(all instruction generators): mark position where conditionalization
should be with '%?'.
(output_move_double): Use new '%m' output type to simplify load/store
multiple generation.
(shift_instr): Delete.
(shift_op): New function.
(output_arithmetic): Delete.
(output_arithmetic_with_shift): Delete.
(output_arithmetic_with_immediate_multiply): Delete.
(output_shifted_move): Delete.
(output_shift_compare): Delete.
(arm_print_operand): New function.

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

30 years ago[emacs]: Block input around the garbage reclamation.
rms [Thu, 2 Jun 1994 17:45:40 +0000 (17:45 +0000)]
[emacs]: Block input around the garbage reclamation.
Include blockinput.h.

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

30 years ago(expand_expr, case ADDR_EXPR): If result is ignored, just return
kenner [Thu, 2 Jun 1994 12:13:33 +0000 (12:13 +0000)]
(expand_expr, case ADDR_EXPR): If result is ignored, just return
const0_rtx.

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

30 years agoUpdate comments.
kenner [Thu, 2 Jun 1994 11:24:33 +0000 (11:24 +0000)]
Update comments.

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

30 years ago#define NO_IMPLICIT_EXTERN_C.
merrill [Wed, 1 Jun 1994 23:00:15 +0000 (23:00 +0000)]
#define NO_IMPLICIT_EXTERN_C.

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

30 years ago(all insn and peephole patterns): Rewrite without using arm_output_asm_insn.
erich [Wed, 1 Jun 1994 17:11:23 +0000 (17:11 +0000)]
(all insn and peephole patterns): Rewrite without using arm_output_asm_insn.
(matcher for movsi): New alternative to load symbol directly into a register.
Add new parameter in call to output_load_symbol.

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

30 years agoDelete some dead code.
erich [Wed, 1 Jun 1994 17:10:50 +0000 (17:10 +0000)]
Delete some dead code.
(FUNCTION_{PROLOGUE,EPILOGUE}): Call output_func_{prologue,epilogue}.
(INITIAL_ELIMINATION_OFFSET): Inspect all registers, but only add those that
are not in call_used_regs.
(GO_IF_LEGITIMATE_INDEX): Change type of variable 'range' to HOST_WIDE_INT;
change type of variable 'code' to enum rtx_code.

(arm_output_asm_insn): Delete declaration.
(EXTRA_CONSTAINT): New constraint 'R' to match a constant pool label.
Make constraint 'S' never match when not optimizing.
(CONSTANT_ADDRESS_P): Only accept symbols marked with SYMBOL_REF_FLAG when
optimizing.
(ENCODE_SECTION_INFO): Don't mark any symbols when not optimizing.
(ASM_OUTPUT_REG_{PUSH,POP}: Don't call arm_increase_location.
(ASM_OUTPUT_ADDR_VEC_ELT): Likewise.

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

30 years agoGeneral tidy up.
erich [Wed, 1 Jun 1994 17:09:29 +0000 (17:09 +0000)]
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

30 years ago(all patterns): length attribute now describes length in bytes.
erich [Wed, 1 Jun 1994 08:53:42 +0000 (08:53 +0000)]
(all patterns): length attribute now describes length in bytes.

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

30 years ago(short_branch): Convert length calculations to bytes
erich [Wed, 1 Jun 1994 08:52:15 +0000 (08:52 +0000)]
(short_branch): Convert length calculations to bytes

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

30 years ago(movesi_unaligned, movsi_ulw, movsi_usw): Delete.
wilson [Wed, 1 Jun 1994 00:48:34 +0000 (00:48 +0000)]
(movesi_unaligned, movsi_ulw, movsi_usw): Delete.
(extv, extzv, insv, movsi_ulw, movsi_usw): New patterns.

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

30 years ago(SECONDARY_MEMORY_NEEDED): Simplify.
tege [Wed, 1 Jun 1994 00:39:40 +0000 (00:39 +0000)]
(SECONDARY_MEMORY_NEEDED): Simplify.
(ADDITIONAL_REGISTER_NAMES): Define.
(CONDITIONAL_REGISTER_USAGE): Make PIC_OFFSET_TABLE_REGNUM fixed
again.
(FIRST_PSEUDO_REGISTER): Now 89.
(FIXED_REGISTERS): Delete 1.0 fp registers,
(CALL_USED_REGISTERS): Likewise.
(CONDITIONAL_REGISTER_USAGE): Almost deleted.
(REG_ALLOC_ORDER): Update register numbers.
(HARD_REGNO_NREGS): Delete special case for 1.0 fp registers.
(HARD_REGNO_MODE_OK): Rewrite.  Don't allow use of odd fp registers
(enum reg_class): Delete HI_SNAKE_FP_REGS and FP_OR_SNAKE_FP_REGS.
(REG_CLASS_NAMES): Corresponding change.
(REG_CLASS_CONTENTS): Delete HI_SNAKE_FP_REGS and
FP_OR_SNAKE_FP_REGS.  Make SNAKE_FP_REGS class contain all fp
registers.  Update all values for changed register numbering.
(REGNO_REG_CLASS): Corresponding changes.
(REG_CLASS_FROM_LETTER): Delete 'y'.
(FP_REG_CLASS_P): No longer test HI_SNAKE_FP_REGS.
(CLASS_MAX_NREGS): Delete special case for 1.1 fp registers.
(FUNCTION_VALUE): Remove TARGET_SNAKE conditionals.
(LIBCALL_VALUE): Likewise.
(FUNCTION_ARG_REGNO_P): Likewise.
(FUNCTION_VALUE_REGNO_P): Likewise.  Add registers 29 and 33.
(FUNCTION_ARG): Remove TARGET_SNAKE conditionals.  Update register
numbers.
(REGNO_OK_FOR_FP_P): Update register number.
(REGISTER_NAMES): Delete special entries for 1.0 fp registers.
(DBX_REGISTER_NUMBER): Likewise.

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

30 years ago(emit_move_sequence): Add missing argument to symbolic_operand.
tege [Wed, 1 Jun 1994 00:38:18 +0000 (00:38 +0000)]
(emit_move_sequence): Add missing argument to symbolic_operand.
(output_block_move): Prefer addl to add.
(print_operand): Print fp regs with L suffix when appropriate.
(output_arg_descriptor): Rewrite to accomodate new convention for
USE information.
(compute_frame_size): Update for changed register numbers.
Simplify loops over general registers to stop at register 4.
(hppa_expand_prologue): Likewise.
(hppa_expand_epilogue): Likewise.

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

30 years ago(dbxout_type): Always emit cross-references if
wilson [Wed, 1 Jun 1994 00:23:46 +0000 (00:23 +0000)]
(dbxout_type): Always emit cross-references if
use_gnu_debug_info_extensions set.

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

30 years ago(output_source_line): Call xcoffout_source_line.
wilson [Wed, 1 Jun 1994 00:23:08 +0000 (00:23 +0000)]
(output_source_line): Call xcoffout_source_line.

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

30 years ago(xcoff_lastfile): New variable.
wilson [Wed, 1 Jun 1994 00:22:08 +0000 (00:22 +0000)]
(xcoff_lastfile): New variable.
(ABS_OR_RELATIVE_LINENO, ASM_OUTPUT_SOURCE_LINE): Define here.
(xcoffout_source_file, xcoffout_source_line): New functions.
(xcoffout_declare_function): Use xcoffout_source_file.

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

30 years ago(xcoff_lastfile): Declare.
wilson [Wed, 1 Jun 1994 00:21:39 +0000 (00:21 +0000)]
(xcoff_lastfile): Declare.
(DBX_OUTPUT_MAIN_SOURCE_FILENAME): Clean up.  Set xcoff_lastfile.
(ABS_OR_RELATIVE_LINENO, ASM_OUTPUT_SOURCE_LINE): Delete here.
(DBX_OUTPUT_SOURCE_FILENAME): Delete.

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

30 years ago(copy_loop_body): Copy CALL_INSN_FUNCTION_USAGE field.
wilson [Wed, 1 Jun 1994 00:17:00 +0000 (00:17 +0000)]
(copy_loop_body): Copy CALL_INSN_FUNCTION_USAGE field.

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

30 years ago(ASM_SPEC): Don't pass -k when -pg or -p given.
wilson [Wed, 1 Jun 1994 00:04:46 +0000 (00:04 +0000)]
(ASM_SPEC): Don't pass -k when -pg or -p given.
(OVERRIDE_OPTIONS): Warn when disabling -fpic.

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

30 years ago(print_global_hdr): Remove "l" from printf format
wilson [Tue, 31 May 1994 23:58:03 +0000 (23:58 +0000)]
(print_global_hdr): Remove "l" from printf format
for flags.
(print_sym_hdr): Add missing "l" to printf formats.
(print_symbol, print_file_desc): Likewise.

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

30 years ago(PUT_SDB_TYPE): Adjust value for compatibility with GNU960 toolchain.
wilson [Tue, 31 May 1994 23:54:27 +0000 (23:54 +0000)]
(PUT_SDB_TYPE): Adjust value for compatibility with GNU960 toolchain.

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

30 years agoNew file.
wilson [Tue, 31 May 1994 23:37:39 +0000 (23:37 +0000)]
New file.

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

30 years ago(LIB_SPEC): Don't link in /usr/lib/bb_link.o with -a.
wilson [Tue, 31 May 1994 23:32:03 +0000 (23:32 +0000)]
(LIB_SPEC): Don't link in /usr/lib/bb_link.o with -a.
(CONDITIONAL_REGISTER_USAGE): When -a, make %g1 and %g2 fixed.

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

30 years ago(main): -MG doesn't make sense with -MD or -MMD!
dje [Tue, 31 May 1994 23:31:48 +0000 (23:31 +0000)]
(main): -MG doesn't make sense with -MD or -MMD!

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

30 years ago(movsi matcher): Use ldi for moving of 0 to a reg.
tege [Tue, 31 May 1994 23:17:21 +0000 (23:17 +0000)]
(movsi matcher): Use ldi for moving of 0 to a reg.
(movhi matcher): Likewise.
(movqi matcher): Likewise.
(many patterns): Prefer addl to add, and shNaddl to shNadd.
(define_split for (plus (reg) (large_constant))): Cleanup.
(divsi3): Use match_dup for operand 3, not match_operand.
(udivsi3): Likewise.
(modsi3): Likewise.
(umodsi3): Likewise.

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

30 years ago(v_pedwarn_with_decl): Don't even issue warnings from
dje [Tue, 31 May 1994 23:15:01 +0000 (23:15 +0000)]
(v_pedwarn_with_decl): Don't even issue warnings from
pedantic errors in system header files.

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

30 years ago(extendqidi2, extendqisi2, extendqihi2): Remove non-existent lba instruction.
kenner [Tue, 31 May 1994 21:16:25 +0000 (21:16 +0000)]
(extendqidi2, extendqisi2, extendqihi2): Remove non-existent lba instruction.
(ashrdi3): Undo previous change.

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

30 years ago(lang_options): Add -f{no-,}implicit-templates.
merrill [Tue, 31 May 1994 19:31:18 +0000 (19:31 +0000)]
(lang_options): Add -f{no-,}implicit-templates.
        (compile_file): Don't output SDB debugging info for
        externals.

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

30 years ago(note_addr_stored): A SET or CLOBBER of a BLKmode MEM means that all
kenner [Tue, 31 May 1994 11:20:06 +0000 (11:20 +0000)]
(note_addr_stored): A SET or CLOBBER of a BLKmode MEM means that all
memory is clobbered.

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

30 years ago(expand_asm_operands): Make MEM with BLKmode for clobber of "memory".
kenner [Tue, 31 May 1994 11:19:37 +0000 (11:19 +0000)]
(expand_asm_operands): Make MEM with BLKmode for clobber of "memory".

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

30 years ago(print_deps_missing_files): New global.
dje [Mon, 30 May 1994 18:01:10 +0000 (18:01 +0000)]
(print_deps_missing_files): New global.
(main): New argument -MG.  Treat missing include files as
generated files and output dependencies for them.

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

30 years ago(default_compilers): Pass -MG to cpp if present.
dje [Mon, 30 May 1994 17:58:54 +0000 (17:58 +0000)]
(default_compilers): Pass -MG to cpp if present.
(option_map): New option --print-missing-file-dependencies/-MG.

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

30 years ago(expand_float): Fix error in last change.
kenner [Mon, 30 May 1994 16:38:00 +0000 (16:38 +0000)]
(expand_float): Fix error in last change.

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

30 years agoDisable code that manages gcc.ifile.
kenner [Mon, 30 May 1994 14:42:01 +0000 (14:42 +0000)]
Disable code that manages gcc.ifile.

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

30 years ago(PREFERRED_DEBUGGING_TYPE): Define as SDB_DEBUG.
kenner [Mon, 30 May 1994 14:41:31 +0000 (14:41 +0000)]
(PREFERRED_DEBUGGING_TYPE): Define as SDB_DEBUG.

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

30 years ago(significand_size): Declare.
kenner [Mon, 30 May 1994 14:35:44 +0000 (14:35 +0000)]
(significand_size): Declare.

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

30 years ago(significand_size): New function.
kenner [Mon, 30 May 1994 14:34:11 +0000 (14:34 +0000)]
(significand_size): New function.

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

30 years ago(expand_float): Avoid double-rounding when float is is narrower than
kenner [Mon, 30 May 1994 14:33:41 +0000 (14:33 +0000)]
(expand_float): Avoid double-rounding when float is is narrower than
int.

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

30 years ago(jump_optimize): When deleting unneeded stack adjusts or mem-mem
kenner [Sun, 29 May 1994 20:24:15 +0000 (20:24 +0000)]
(jump_optimize): When deleting unneeded stack adjusts or mem-mem
copies, use delete_computation.

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

30 years ago(force_to_mode): NEXT_SELECT is true for NEG.
kenner [Sun, 29 May 1994 20:03:08 +0000 (20:03 +0000)]
(force_to_mode): NEXT_SELECT is true for NEG.
Only exit quickly if X is narrower than MODE and MASK has all bits in X's
mode set.
(force_to_mode, case SUBREG): Don't check for WORD_REGISTER_OPERATIONS.
(force_to_mode, case NEG): Special-case test for low-order bit.

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

30 years ago(volatile_insn_p): Call ourselves in recursive scan.
kenner [Sun, 29 May 1994 19:58:14 +0000 (19:58 +0000)]
(volatile_insn_p): Call ourselves in recursive scan.

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

30 years ago(init, compstmt, stmt, all_iter_stmt_with_decl): If the lookahead
kenner [Sun, 29 May 1994 02:44:55 +0000 (02:44 +0000)]
(init, compstmt, stmt, all_iter_stmt_with_decl): If the lookahead
token is a constant and we need to pop the momentary obstack, don't
free it.

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

30 years ago(expand_end_case): Have INDEX_TYPE track conversions done to
kenner [Sat, 28 May 1994 23:03:12 +0000 (23:03 +0000)]
(expand_end_case): Have INDEX_TYPE track conversions done to
INDEX_EXPR.

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

30 years ago(call): Force address into register in non-symbol case.
tege [Sat, 28 May 1994 10:25:01 +0000 (10:25 +0000)]
(call): Force address into register in non-symbol case.
(call_value): Likewise.

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

30 years ago * toplev.c (compile_file): Call init_regs after `word_mode' is valid.
dje [Fri, 27 May 1994 23:29:18 +0000 (23:29 +0000)]
* toplev.c (compile_file): Call init_regs after `word_mode' is valid.
* regclass.c (init_reg_modes): If choose_hard_reg_mode can't find a
valid mode, fall back to word_mode.

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

30 years ago * expr.c (use_reg): Fix recording of USE information.
dje [Fri, 27 May 1994 23:27:50 +0000 (23:27 +0000)]
* expr.c (use_reg): Fix recording of USE information.
(use_regs): Likewise.
Delete argument `reg'.  All callers changed.
* expr.h (use_regs): Update prototype.
* calls.c (expand_call): Update call to use_regs.  Call use_reg
if parm is wholly in registers.

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

30 years ago(RTX_COSTS): Update PPC603 and PPC604 values.
kenner [Fri, 27 May 1994 22:18:17 +0000 (22:18 +0000)]
(RTX_COSTS): Update PPC603 and PPC604 values.

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

30 years ago(zero_extendqidi2, zero_extendhidi2): Use rldicl instruction.
kenner [Fri, 27 May 1994 22:17:52 +0000 (22:17 +0000)]
(zero_extendqidi2, zero_extendhidi2): Use rldicl instruction.

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

30 years ago(DIR_SEPARATOR): New macro.
kenner [Fri, 27 May 1994 21:56:04 +0000 (21:56 +0000)]
(DIR_SEPARATOR): New macro.

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

30 years ago(PCC_STATIC_STRUCT_RETURN): No longer defined.
kenner [Fri, 27 May 1994 21:44:59 +0000 (21:44 +0000)]
(PCC_STATIC_STRUCT_RETURN): No longer defined.

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

30 years agoUpdate to handle `ginclude' subdirectory when compiling libgcc2.
kenner [Fri, 27 May 1994 21:36:47 +0000 (21:36 +0000)]
Update to handle `ginclude' subdirectory when compiling libgcc2.

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

30 years ago(print_operand_address): print_operand_address creates PLUS-rtls for
kenner [Fri, 27 May 1994 21:30:31 +0000 (21:30 +0000)]
(print_operand_address): print_operand_address creates PLUS-rtls for
internal use, so it has to handle them.

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

30 years ago(find_reloads): Revert to old code and change secondary reloads to
kenner [Fri, 27 May 1994 20:47:01 +0000 (20:47 +0000)]
(find_reloads): Revert to old code and change secondary reloads to
RELOAD_FOR_OPERAND_ADDRESS too.

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

30 years ago(try_combine): Don't make complemented NOT for constant out of range.
kenner [Fri, 27 May 1994 20:42:08 +0000 (20:42 +0000)]
(try_combine): Don't make complemented NOT for constant out of range.

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

30 years ago(iordi3): Rename ior_operand to or_operand.
kenner [Fri, 27 May 1994 20:38:54 +0000 (20:38 +0000)]
(iordi3): Rename ior_operand to or_operand.
(xordi3): Use or_operand and add second alternative.
(eqv): Only accept registers.

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

30 years ago(PREDICATE_CODES): Rename ior_operand to or_operand.
kenner [Fri, 27 May 1994 20:38:07 +0000 (20:38 +0000)]
(PREDICATE_CODES): Rename ior_operand to or_operand.

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

30 years ago(or_operand): Renamed from ior_operand.
kenner [Fri, 27 May 1994 20:37:42 +0000 (20:37 +0000)]
(or_operand): Renamed from ior_operand.

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

30 years ago(assign_parms): Set REG_USERVAR_P when parm is passed by invisible
kenner [Fri, 27 May 1994 20:13:41 +0000 (20:13 +0000)]
(assign_parms): Set REG_USERVAR_P when parm is passed by invisible
reference but can live in register.

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

30 years ago(expand_expr, case CONSTRUCTOR): If constant and large enough for
kenner [Fri, 27 May 1994 18:56:31 +0000 (18:56 +0000)]
(expand_expr, case CONSTRUCTOR): If constant and large enough for
memcpy to be used, build constructor into static memory.

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

30 years agoAdd define_split for sign-extended PLUS of a MULT of an SImode
kenner [Fri, 27 May 1994 18:15:25 +0000 (18:15 +0000)]
Add define_split for sign-extended PLUS of a MULT of an SImode
comparison.

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

30 years ago(simplify_comparison): Narrow comparison for AND's that are ZERO_EXTENDs.
kenner [Fri, 27 May 1994 17:36:40 +0000 (17:36 +0000)]
(simplify_comparison): Narrow comparison for AND's that are ZERO_EXTENDs.
Can widen for all comparisons if inputs are both sign extended.

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

30 years ago(reload_as_needed): Update spill_reg_order once we sort spill_regs.
kenner [Fri, 27 May 1994 17:32:13 +0000 (17:32 +0000)]
(reload_as_needed): Update spill_reg_order once we sort spill_regs.

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

30 years ago(local_alloc): Fix typo in last change.
kenner [Fri, 27 May 1994 15:53:02 +0000 (15:53 +0000)]
(local_alloc): Fix typo in last change.

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

30 years agoAdd define_split for sign-extended PLUS of an SImode comparison;
kenner [Fri, 27 May 1994 11:26:20 +0000 (11:26 +0000)]
Add define_split for sign-extended PLUS of an SImode comparison;
change comparison to DImode.

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

30 years ago(expand_end_case): Use old type of INDEX_EXPR when making a constant.
kenner [Fri, 27 May 1994 10:33:04 +0000 (10:33 +0000)]
(expand_end_case): Use old type of INDEX_EXPR when making a constant.

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

30 years ago(requires_inout): Renamed from requires_inout_p and returns number of
kenner [Fri, 27 May 1994 10:27:03 +0000 (10:27 +0000)]
(requires_inout): Renamed from requires_inout_p and returns number of
alternatives that require a match.
(block_alloc): Use new function and handle case where all alternatives have
some operand that must match operand 0.

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

30 years ago(qty_sugg_compare_1): Fix typo in last change.
kenner [Fri, 27 May 1994 10:16:16 +0000 (10:16 +0000)]
(qty_sugg_compare_1): Fix typo in last change.

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

30 years ago(qty_phys_num{,_copy}_sugg): New variables.
kenner [Fri, 27 May 1994 10:03:04 +0000 (10:03 +0000)]
(qty_phys_num{,_copy}_sugg): New variables.
(qty_phys_has{,_copy}_sugg): Deleted.
(qty_sugg_compare{,_1}): New functions.
(local_alloc): Allocate and init new vars instead of deleted ones.
(block_alloc): Update and use new vars.
Order quantities using new functions when allocating quantities with
suggested registers.
(combine_regs, find_free_reg): Use new vars to count number of suggestions.

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

30 years ago(jump_optimize): When looking for an `if' statement that takes two
kenner [Thu, 26 May 1994 22:58:47 +0000 (22:58 +0000)]
(jump_optimize): When looking for an `if' statement that takes two
insns to compute a result using a temporary, allow the temporary to be
a SUBREG.

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

30 years ago(CANONICALIZE_COMPARISON): New macro.
kenner [Thu, 26 May 1994 22:49:06 +0000 (22:49 +0000)]
(CANONICALIZE_COMPARISON): New macro.

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

30 years ago(simplify_comparison): Call CANONICALIZE_COMPARISON, if defined.
kenner [Thu, 26 May 1994 22:48:18 +0000 (22:48 +0000)]
(simplify_comparison): Call CANONICALIZE_COMPARISON, if defined.

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

30 years agoProtect bool in curses.h
ian [Thu, 26 May 1994 22:37:59 +0000 (22:37 +0000)]
Protect bool in curses.h

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

30 years ago(simplify_if_then_else): Don't make (mult (cond)) in simple case;
kenner [Thu, 26 May 1994 22:03:39 +0000 (22:03 +0000)]
(simplify_if_then_else): Don't make (mult (cond)) in simple case;
leave as IF_THEN_ELSE instead.

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

30 years agoProtect __P in math.h and floatingpoint.h.
ian [Thu, 26 May 1994 16:23:31 +0000 (16:23 +0000)]
Protect __P in math.h and floatingpoint.h.

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

30 years ago(expand_divmod): Correctly set CAN_CLOBBER_OP0 when we've converted OP0
kenner [Thu, 26 May 1994 15:55:34 +0000 (15:55 +0000)]
(expand_divmod): Correctly set CAN_CLOBBER_OP0 when we've converted OP0
to COMPUTE_MODE.

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

30 years agoDon't pass $(srcdir) to fixincludes scripts; don't explicitly copy files
ian [Thu, 26 May 1994 15:50:35 +0000 (15:50 +0000)]
Don't pass $(srcdir) to fixincludes scripts; don't explicitly copy files
which are now copied by ${required} code.

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

30 years agoDon't pass $(srcdir) to fixincludes scripts
ian [Thu, 26 May 1994 15:50:13 +0000 (15:50 +0000)]
Don't pass $(srcdir) to fixincludes scripts

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

30 years ago(expand_exit_loop_if_false): Emit conditional jump around
wilson [Fri, 20 May 1994 16:59:51 +0000 (16:59 +0000)]
(expand_exit_loop_if_false): Emit conditional jump around
unconditional loop exit instead of conditional loop exit.

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

30 years ago(output_prolog): Use multiple fputs calls instead of
wilson [Fri, 20 May 1994 16:53:46 +0000 (16:53 +0000)]
(output_prolog): Use multiple fputs calls instead of
one call with multiple strings.

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

30 years ago(STARTFILE_SPEC, LIB_SPEC): Define.
wilson [Fri, 20 May 1994 16:50:02 +0000 (16:50 +0000)]
(STARTFILE_SPEC, LIB_SPEC): Define.

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

30 years ago(MAKE_LINE_SAFE): Delete.
wilson [Fri, 20 May 1994 16:48:11 +0000 (16:48 +0000)]
(MAKE_LINE_SAFE): Delete.
(ASM_OUTPUT_LBB, ASM_OUTPUT_LBE): Don't use MAKE_LINE_SAFE.

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

30 years ago(basic_machine): Accept cxux*.
rms [Fri, 20 May 1994 05:29:36 +0000 (05:29 +0000)]
(basic_machine): Accept cxux*.

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

30 years ago * calls.c (expand_call): Only destroy temps here, if -fshort-temps
mrs [Thu, 19 May 1994 23:14:04 +0000 (23:14 +0000)]
    * calls.c (expand_call): Only destroy temps here, if -fshort-temps
        is given.

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

30 years agoFix unrecognized os error message.
rms [Thu, 19 May 1994 23:08:12 +0000 (23:08 +0000)]
Fix unrecognized os error message.

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

30 years ago(emit_reload_insns): When seeing if an equivalent register can have
kenner [Thu, 19 May 1994 21:46:31 +0000 (21:46 +0000)]
(emit_reload_insns): When seeing if an equivalent register can have
it's output reload deleted, check for REG_DEAD notes for reload_in
instead of calling dead_or_set_p.

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

30 years ago(operand_subword): Fix arg of REAL_VALUE_TO_TARGET_SINGLE and
kenner [Thu, 19 May 1994 20:38:15 +0000 (20:38 +0000)]
(operand_subword): Fix arg of REAL_VALUE_TO_TARGET_SINGLE and
.._DOUBLE.  Permit float subword extraction when host's word width is
wider than target's.

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

30 years ago38th Cygnus<->FSF merge
mrs [Thu, 19 May 1994 20:19:03 +0000 (20:19 +0000)]
38th Cygnus<->FSF merge

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

30 years agoMake OSF/1 getopt.h fix work on AIX also
ian [Thu, 19 May 1994 19:09:56 +0000 (19:09 +0000)]
Make OSF/1 getopt.h fix work on AIX also

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

30 years ago(FIXPROTO_DEFINES): Set to -D_XOPEN_SOURCE.
merrill [Wed, 18 May 1994 23:08:30 +0000 (23:08 +0000)]
(FIXPROTO_DEFINES): Set to -D_XOPEN_SOURCE.

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

30 years agoUse ${FIXPROTO_DEFINES}.
merrill [Wed, 18 May 1994 23:08:30 +0000 (23:08 +0000)]
Use ${FIXPROTO_DEFINES}.

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

30 years ago(FIXPROTO_DEFINES): New variable: extra #defines for
merrill [Wed, 18 May 1994 23:08:30 +0000 (23:08 +0000)]
(FIXPROTO_DEFINES): New variable: extra #defines for
        fixproto to use.
        (stmp-fixproto): Pass it.

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

30 years ago(FIXPROTO_DEFINES): Set to -D__EXTENSIONS__.
merrill [Wed, 18 May 1994 23:08:30 +0000 (23:08 +0000)]
(FIXPROTO_DEFINES): Set to -D__EXTENSIONS__.

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