Commit Graph

6592 Commits

Author SHA1 Message Date
Richard Kenner
6db77abd9e (minsf3, maxdf3, mindf3): Properly insert constant of zero into
patterns.

From-SVN: r6455
1994-02-01 06:06:13 -05:00
Jim Wilson
bb562bfc33 (i960_function_name_declare): Handle names that start with '*'.
From-SVN: r6454
1994-01-31 17:55:18 -08:00
Jim Wilson
03217a8b98 (sched_analyze_insn): Add use dependencies for registers
mentioned in REG_DEAD notes.

From-SVN: r6453
1994-01-31 16:23:18 -08:00
Jim Wilson
80901ed818 New file.
From-SVN: r6452
1994-01-31 16:16:50 -08:00
Richard Kenner
eb711c86b3 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.

From-SVN: r6451
1994-01-31 19:13:20 -05:00
Jim Wilson
7ecd5f1a30 (priority): Call insn_cost() for anti- and output-
dependencies as well as for true dependencies.

From-SVN: r6450
1994-01-31 16:13:06 -08:00
Jim Wilson
f6516aeee4 (find_best_addr): Limit number of cse_gen_binary calls to
20 per iteration.

From-SVN: r6449
1994-01-31 16:02:12 -08:00
Richard Kenner
239b043b8a (emovo): Use separate variable for loop index.
From-SVN: r6448
1994-01-31 18:43:28 -05:00
Richard Kenner
7a75868d8e (operand_equal_for_comparison_p): Declare correct_width as unsigned.
From-SVN: r6447
1994-01-31 18:40:54 -05:00
Richard Kenner
4925f285c1 (cross-test, enquire, protoize, unprotoize): Specify program name in
-o to force into build directory.

From-SVN: r6446
1994-01-31 18:31:24 -05:00
Richard Kenner
bd7da539d5 (CPP_SPEC): Add -Dsun.
From-SVN: r6445
1994-01-31 18:16:45 -05:00
Jim Wilson
bacacd4dc4 (class_narrowest_mode, byte_mode, word_mode): Add
extern to declaration.

