Commit Graph

7390 Commits

Author SHA1 Message Date
Jim Wilson
3c2eb9e1db (PUT_SDB_TYPE): Adjust value for compatibility with GNU960 toolchain.
From-SVN: r7403
1994-05-31 16:54:27 -07:00
Jim Wilson
54a53d8cf5 New file.
From-SVN: r7402
1994-05-31 16:37:39 -07:00
Jim Wilson
9ee6230c93 (LIB_SPEC): Don't link in /usr/lib/bb_link.o with -a.
(CONDITIONAL_REGISTER_USAGE): When -a, make %g1 and %g2 fixed.

From-SVN: r7401
1994-05-31 16:32:03 -07:00
Doug Evans
e648e0e387 (main): -MG doesn't make sense with -MD or -MMD!
From-SVN: r7400
1994-05-31 23:31:48 +00:00
Torbjorn Granlund
b16656f641 (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.

From-SVN: r7399
1994-05-31 23:17:21 +00:00
Doug Evans
22d7456253 (v_pedwarn_with_decl): Don't even issue warnings from
pedantic errors in system header files.

From-SVN: r7398
1994-05-31 23:15:01 +00:00
Richard Kenner
2bee044942 (extendqidi2, extendqisi2, extendqihi2): Remove non-existent lba instruction.
(ashrdi3): Undo previous change.

From-SVN: r7397
1994-05-31 17:16:25 -04:00
Jason Merrill
7efad3f776 (lang_options): Add -f{no-,}implicit-templates.
(compile_file): Don't output SDB debugging info for
        externals.

From-SVN: r7396
1994-05-31 19:31:18 +00:00
Richard Kenner
ca800983cb (note_addr_stored): A SET or CLOBBER of a BLKmode MEM means that all
memory is clobbered.

From-SVN: r7395
1994-05-31 07:20:06 -04:00
Richard Kenner
058f58ed24 (expand_asm_operands): Make MEM with BLKmode for clobber of "memory".
From-SVN: r7394
1994-05-31 07:19:37 -04:00
Doug Evans
86739c7bb7 (print_deps_missing_files): New global.
(main): New argument -MG.  Treat missing include files as
generated files and output dependencies for them.

From-SVN: r7393
1994-05-30 18:01:10 +00:00
Doug Evans
256a105a30 (default_compilers): Pass -MG to cpp if present.
(option_map): New option --print-missing-file-dependencies/-MG.

From-SVN: r7392
1994-05-30 17:58:54 +00:00
Richard Kenner
44f51d4ad5 (expand_float): Fix error in last change.
From-SVN: r7391
1994-05-30 12:38:00 -04:00
Richard Kenner
3537b3d406 Disable code that manages gcc.ifile.
From-SVN: r7390
1994-05-30 10:42:01 -04:00
Richard Kenner
82bb0dd1e4 (PREFERRED_DEBUGGING_TYPE): Define as SDB_DEBUG.
From-SVN: r7389
1994-05-30 10:41:31 -04:00
Richard Kenner
84f9b8e9b8 (significand_size): Declare.
From-SVN: r7388
1994-05-30 10:35:44 -04:00
Richard Kenner
8ddae3488d (significand_size): New function.
From-SVN: r7387
1994-05-30 10:34:11 -04:00
Richard Kenner
a48fb61b5b (expand_float): Avoid double-rounding when float is is narrower than
int.

From-SVN: r7386
1994-05-30 10:33:41 -04:00
Richard Kenner
344a822046 (jump_optimize): When deleting unneeded stack adjusts or mem-mem
copies, use delete_computation.

From-SVN: r7385
1994-05-29 16:24:15 -04:00
Richard Kenner
180b8e4bf1 (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.

From-SVN: r7384
1994-05-29 16:03:08 -04:00
Richard Kenner
31001f7228 (volatile_insn_p): Call ourselves in recursive scan.
From-SVN: r7383
1994-05-29 15:58:14 -04:00
Richard Kenner
9d4e73d622 (init...
(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.

From-SVN: r7382
1994-05-28 22:44:55 -04:00
Richard Kenner
d3b35d7584 (expand_end_case): Have INDEX_TYPE track conversions done to
INDEX_EXPR.

From-SVN: r7381
1994-05-28 19:03:12 -04:00
Torbjorn Granlund
7d558bfe5f (call): Force address into register in non-symbol case.
(call_value): Likewise.

From-SVN: r7380
1994-05-28 10:25:01 +00:00
Doug Evans
7f21d440de toplev.c (compile_file): Call init_regs after `word_mode' is valid.
* 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.

From-SVN: r7379
1994-05-27 23:29:18 +00:00
Doug Evans
0304dfbb67 expr.c (use_reg): Fix recording of USE information.
* 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.

From-SVN: r7378
1994-05-27 23:27:50 +00:00
Richard Kenner
869c489d35 (RTX_COSTS): Update PPC603 and PPC604 values.
From-SVN: r7377
1994-05-27 18:18:17 -04:00
Richard Kenner
4371f8afce (zero_extendqidi2, zero_extendhidi2): Use rldicl instruction.
From-SVN: r7376
1994-05-27 18:17:52 -04:00
Richard Kenner
2b5c5d028f (DIR_SEPARATOR): New macro.
From-SVN: r7375
1994-05-27 17:56:04 -04:00
Richard Kenner
4326de0b25 (PCC_STATIC_STRUCT_RETURN): No longer defined.
From-SVN: r7374
1994-05-27 17:44:59 -04:00
Richard Kenner
e4c83b5283 Update to handle `ginclude' subdirectory when compiling libgcc2.
From-SVN: r7373
1994-05-27 17:36:47 -04:00
Richard Kenner
8c4ff866d8 (print_operand_address): print_operand_address creates PLUS-rtls for
internal use, so it has to handle them.

From-SVN: r7372
1994-05-27 17:30:31 -04:00
Richard Kenner
6ded32282b (find_reloads): Revert to old code and change secondary reloads to
RELOAD_FOR_OPERAND_ADDRESS too.

From-SVN: r7371
1994-05-27 16:47:01 -04:00
Richard Kenner
8080be5fdd (try_combine): Don't make complemented NOT for constant out of range.
From-SVN: r7370
1994-05-27 16:42:08 -04:00
Richard Kenner
d46f42a50a (iordi3): Rename ior_operand to or_operand.
(xordi3): Use or_operand and add second alternative.
(eqv): Only accept registers.

From-SVN: r7369
1994-05-27 16:38:54 -04:00
Richard Kenner
8395de26d0 (PREDICATE_CODES): Rename ior_operand to or_operand.
From-SVN: r7368
1994-05-27 16:38:07 -04:00
Richard Kenner
c7def335e7 (or_operand): Renamed from ior_operand.
From-SVN: r7367
1994-05-27 16:37:42 -04:00
Richard Kenner
ba6da62704 (assign_parms): Set REG_USERVAR_P when parm is passed by invisible
reference but can live in register.

From-SVN: r7366
1994-05-27 16:13:41 -04:00
Richard Kenner
d720b9d197 (expand_expr...
(expand_expr, case CONSTRUCTOR): If constant and large enough for
memcpy to be used, build constructor into static memory.

From-SVN: r7365
1994-05-27 14:56:31 -04:00
Richard Kenner
d0c84fdaa3 Add define_split for sign-extended PLUS of a MULT of an SImode
comparison.

From-SVN: r7364
1994-05-27 14:15:25 -04:00
Richard Kenner
7e4dc511b0 (simplify_comparison): Narrow comparison for AND's that are ZERO_EXTENDs.
Can widen for all comparisons if inputs are both sign extended.

From-SVN: r7363
1994-05-27 13:36:40 -04:00
Richard Kenner
5f40cc2da4 (reload_as_needed): Update spill_reg_order once we sort spill_regs.
From-SVN: r7362
1994-05-27 13:32:13 -04:00
Richard Kenner
fc0e5bd00e (local_alloc): Fix typo in last change.
From-SVN: r7361
1994-05-27 11:53:02 -04:00
Richard Kenner
5c72c15e2e Add define_split for sign-extended PLUS of an SImode comparison;
change comparison to DImode.

From-SVN: r7360
1994-05-27 07:26:20 -04:00
Richard Kenner
1b0cb6fc46 (expand_end_case): Use old type of INDEX_EXPR when making a constant.
From-SVN: r7359
1994-05-27 06:33:04 -04:00
Richard Kenner
3061cc5422 (requires_inout): Renamed from requires_inout_p and returns number of alternatives that require a match.
(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.

From-SVN: r7358
1994-05-27 06:27:03 -04:00
Richard Kenner
a6ba1470c2 (qty_sugg_compare_1): Fix typo in last change.
From-SVN: r7357
1994-05-27 06:16:16 -04:00
Richard Kenner
51b86d8b0d (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.

From-SVN: r7356
1994-05-27 06:03:04 -04:00
Richard Kenner
c03c471173 (jump_optimize): When looking for an `if' statement that takes two insns to compute a result using a temporary...
(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.

From-SVN: r7355
1994-05-26 18:58:47 -04:00
Richard Kenner
35bb77fd39 (CANONICALIZE_COMPARISON): New macro.
From-SVN: r7354
1994-05-26 18:49:06 -04:00