Commit Graph

7698 Commits

Author SHA1 Message Date
Torbjorn Granlund
80225b66a6 (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.

From-SVN: r7411
1994-06-01 00:38:18 +00:00
Jim Wilson
e65f61cfe4 (dbxout_type): Always emit cross-references if
use_gnu_debug_info_extensions set.

From-SVN: r7410
1994-05-31 17:23:46 -07:00
Jim Wilson
b2526fe621 (output_source_line): Call xcoffout_source_line.
From-SVN: r7409
1994-05-31 17:23:08 -07:00
Jim Wilson
3fe49c0021 (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.

From-SVN: r7408
1994-05-31 17:22:08 -07:00
Jim Wilson
9459d8f57e (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.

From-SVN: r7407
1994-05-31 17:21:39 -07:00
Jim Wilson
2d98fe23f4 (copy_loop_body): Copy CALL_INSN_FUNCTION_USAGE field.
From-SVN: r7406
1994-05-31 17:17:00 -07:00
Jim Wilson
b877b5ab3e (ASM_SPEC): Don't pass -k when -pg or -p given.
(OVERRIDE_OPTIONS): Warn when disabling -fpic.

From-SVN: r7405
1994-05-31 17:04:46 -07:00
Jim Wilson
6ba295268b (print_global_hdr): Remove "l" from printf format for flags.
(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.

From-SVN: r7404
1994-05-31 16:58:03 -07:00
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