Commit Graph

5488 Commits

Author SHA1 Message Date
Richard Stallman
e26ceb2843 (yylex): Handle i together with f or l in float constant.
From-SVN: r5501
1993-09-28 01:02:31 +00:00
Richard Stallman
2da63e2ae0 (stamp-bcopname, stamp-bcopcode, stamp-bcarity): Don't rm the .h files.
(STAGESTUFF): Add some bc and bi files.

From-SVN: r5500
1993-09-28 00:55:51 +00:00
Paul Eggert
7dce5088a7 (output_quoted_string): New function.
(output_file_directive): Quote special characters in file names.

From-SVN: r5499
1993-09-28 00:23:58 +00:00
Paul Eggert
6767265cea (DBX_OUTPUT_MAIN_SOURCE_DIRECTORY, DBX_OUTPUT_MAIN_SOURCE_FILENAME):
Quote special characters in file names.
(DBX_OUTPUT_MAIN_SOURCE_FILE_END): Likewise.

From-SVN: r5498
1993-09-28 00:23:58 +00:00
Paul Eggert
7b1e82724a (ASM_FILE_START): Quote special characters in file names.
From-SVN: r5497
1993-09-28 00:23:58 +00:00
Paul Eggert
73e2c65036 (DBX_OUTPUT_MAIN_SOURCE_DIRECTORY, DBX_OUTPUT_MAIN_SOURCE_FILENAME):
Quote special characters in file names.

From-SVN: r5496
1993-09-28 00:23:58 +00:00
Paul Eggert
d4018fbf22 (FILE_NAME_JOINER): Default is "/".
(dbxout_init, dbxout_source_file): Quote special characters in file names.

From-SVN: r5495
1993-09-28 00:23:58 +00:00
Paul Eggert
99107e86f7 (mips_output_filename): Quote special characters in file names.
From-SVN: r5494
1993-09-28 00:23:58 +00:00
Paul Eggert
f40176b103 (ASM_OUTPUT_SOURCE_FILENAME): Quote special characters in file names.
From-SVN: r5493
1993-09-28 00:23:58 +00:00
Richard Stallman
a1c3672f12 (xrealloc): Handle 0 passed as BLOCK.
From-SVN: r5492
1993-09-27 23:56:36 +00:00
Richard Stallman
cd7fd6820c (stamp-bcopname, stamp-bcopcode, stamp-bcarity):
Renamed from stamp-bc-... to fit in 14 chars.

From-SVN: r5491
1993-09-27 23:53:27 +00:00
Ian Lance Taylor
9e7270cda3 If NO_BUILTIN_SIZE_TYPE defined, don't refer to SIZE_TYPE.
Likewise for PTRDIFF_TYPE

From-SVN: r5490
1993-09-27 23:01:26 +00:00
Richard Stallman
572ca60a63 (eliminate_regs, SET case): Check for INSN_LIST along with EXPR_LIST.
From-SVN: r5489
1993-09-27 22:59:53 +00:00
Kresten Krab Thorup
3ac2f5d2ae (objc_read_object): Added declaration.
From-SVN: r5488
1993-09-27 21:28:23 +00:00
Jan Brittenson
de7d93205e (bc_expand_constructor): Delete cast of argument to bc_emit_instruction to HOST_WIDE_INT.
(bc_expand_constructor): Delete cast of argument to
bc_emit_instruction to HOST_WIDE_INT. Move assignment of ptroffs to
separate line.

From-SVN: r5487
1993-09-27 11:21:32 -07:00
Doug Evans
b92a98fde5 Makefile.in (stmt.o, [...]): Add missing dependency on bc-typecd.def.
* Makefile.in (stmt.o, expr.o, emit-rtl.o): Add missing dependency
on bc-typecd.def.
(bi-run.o): Fix formatting.

From-SVN: r5486
1993-09-27 14:32:08 +00:00
Jan Brittenson
bd7b47c7d6 (bi-arity.h, bc-opcode.h, bc-opname.h): Use move-if-changed.
(stamp-bc-arity, stamp-bc-opcode, stamp-bc-opname): New targets.

