OSDN Git Service
coxs [Fri, 4 Feb 1994 16:29:24 +0000 (16:29 +0000)]
Split movdf so it can go into a branch delay slot.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6480
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Fri, 4 Feb 1994 13:14:23 +0000 (13:14 +0000)]
(gen_lowpart_common, gen_highpart): Test *_BIG_ENDIAN with "if", not
#if and fix one erroneous test.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6479
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Thu, 3 Feb 1994 22:14:46 +0000 (22:14 +0000)]
(store_bit_field, insv case): Don't use PUT_MODE on
xop0 when it is a SUBREG, generate a new SUBREG.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6478
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 3 Feb 1994 20:27:23 +0000 (20:27 +0000)]
Add prototypes for static functions.
(uses_reg_or_mem): New function.
(find_basic_block): Some cleanups; eliminate shadowed variables.
Look for REG_LABEL notes in all insns and allow for multiple such.
Don't delete labels in forced_labels.
Generalize test for computed jumps.
(find_auto_inc): OFFSET should be HOST_WIDE_INT.
(mark_used_regs): Put decls of parms in parm order.
(find_use_as_address): PLUSCONST should be HOST_WIDE_INT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6477
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 3 Feb 1994 18:24:04 +0000 (18:24 +0000)]
(GO_IF_HARD_REG_EQUAL): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6476
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 3 Feb 1994 12:44:52 +0000 (12:44 +0000)]
(eliminate_regs, case INSN_LIST): Properly remake list when we change
something further on.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6475
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Thu, 3 Feb 1994 02:37:18 +0000 (02:37 +0000)]
(signed_or_unsigned_type): Check for any
INTEGRAL_TYPE_P not just INTEGER_TYPE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6474
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Thu, 3 Feb 1994 02:33:27 +0000 (02:33 +0000)]
(enquire.o): Depend on stmp-int-hdrs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6473
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Thu, 3 Feb 1994 02:29:13 +0000 (02:29 +0000)]
(CPP_SPEC): Define __PTRDIFF_TYPE__ not __PTRDIFF_TYPE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6472
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Thu, 3 Feb 1994 02:21:50 +0000 (02:21 +0000)]
(fill_simple_delay_slots): When fill epilogue delay
slot, set needed to end_of_function_needs instead of clearing it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6471
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 2 Feb 1994 20:28:15 +0000 (20:28 +0000)]
(lang_options): Sort C++ options and add -f{no-,}external-templates.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6470
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 2 Feb 1994 20:20:29 +0000 (20:20 +0000)]
(FILE_FUNCTION_FORMAT): Fix typo if neither dot nor dollar in label.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6469
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 2 Feb 1994 20:14:18 +0000 (20:14 +0000)]
(const_binop, COMPLEX_TYPE, case RDIV_EXPR): If complex integer, use
TRUNC_DIV_EXPR for inner division.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6468
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 2 Feb 1994 19:38:36 +0000 (19:38 +0000)]
Add prototypes for static functions; delete forward declarations of
non-static functions.
(initializer_constant_valid_p): Add missing parameter to recursive call.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6467
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 2 Feb 1994 19:37:57 +0000 (19:37 +0000)]
Re-order declarations for functions in c-typeck.c to agree with order
there; add some missing declarations.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6466
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 2 Feb 1994 19:21:50 +0000 (19:21 +0000)]
(SUBDIR_INCLUDES): Add -I for include directory.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6465
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 2 Feb 1994 18:24:14 +0000 (18:24 +0000)]
(synth_mult): Delay allocation of algorithm structures until they are
needed. Reorder early-exit tests to avoid comparing value that is not
yet set.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6464
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 1 Feb 1994 23:56:12 +0000 (23:56 +0000)]
(decl_attributes): Allow format attributes on old style
(non-prototype) function declarations.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6463
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 1 Feb 1994 23:27:04 +0000 (23:27 +0000)]
(make_extraction): Don't make an extraction that has the potential of
crossing a boundary.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6462
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 1 Feb 1994 23:22:21 +0000 (23:22 +0000)]
Add prototypes for static functions.
(auto_inc_dec_reg_p): New function.
(regclass): Call it to allow a register needing a secondary reload to be used
for inc/dec if it is already valid for it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6461
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 1 Feb 1994 16:41:57 +0000 (16:41 +0000)]
(build_type_variant): Simplify by using build_type_copy.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6460
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 1 Feb 1994 16:25:27 +0000 (16:25 +0000)]
(rest_of_compilation): `volatile' function warning corrected to read
`noreturn' function warning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6459
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 1 Feb 1994 16:23:47 +0000 (16:23 +0000)]
(c_expand_return): `volatile' function warning corrected to read
`noreturn' function warning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6458
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 1 Feb 1994 16:21:23 +0000 (16:21 +0000)]
(grokdeclarator): `volatile' function warning corrected to read
`noreturn' function warning.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6457
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 1 Feb 1994 13:32:46 +0000 (13:32 +0000)]
(default_compilers, @ada): Don't duplicate "-gnat" parameters; pass
-quiet unless -Q is specified.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6456
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 1 Feb 1994 11:06:13 +0000 (11:06 +0000)]
(minsf3, maxdf3, mindf3): Properly insert constant of zero into
patterns.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6455
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 1 Feb 1994 01:55:18 +0000 (01:55 +0000)]
(i960_function_name_declare): Handle names that start with '*'.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6454
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 1 Feb 1994 00:23:18 +0000 (00:23 +0000)]
(sched_analyze_insn): Add use dependencies for registers
mentioned in REG_DEAD notes.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6453
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 1 Feb 1994 00:16:50 +0000 (00:16 +0000)]
New file.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6452
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 1 Feb 1994 00:13:20 +0000 (00:13 +0000)]
Unify error and message functions:
* toplev.c: Include "gvarargs.h".
(fatal_insn_not_found): Omit superfluous argument to error.
(vmessage, v_message_with_file_and_line): New functions.
(v_message_with_decl, file_and_line_for_asm): Likewise.
(v_error_with_file_and_line, v_error_with_decl): Likewise.
(v_error_for_asm, verror, vfatal): Likewise.
(v_warning_with_file_and_line, v_warning_with_decl): Likewise.
(v_warning_for_asm, vwarning): Likewise.
(error_with_file_and_line, error_with_decl, error, fatal): Now just wrappers
for above functions.
(error_for_asm, warning_with_file_and_line): Likewise.
(warning_with_decl, warning_for_asm, warning): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6451
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 1 Feb 1994 00:13:06 +0000 (00:13 +0000)]
(priority): Call insn_cost() for anti- and output-
dependencies as well as for true dependencies.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6450
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 1 Feb 1994 00:02:12 +0000 (00:02 +0000)]
(find_best_addr): Limit number of cse_gen_binary calls to
20 per iteration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6449
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 31 Jan 1994 23:43:28 +0000 (23:43 +0000)]
(emovo): Use separate variable for loop index.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6448
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 31 Jan 1994 23:40:54 +0000 (23:40 +0000)]
(operand_equal_for_comparison_p): Declare correct_width as unsigned.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6447
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 31 Jan 1994 23:31:24 +0000 (23:31 +0000)]
(cross-test, enquire, protoize, unprotoize): Specify program name in
-o to force into build directory.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6446
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 31 Jan 1994 23:16:45 +0000 (23:16 +0000)]
(CPP_SPEC): Add -Dsun.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6445
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Mon, 31 Jan 1994 22:25:21 +0000 (22:25 +0000)]
(class_narrowest_mode, byte_mode, word_mode): Add
extern to declaration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6444
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Mon, 31 Jan 1994 22:24:34 +0000 (22:24 +0000)]
(local_vars_size): Add extern to declaration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6443
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Mon, 31 Jan 1994 20:43:02 +0000 (20:43 +0000)]
(expand_units): When calculate BLOCKAGE, reverse
terms to POS_MINUS_OP. Clarify comment before BLOCKAGE computation.
(write_complex_function): Use EXECUTING_INSN for first switch, and
CANDIDATE_INSN for second switch.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6442
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Mon, 31 Jan 1994 20:35:27 +0000 (20:35 +0000)]
(TARGET_DEFFAULT): Add -mapp-regs.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6441
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Mon, 31 Jan 1994 20:34:58 +0000 (20:34 +0000)]
(TARGET_APP_REGS): Define.
(TARGET_SWITCHES): Add new options -mapp-regs and -mno-app-regs.
(TARGET_DEFAULT): Add -mapp-regs.
(CONDITIONAL_REGISTER_USAGE): Make %g2, %g3, and %g4 be fixed when
the -mno-app-regs option is used.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6440
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Mon, 31 Jan 1994 20:34:29 +0000 (20:34 +0000)]
(TARGET_DEFAULT): Delete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6439
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Mon, 31 Jan 1994 20:28:39 +0000 (20:28 +0000)]
(STARTFILE_SPEC): Include values-X[cta].o file in link.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6438
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Mon, 31 Jan 1994 20:19:28 +0000 (20:19 +0000)]
(ASM_OUTPUT_LFE): Output absolute line number not
relative line number.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6437
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 29 Jan 1994 00:19:59 +0000 (00:19 +0000)]
(find_auto_inc): Check for increment using single_set.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6436
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 29 Jan 1994 00:11:02 +0000 (00:11 +0000)]
(fsel): Remove insns with record bit set.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6435
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 27 Jan 1994 23:22:20 +0000 (23:22 +0000)]
(output_prolog): Fix typo in previous change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6434
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Wed, 26 Jan 1994 23:24:12 +0000 (23:24 +0000)]
* c-typeck.c (initializer_constant_valid_p): Make non-static.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6433
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Wed, 26 Jan 1994 18:56:51 +0000 (18:56 +0000)]
(attach_deaths_insn): Add REG_DEAD notes to CLOBBER if
it is for a MEM.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6432
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Tue, 25 Jan 1994 13:29:50 +0000 (13:29 +0000)]
(HASHBITS): Removed.
(HASH, struct set, canon_hash, safe_hash, remove_from_table):
Generate and use unsigned hash values, to avoid potential trouble
with signed shift/overflow.
Also name variables consistently: "hash", not "hash_code".
(lookup, lookup_for_remove, insert, merge_equiv_classes): Likewise.
(invalidate, rehash_using_reg, invalidate_for_call): Likewise.
(find_best_addr, record_jump_cond, cse_insn): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6431
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 25 Jan 1994 00:33:14 +0000 (00:33 +0000)]
(store_split_bit_field): Reject gen_lowpart_common
output if it returns the input value.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6430
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 25 Jan 1994 00:24:18 +0000 (00:24 +0000)]
(store_split_bit_field): For BYTES_BIG_ENDIAN, only
pad on left if value not in memory.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6429
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Tue, 25 Jan 1994 00:19:48 +0000 (00:19 +0000)]
(copy_loop_body): When delete simplified condjump,
protect the label, so that it doesn't get deleted also.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6428
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Mon, 24 Jan 1994 23:59:48 +0000 (23:59 +0000)]
(compile_file): If yyparse returns an error, pop all
pending binding levels.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6427
138bc75d-0d04-0410-961f-
82ee72b054a4
dje [Mon, 24 Jan 1994 23:28:33 +0000 (23:28 +0000)]
#ifdef out uses of TypedStream for the alpha, not supported yet.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6426
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Mon, 24 Jan 1994 22:56:27 +0000 (22:56 +0000)]
(ADDRESS_COST): Define to 1.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6425
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Mon, 24 Jan 1994 22:55:49 +0000 (22:55 +0000)]
(sparc_address_cost): Delete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6424
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Mon, 24 Jan 1994 22:52:18 +0000 (22:52 +0000)]
(ASM_OUTPUT_NEWLINE): New default for new macro.
(ASM_OUTPUT_ASCII): Use ASM_OUTPUT_NEWLINE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6423
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Mon, 24 Jan 1994 22:51:58 +0000 (22:51 +0000)]
(ASM_OUTPUT_NEWLINE): Define new macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6422
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Mon, 24 Jan 1994 22:40:31 +0000 (22:40 +0000)]
(ASM_OUTPUT_COMMON): Don't output .global. Use SIZE not ROUNDED.
(ASM_OUTPUT_LOCAL): Delete.
(ASM_OUTPUT_ALIGNED_LOCAL): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6421
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 24 Jan 1994 01:11:18 +0000 (01:11 +0000)]
(find_reloads): Properly test for output operand when changing
RELOAD_FOR_OUTPUT_ADDRESS to RELOAD_FOR_INPUT_ADDRESS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6420
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Mon, 24 Jan 1994 00:40:58 +0000 (00:40 +0000)]
(subst, case SUBREG): Handle paradoxical SUBREG of constant.
(IF_THEN_ELSE): Add missing "else" and check for comparison before
calling reversible_comparison_p.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6419
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 23 Jan 1994 23:56:41 +0000 (23:56 +0000)]
(do_jump_for_compare): Initialize JUMP_LABEL for the branch insn
before trying to invert it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6418
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 23 Jan 1994 23:40:17 +0000 (23:40 +0000)]
(ASM_FILE_START): Delete; identical to one in bsd.h, which is
included.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6417
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 23 Jan 1994 23:39:56 +0000 (23:39 +0000)]
(PATH_SEPARATOR): New macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6416
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 23 Jan 1994 23:21:18 +0000 (23:21 +0000)]
Assume GAS 2.x used and add support for debugging.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6415
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 23 Jan 1994 14:11:44 +0000 (14:11 +0000)]
(output_init_elements): Use FIELD instead of constructor_fields when
doing alignment and sizing.
(output_pending_init_elements): Don't blow up when writing other than
first field put haven't written anything yet. Update
constructor_bit_index when we emit a skip.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6414
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 23 Jan 1994 13:13:51 +0000 (13:13 +0000)]
(rest_of_compilation): Defer compilation of function that were
specified as inline, whether or not they actually were inlined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6413
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 23 Jan 1994 12:30:50 +0000 (12:30 +0000)]
Initial revision
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6412
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 23 Jan 1994 12:30:31 +0000 (12:30 +0000)]
(OBJECT_FORMAT_COFF, EXTENDED_COFF, NM_FLAGS): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6411
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 23 Jan 1994 12:00:29 +0000 (12:00 +0000)]
(simplify_comparison): Can remove NOT on both operands if we swap
comparison code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6410
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 23 Jan 1994 11:35:39 +0000 (11:35 +0000)]
Insert some missing blank lines.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6409
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 23 Jan 1994 11:22:46 +0000 (11:22 +0000)]
(output_{pro,epi}log): Use assemble_name to output
alpha_function_name.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6408
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 23 Jan 1994 11:18:50 +0000 (11:18 +0000)]
(simplify_comparison): Fix typo in last change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6407
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sun, 23 Jan 1994 10:59:15 +0000 (10:59 +0000)]
(really_start_incremental_init): Save current elements instead of
clearing them.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6406
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 22 Jan 1994 22:18:10 +0000 (22:18 +0000)]
(c_expand_return): Issue a warning if returning address of non-static
local object.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6405
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 22 Jan 1994 21:50:41 +0000 (21:50 +0000)]
(if_then_else_cond): Don't do anything with COMPARE.
(simplify_comparison): Strip SIGN_EXTEND, NOT, or NEG when both operands
have it.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6404
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Sat, 22 Jan 1994 20:50:06 +0000 (20:50 +0000)]
(num_sign_bit_copies): Ifndef WORD_REGISTER_OPERATIONS, ensure we
don't do the wrong thing if X is narrower than MODE.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6403
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 20 Jan 1994 06:08:37 +0000 (06:08 +0000)]
* pa.h (ASM_OUTPUT_SOURCE_LINE): Make the first source
line stab for each procedure special to avoid the need
for nasty hacks in GAS.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6402
138bc75d-0d04-0410-961f-
82ee72b054a4
law [Thu, 20 Jan 1994 06:05:32 +0000 (06:05 +0000)]
* pa.md (iorscc): Fix typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6401
138bc75d-0d04-0410-961f-
82ee72b054a4
tege [Thu, 20 Jan 1994 00:34:47 +0000 (00:34 +0000)]
(ASM_GLOBALIZE_LABEL): Don't globalize function labels here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6400
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Mon, 17 Jan 1994 21:37:52 +0000 (21:37 +0000)]
(xcoffout_begin_block): Don't emit a .bb for the
function level scope.
(xcoffout_end_block): Don't emit a .eb for the function level
scope.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6399
138bc75d-0d04-0410-961f-
82ee72b054a4
rms [Sun, 16 Jan 1994 19:31:08 +0000 (19:31 +0000)]
Delete duplicate clauses for hp9k2... and hp9k31...
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6398
138bc75d-0d04-0410-961f-
82ee72b054a4
rms [Sun, 16 Jan 1994 19:30:01 +0000 (19:30 +0000)]
Alphabetize the list of machine-name aliases.
Add nh3000 and nh[45]000.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6397
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Sat, 15 Jan 1994 23:44:42 +0000 (23:44 +0000)]
(smulsi3_highpart): New pattern.
(umulsi3_highpart): New pattern.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6396
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Sat, 15 Jan 1994 23:06:17 +0000 (23:06 +0000)]
(smulsi3_highpart): New pattern.
(umulsi3_highpart): New pattern.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6395
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Thu, 13 Jan 1994 23:54:09 +0000 (23:54 +0000)]
Add 64 bit support.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6394
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Thu, 13 Jan 1994 23:52:43 +0000 (23:52 +0000)]
(cpu): Add r4600.
(define_function_unit): Correct numerous errors. Add r4600.
(adddi3*, subdi3*, mulsidi3, umulsidi3, negdi2*, one_cmpdl2*,
nordi2*, anddi2*, iordi3*, xordi3*, movdi*, ashldi3*, ashrdi3*,
lshrdi3*, seq, sne, sgt, sge, slt, sle, sgtu, sgeu, sltu, sleu,
indirect_jump, tablejump, call*, call_value*): Add 64 bit support.
(adddi3_internal_3, addsi3_internal_2, subdi3_internal_3,
subsi3_internal_2, muldi3, muldi3_internal, divmoddi4, udivmoddi4,
divdi3, moddi3, udivdi3, umoddi3, absdi3, ffsdi2,
negdi2_internal_2, anddi3_internal1, xordi3_immed, truncdisi2,
truncdihi2, truncdiqi2, zero_extendsidi2,
zero_extendsidi2_interal, zero_extendhidi2, zero_extendqidi2,
extendsidi2, extendhidi2, extendhidi2_internal, extendqidi2,
extendqidi2_insn, fix_truncdfdi2, fix_truncsfdi2, floatdidf2,
floatdisf2, fixuns_truncdfdi2, fixuns_truncdfsi2,
ashldi3_internal4, ashrdi3_internal_4, lshrdi3_internal4, cmpdi,
tstdi, branch_zero_di, branch_equality_di, seq_di_zero, seq_di,
sne_di_zero, sne_di, sgt_di, sge_di, slt_di, sle_di_const,
sle_di_reg, sgtu_di, sgeu_di, sltu_di, sleu_di_const, sleu_di_reg,
indirect_jump_internal1, indirect_jump_internal2,
tablejump_internal1, tablejump_internal2): New patterns.
(mulsi3): Add missing mips_move_1word parameter.
(mulsi3+1): Don't split on r4000.
(divmodsi4, udivmodsi4, udivsi3, umodsi3): Correct lengths.
(divsi3, modsi3, udivsi3, umodsi3): Allow constant operands.
(sqrtdf2, sqrtsf2): Correct type attribute.
(abssi2): Add mips2 support.
(movsi_unaligned, movsi_ulw, movsi_usw): Comment out.
(movsf, movdf): Use F not E.
(cmpdf, cmpsf, branch_fp*, s{eq,ne,lt,le,gt,ge}_[ds]f): Depend on
TARGET_HARD_FLOAT.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6393
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Thu, 13 Jan 1994 23:51:54 +0000 (23:51 +0000)]
(enum cmp_type): Add 64 bit support.
(enum processor_type): Add PROCESSOR_R4600.
(MASK_64BIT, TARGET_64BIT): New mask bit, to indicate 64 bit mode.
(HAVE_64BIT_P, OPTIMIZATION_OPTIONS): Delete.
(CPP_SPEC): Don't abort if not defined.
(CC1_SPEC): -mips1 and -mips2 imply -mfp32. -mips3 implies -mfp64.
(CPP_SPEC): Define __SIZE_TYPE__, __PTRDIFF_TYPE__, and __mips.
(BITS_PER_WORD, UNITS_PER_WORD, INT_SIZE_TYPE, LONG_TYPE_SIZE,
LONG_LONG_TYPE_SIZE, POINTER_SIZE, POINTER_BOUNDARY,
PARM_BOUNDARY, EMPTY_FIELD_BOUNDARY, HARD_REGNO_NREGS,
CONST_OK_FOR_LETTER_P, STACK_ARGS_ADJUST, FUNCTION_PROFILER,
TRAMPOLINE_TEMPLATE, TRAMPOLINE_SIZE, TRAMPOLINE_ALIGNMENT,
INITIALIZE_TRAMPOLINE, CASE_VECTOR_MODE, MOVE_MAX,
TRULY_NOOP_TRUNCATION, Pmode, FUNCTION_MODE,
ASM_OUTPUT_ADDR_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT,
ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Add 64 bit support.
(MAX_BITS_PER_WORD, MAX_UNITS_PER_WORD, UNITS_PER_FPREG,
MAX_INT_TYPE_SIZE, MAX_WCHAR_TYPE_SIZE, MAX_LONG_TYPE_SIZE,
MAX_MOVE_MAX): Define.
(INDEX_REG_CLASS): NO_REGS not GR_REGS.
(CONST_DOUBLE_OK_FOR_LETTER_P): Don't examine CONST_DOUBLE
internals.
(PREFERRED_RELOAD_CLASS): Return CLASS if it isn't ALL_REGS.
(TRANSFER_FROM_TRAMPOLINE, ASM_OUTPUT_CASE_LABEL): Delete.
(REGNO_OK_FOR_INDEX_P, REG_OK_FOR_INDEX_P): Redefine to 0.
(GO_IF_LEGITIMATE_ADDRESS): Delete redundant code0 == REG test.
(ENCODE_SECTION_INFO): Don't test mips_section_threshold.
(CONST_COSTS): CONST_INT have cost 0 not CONSTS_N_INSNS (0). Pass
address not MEM to eliminate_constant_term. Add 64 bit support.
(MEMORY_MOVE_COST, ASM_OUTPUT_DOUBLE_INT): Define.
(EXTRA_SECTIONS): Delete in_last_p1.
(SELECT_RTX_SECTION): Delete division by BITS_PER_UNIT.
(NO_BUILTIN_SIZE_TYPE, NO_BUILTIN_PTRDIFF_TYPE): Define.
(SIZE_TYPE, PTRDIFF_TYPE): Add 64 bit support.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6392
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Thu, 13 Jan 1994 23:51:01 +0000 (23:51 +0000)]
(dfhigh, dflow, sfhigh, sflow): New variables.
(mips_sw_reg_names): Consistently use $ as name prefix.
(large_int): Handle 64 bit constants.
(reg_or_0_operand, mips_const_double_ok): Don't examine
CONST_DOUBLE internals.
(mips_const_double_ok): Use REAL_VALUE_* macros.
(simple_memory_operand): Add 64 bit support. Only test
TARGET_GP_OPT to determine if doing gp optimizations. Pass
address not MEM to eliminate_constant_term. Use SMALL_INT.
(mips_fill_delay_slot): Add 64 bit support.
(mips_move_1word): Add 64 bit support. Don't examine CONST_DOUBLE
internals.
(mips_move_2words): Likewise.
(mips_address_cost): Pass address not MEM to
eliminate_constant_term. Use SMALL_INT.
(gen_int_relational): New variable mode. Add 64 bit support.
(gen_conditional_branch): Add 64 bit support.
(block_move_load_store, block_move_loop, block_move_call,
expand_block_move, output_block_move, function_arg_advance,
function_arg, function_arg_partial_nregs): Likewise.
(override_options): Clear MASK_GPOPT if threshold is zero or
negative. Set MASK_GPOPT if optimizing. Set mips_isa from -misa=
option, else from MIPS_ISA_DEFAULT if defined, else to 1. Make
default cpu depend on isa. Add cpus r4400, r4600, orion. Rewrite
TARGET_NAME_REGS support. Initialize dfhigh, dflow, sfhigh,
sflow. Add 64 bit support.
(print_operand): Use REAL_VALUE_* macros.
(mips_output_external): Don't depend on mips_section_threshold.
(make_temp_file): Define P_tmpdir when __MSDOS__. Malloc filename
string. Don't unlink temp file when __MSDOS__.
(mips_asm_file_start): Delete TARGET_NAME_REGS support.
(mips_asm_file_end): Unlike temp file when __MSDOS__.
(mips_declare_object): Don't test mips_sections_threshold.
(compute_frame_size, save_restore_insns, function_prologue,
mips_expand_prologue, function_epilogue, mips_expand_epilogue):
Add 64 bit support.
(function_epilogue): Correctly output `#' before .set volatile.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6391
138bc75d-0d04-0410-961f-
82ee72b054a4
wilson [Thu, 13 Jan 1994 23:49:58 +0000 (23:49 +0000)]
(CPP_SPEC): Define __SIZE_TYPE__, __PTRDIFF_TYPE__, and
__mips.
(SIZE_TYPE, PTRDIFF_TYPE): Delete.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6390
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 13 Jan 1994 11:14:08 +0000 (11:14 +0000)]
(maybe_attribute): Allow multiple __attribute__ clauses on a
declaration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6389
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 13 Jan 1994 11:00:57 +0000 (11:00 +0000)]
(REG_CLASS_CONTENTS): Fix problems with last word of register set in
some classes.
(MEMORY_MOVE_COST): New macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6388
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Thu, 13 Jan 1994 10:42:24 +0000 (10:42 +0000)]
Fix typo in -hiux* case.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6387
138bc75d-0d04-0410-961f-
82ee72b054a4
bothner [Wed, 12 Jan 1994 21:30:12 +0000 (21:30 +0000)]
* dbxout.c (dbxout_range_type): If the range has a base type
(TREE_TYPE), emit it, even if that is some other integer type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6386
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 12 Jan 1994 11:02:09 +0000 (11:02 +0000)]
(sqrtsf2, sqrtdf2): Change POWERPCSQR to PPCFPX.
(maxsf3, minsf3, maxdf3, mindf3): New patterns using fsel instruction.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6385
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 12 Jan 1994 11:00:25 +0000 (11:00 +0000)]
(MASK and TARGET): Change POWERPCSQR to PPCFPX to describe both fsqrt
and fsel.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6384
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 12 Jan 1994 10:59:49 +0000 (10:59 +0000)]
(rs6000_override_options): Change POWERPCSQR to PPCFPX.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6383
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 12 Jan 1994 00:18:43 +0000 (00:18 +0000)]
(output_prolog): Update debug reg map when we have -mkernel-registers.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6382
138bc75d-0d04-0410-961f-
82ee72b054a4
kenner [Wed, 12 Jan 1994 00:14:18 +0000 (00:14 +0000)]
(fold, truth_andor): Don't apply distributive law when it would change
evaluation order.
Clean up code a bit to improve flow.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@6381
138bc75d-0d04-0410-961f-
82ee72b054a4