From-SVN: r6444
1994-01-31 14:25:21 -08:00
Jim Wilson
186f92ce97 (local_vars_size): Add extern to declaration.
From-SVN: r6443
1994-01-31 14:24:34 -08:00
Jim Wilson
cb1520bc9f (expand_units): When calculate BLOCKAGE, reverse terms to POS_MINUS_OP.
(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.

From-SVN: r6442
1994-01-31 12:43:02 -08:00
Jim Wilson
8cfaf7a7bb (TARGET_DEFFAULT): Add -mapp-regs.
From-SVN: r6441
1994-01-31 12:35:27 -08:00
Jim Wilson
34ad7aaf78 (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.

From-SVN: r6440
1994-01-31 12:34:58 -08:00
Jim Wilson
10a78a0a2a (TARGET_DEFAULT): Delete.
From-SVN: r6439
1994-01-31 12:34:29 -08:00
Jim Wilson
6cef330c37 (STARTFILE_SPEC): Include values-X[cta].o file in link.
From-SVN: r6438
1994-01-31 12:28:39 -08:00
Jim Wilson
9509444c68 (ASM_OUTPUT_LFE): Output absolute line number not
relative line number.

From-SVN: r6437
1994-01-31 12:19:28 -08:00
Richard Kenner
05ed5d57d9 (find_auto_inc): Check for increment using single_set.
From-SVN: r6436
1994-01-28 19:19:59 -05:00
Richard Kenner
b77dfefc0c (fsel): Remove insns with record bit set.
From-SVN: r6435
1994-01-28 19:11:02 -05:00
Richard Kenner
28c1753a1b (output_prolog): Fix typo in previous change.
From-SVN: r6434
1994-01-27 18:22:20 -05:00
Per Bothner
ca1f6b57bb * c-typeck.c (initializer_constant_valid_p): Make non-static.
From-SVN: r6433
1994-01-26 15:24:12 -08:00
Jim Wilson
5124001030 (attach_deaths_insn): Add REG_DEAD notes to CLOBBER if
it is for a MEM.

From-SVN: r6432
1994-01-26 10:56:51 -08:00
Richard Kenner
2197a88a8c (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.

From-SVN: r6431
1994-01-25 08:29:50 -05:00
Jim Wilson
bc8a0e39b7 (store_split_bit_field): Reject gen_lowpart_common
output if it returns the input value.

From-SVN: r6430
1994-01-24 16:33:14 -08:00
Jim Wilson
9033081d38 (store_split_bit_field): For BYTES_BIG_ENDIAN, only
pad on left if value not in memory.

From-SVN: r6429
1994-01-24 16:24:18 -08:00
Jim Wilson
648a09eed9 (copy_loop_body): When delete simplified condjump,
protect the label, so that it doesn't get deleted also.

From-SVN: r6428
1994-01-24 16:19:48 -08:00
Jim Wilson
453dfc7887 (compile_file): If yyparse returns an error, pop all
pending binding levels.

From-SVN: r6427
1994-01-24 15:59:48 -08:00
Doug Evans
ff942a9829 #ifdef out uses of TypedStream for the alpha, not supported yet.
From-SVN: r6426
1994-01-24 23:28:33 +00:00
Jim Wilson
a0a74fda8d (ADDRESS_COST): Define to 1.
From-SVN: r6425
1994-01-24 14:56:27 -08:00
Jim Wilson
cf9188c193 (sparc_address_cost): Delete.
From-SVN: r6424
1994-01-24 14:55:49 -08:00
Jim Wilson
d10b5bca4e (ASM_OUTPUT_NEWLINE): New default for new macro.
(ASM_OUTPUT_ASCII): Use ASM_OUTPUT_NEWLINE.

From-SVN: r6423
1994-01-24 14:52:18 -08:00
Jim Wilson
de74274fd2 (ASM_OUTPUT_NEWLINE): Define new macro.
From-SVN: r6422
1994-01-24 14:51:58 -08:00
Jim Wilson
b277ceaf60 (ASM_OUTPUT_COMMON): Don't output .global. Use SIZE not ROUNDED.
(ASM_OUTPUT_LOCAL): Delete.
(ASM_OUTPUT_ALIGNED_LOCAL): Define.

From-SVN: r6421
1994-01-24 14:40:31 -08:00
Richard Kenner
2d55b7e858 (find_reloads): Properly test for output operand when changing
RELOAD_FOR_OUTPUT_ADDRESS to RELOAD_FOR_INPUT_ADDRESS.

From-SVN: r6420
1994-01-23 20:11:18 -05:00
Richard Kenner
b65c1b5b01 (subst, case SUBREG): Handle paradoxical SUBREG of constant.
(IF_THEN_ELSE): Add missing "else" and check for comparison before
calling reversible_comparison_p.

From-SVN: r6419
1994-01-23 19:40:58 -05:00
Richard Kenner
127e4d19bd (do_jump_for_compare): Initialize JUMP_LABEL for the branch insn
before trying to invert it.

From-SVN: r6418
1994-01-23 18:56:41 -05:00
Richard Kenner
0d9ac0a81e (ASM_FILE_START): Delete; identical to one in bsd.h, which is
included.

From-SVN: r6417
1994-01-23 18:40:17 -05:00
Richard Kenner
3de59d54ce (PATH_SEPARATOR): New macro.
From-SVN: r6416
1994-01-23 18:39:56 -05:00
Richard Kenner
6c8c8a4b0d Assume GAS 2.x used and add support for debugging.
From-SVN: r6415
1994-01-23 18:21:18 -05:00
Richard Kenner
b5ff0f707c (output_init_elements): Use FIELD instead of constructor_fields when doing alignment and sizing.
(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.

From-SVN: r6414
1994-01-23 09:11:44 -05:00
Richard Kenner
16411ea68b (rest_of_compilation): Defer compilation of function that were specified as inline...
(rest_of_compilation): Defer compilation of function that were
specified as inline, whether or not they actually were inlined.

From-SVN: r6413
1994-01-23 08:13:51 -05:00
Richard Kenner
a62cc6e767 Initial revision
From-SVN: r6412
1994-01-23 07:30:50 -05:00
Richard Kenner
34fa88ab0b (OBJECT_FORMAT_COFF, EXTENDED_COFF, NM_FLAGS): Define.
From-SVN: r6411
1994-01-23 07:30:31 -05:00
Richard Kenner
ad25ba1779 (simplify_comparison): Can remove NOT on both operands if we swap
comparison code.

From-SVN: r6410
1994-01-23 07:00:29 -05:00
Richard Kenner
2f607b946a Insert some missing blank lines.
From-SVN: r6409
1994-01-23 06:35:39 -05:00
Richard Kenner
5b9589fe78 (output_{pro,epi}log): Use assemble_name to output
alpha_function_name.

From-SVN: r6408
1994-01-23 06:22:46 -05:00
Richard Kenner
67232b230e (simplify_comparison): Fix typo in last change.
From-SVN: r6407
1994-01-23 06:18:50 -05:00
Richard Kenner
5cb7368c66 (really_start_incremental_init): Save current elements instead of
clearing them.

From-SVN: r6406
1994-01-23 05:59:15 -05:00