From-SVN: r5485
1993-09-27 07:26:19 -07:00
Jeff Law
c83eb049b8 pa.h (ASM_FILE_START): Remove last change for $LIT$ subspace, not all HPUX linkers handle it correctly.
* pa.h (ASM_FILE_START): Remove last change for $LIT$ subspace,
	not all HPUX linkers handle it correctly.

From-SVN: r5484
1993-09-26 21:10:56 -06:00
Richard Stallman
c3a2235b61 (expand_exit_loop_if_false, bc_expand_start_cond):
Use xjumpifnot, not jumpifnot.

From-SVN: r5483
1993-09-27 02:52:15 +00:00
Richard Stallman
04b2d6f5b2 (bc_gen_rtx): Call gen_rtx.
(bc_print_rtl): #if 0 the contents.

From-SVN: r5482
1993-09-27 01:37:21 +00:00
Richard Stallman
673bc773d3 (expand_expr, case COND_EXPR): Set MEM_IN_STRUCT_P properly for TEMP.
From-SVN: r5481
1993-09-27 01:25:54 +00:00
Richard Stallman
258a0dd497 (bi-arity, bi-opcode, bi-opname): Delete $(LEXLIB).
From-SVN: r5480
1993-09-27 01:07:59 +00:00
Richard Stallman
d5896f2021 (assemble_string): Put braces around ASM_OUTPUT_ASCII.
From-SVN: r5479
1993-09-27 00:51:55 +00:00
Jan Brittenson
a773f6c7e6 Add space before opening paren in function calls.
From-SVN: r5478
1993-09-26 13:59:41 -07:00
Richard Kenner
9a63901fb7 Use WORD_REGISTER_OPERATION and LOAD_EXTEND_OP and delete
BYTE_LOADS_{SIGN,ZERO}_EXTEND.

From-SVN: r5477
1993-09-25 08:29:59 -04:00
Richard Kenner
e90d3cbbcd (eliminate_regs): Use new macros LOAD_EXTEND_OP and WORD_REGISTER_OPERATION...
(eliminate_regs): Use new macros LOAD_EXTEND_OP and
WORD_REGISTER_OPERATION instead of BYTE_LOADS_*_EXTEND and
LOAD_EXTEND.

From-SVN: r5476
1993-09-25 08:23:21 -04:00
Richard Kenner
09bf025089 (push_reload...
(push_reload, find_reloads): Use new macros LOAD_EXTEND_OP and
WORD_REGISTER_OPERATION instead of BYTE_LOADS_*_EXTEND and
LOAD_EXTEND.

From-SVN: r5475
1993-09-25 08:22:29 -04:00
Richard Kenner
ad92c8260e (do_store_flag): Use new macros LOAD_EXTEND_OP and WORD_REGISTER_OPERATION...
(do_store_flag): Use new macros LOAD_EXTEND_OP and
WORD_REGISTER_OPERATION instead of BYTE_LOADS_*_EXTEND and
LOAD_EXTEND.

From-SVN: r5474
1993-09-25 08:21:34 -04:00
Richard Kenner
8baf60bbb8 (BYTE_LOADS_EXTEND, LOAD_EXTEND): Deleted.
(subst, force_to_mode, nonzero_bits, num_sign_bit_copies): Use new
macros LOAD_EXTEND_OP and WORD_REGISTER_OPERATION instead of
BYTE_LOADS_*_EXTEND and LOAD_EXTEND.

From-SVN: r5473
1993-09-25 08:20:33 -04:00
Richard Stallman
eb862a3735 Fix typo in last change.
From-SVN: r5472
1993-09-25 12:15:25 +00:00
Jan Brittenson
0750ef95e4 (bi-lexer): Deleted.
(bi-lexer.l): Deleted.

From-SVN: r5471
1993-09-25 03:22:53 -07:00
Jan Brittenson
6a94387ce7 Initial revision
From-SVN: r5470
1993-09-25 03:17:32 -07:00
Doug Evans
1e513cfbd6 * stupid.c: (stupid_find_reg): never use HARD_FRAME_POINTER_REGNUM.
From-SVN: r5469
1993-09-24 19:56:27 +00:00
Doug Evans
a35ad16891 stmt.c: (expand_goto): Set hard_frame_pointer_rtx when restoring the frame.
* stmt.c: (expand_goto): Set hard_frame_pointer_rtx when restoring
the frame.  Use it when restoring other registers.
(expand_end_bindings): ARG_POINTER_REGNUM will be eliminated into
HARD_FRAME_POINTER_REGNUM, not FRAME_POINTER_REGNUM; adjust code accordingly.

From-SVN: r5468
1993-09-24 19:56:05 +00:00
Doug Evans
d8a0edf4b4 sdbout.c: (sdbout_symbol): Use HARD_FRAME_POINTER_REGNUM instead of FRAME_POINTER_REGNUM.
* sdbout.c: (sdbout_symbol): Use HARD_FRAME_POINTER_REGNUM instead of
FRAME_POINTER_REGNUM.

From-SVN: r5467
1993-09-24 19:55:19 +00:00
Doug Evans
cd0ca9ad6d sched.c: (memrefs_conflict_p): We can work out whether references via...
* sched.c: (memrefs_conflict_p): We can work out whether references
via hard_frame_pointer_rtx are likely to conflict.
(attach_deaths, case REG): Don't add death notes for
HARD_FRAME_POINTER_REGNUM.

From-SVN: r5466
1993-09-24 19:54:46 +00:00
Doug Evans
b3b6c9b3f3 rtlanal.c: (rtx_unstable_p): HARD_FRAME_POINTER_REGNUM is not an unstable register.
* rtlanal.c: (rtx_unstable_p): HARD_FRAME_POINTER_REGNUM is not
an unstable register.
(rtx_varies_p, case REG): hard_frame_pointer_rtx is invariant.
(rtx_addr_can_trap_p, case REG): hard_frame_pointer_rtx won't trap.

From-SVN: r5465
1993-09-24 19:54:09 +00:00
Doug Evans
b07ff75d63 reorg.c: (mark_referenced_resource): if frame_pointer_needed...
* reorg.c: (mark_referenced_resource): if frame_pointer_needed,
HARD_FRAME_POINTER_REGNUM is also a referenced resource.
(mark_target_live_regs): value in HARD_FRAME_POINTER_REGNUM is not
call-clobbered.
(dbr_schedule): HARD_FRAME_POINTER_REGNUM should be valid at the
end of a function.

From-SVN: r5464
1993-09-24 19:53:15 +00:00
Doug Evans
3ec2ea3e1d reload1.c: (init_reload): use HARD_FRAME_POINTER_REGNUM instead of FRAME_POINTER_REGNUM.
* reload1.c: (init_reload): use HARD_FRAME_POINTER_REGNUM instead of
FRAME_POINTER_REGNUM.
(reload): Only prohibit elimination of HARD_FRAME_POINTER_REGNUM, not
FRAME_POINTER_REGNUM if frame_pointer_needed.  Never prohibit
elimination of FRAME_POINTER_REGNUM into HARD_FRAME_POINTER_REGNUM.
Mark HARD_FRAME_POINTER_REGNUM as live at the start of a block if
it is still needed after elimination.
(eliminate_regs): For non-local goto's, don't delete stores into the
hard frame pointer.
(eliminate_regs_in_insn): adjust comment.
(mark_not_eliminable): if frame_pointer_rtx and hard_frame_pointer_rtx
are not the same, then frame_pointer_rtx is eliminable;
hard_frame_pointer_rtx never is if it is set..
(order_regs_for_reload): HARD_FRAME_POINTER_REGNUM is a bad spill reg.
(choose_reload_regs): HARD_FRAME_POINTER_REGNUM is a bad choice.

From-SVN: r5463
1993-09-24 19:51:49 +00:00
Doug Evans
a36d4c6259 reload.c: (immune_p): Constants never overlap hard frame pointer references.
* reload.c: (immune_p): Constants never overlap hard frame pointer references.
(find_reloads_address): Compute invalid references to the hard
frame pointer in a register; also (reg + const)
and (reg + reg + const).

From-SVN: r5462
1993-09-24 19:50:44 +00:00
Doug Evans
6fa4004a0c * loop.c: (invariant_p, case REG): hard_frame_pointer_rtx is invariant.
From-SVN: r5461
1993-09-24 19:49:57 +00:00
Doug Evans
c2618f0522 local-alloc.c: (find_free_reg): Make sure we will always be able to eliminate...
* local-alloc.c: (find_free_reg): Make sure we will always be able
to eliminate FRAME_POINTER_REGNUM into HARD_FRAME_POINTER_REGNUM.

From-SVN: r5460
1993-09-24 19:49:18 +00:00
Doug Evans
cbe23927aa jump.c: (thread_jumps): Value in HARD_FRAME_POINTER_REGNUM is never modified by a call.
* jump.c: (thread_jumps): Value in HARD_FRAME_POINTER_REGNUM is never
modified by a call.

From-SVN: r5459
1993-09-24 19:46:12 +00:00
Doug Evans
7b0957a710 global.c: (global_alloc): Make sure that it is always possible to eliminate...
* global.c: (global_alloc): Make sure that it is always possible to
eliminate FRAME_POINTER_REGNUM into HARD_FRAME_POINTER_REGNUM.

From-SVN: r5458
1993-09-24 19:45:44 +00:00
Doug Evans
e408ec3591 * genattrtab.c (hard_frame_pointer_rtx): New Dummy definition.
From-SVN: r5457
1993-09-24 19:43:43 +00:00
Doug Evans
b37f453b2a function.c: (instantiate_virtual_regs_1...
* function.c: (instantiate_virtual_regs_1, case MEM): references to
MEM via the hard frame pointer shouldn't be copied.

From-SVN: r5456
1993-09-24 19:42:16 +00:00
Doug Evans
73a187c146 flow.c: (life_analysis): Mark HARD_FRAME_POINTER_REGNUM as live at the end of the function.
* flow.c: (life_analysis): Mark HARD_FRAME_POINTER_REGNUM as live at
the end of the function.
(insn_dead_p): Don't delete insns that set the hard frame pointer.
(mark_set_1): Don't add death information about
HARD_FRAME_POINTER_REGNUM.
(mark_used_regs, case REG): Don't put HARD_FRAME_POINTER_REGNUM in
regs_ever_live.  Don't mark it as needed either.
* function.c: (instantiate_virtual_regs_1, case MEM): references to
MEM via the hard frame pointer shouldn't be copied.

From-SVN: r5455
1993-09-24 19:40:36 +00:00
Doug Evans
11c50c5efd * explow.c: (copy_all_regs): Don't copy HARD_FRAME_POINTER_REGNUM.
From-SVN: r5454
1993-09-24 19:39:56 +00:00
Doug Evans
ac6f08b075 emit-rtl.c: (hard_frame_pointer_rtx): New variable.
* emit-rtl.c: (hard_frame_pointer_rtx): New variable.
(gen_rtx): return hard_frame_pointer_rtx if generating rtl
for HARD_FRAME_POINTER_REGNUM.
(enit_emit_once): Generate initial rtl for hard_frame_pointer_rtx.

From-SVN: r5453
1993-09-24 19:39:25 +00:00
Doug Evans
804f56d8d9 dbxout.c: (dbxout_symbol): FRAME_POINTER_REGNUM has been eliminated by now...
* dbxout.c: (dbxout_symbol): FRAME_POINTER_REGNUM has been eliminated
by now, use HARD_FRAME_POINTER_REGNUM.

From-SVN: r5452
1993-09-24 19:38:51 +00:00