Commit Graph

11479 Commits

Author SHA1 Message Date
Torbjorn Granlund
42b672ea31 (NOTICE_UPDATE_CC): Handle ZERO_EXTRACT destination.
From-SVN: r11617
1996-03-26 13:47:00 +00:00
Torbjorn Granlund
391186c572 (insv matcher): Call CC_STATUS_INIT.
From-SVN: r11616
1996-03-26 13:46:44 +00:00
Jason Merrill
6d7306f76e (expand_function_start): Don't set up context_display
unless current_function_needs_context.

From-SVN: r11615
1996-03-26 00:17:01 +00:00
Richard Kenner
65d8b1ce9f (fold, case BIT_IOR_EXPR): Recognize rotates with variable count.
From-SVN: r11614
1996-03-25 18:48:05 -05:00
Jim Wilson
fda924283f (libgcc1-test): Undo Feb 12 change.
From-SVN: r11613
1996-03-25 14:57:48 -08:00
Richard Kenner
06f5c9df49 (objc_mutex_unlock): Properly declare thread_id.
From-SVN: r11612
1996-03-25 08:09:26 -05:00
Richard Kenner
a39a7484b1 (negate_rtx): Don't try to negate a constant ourself; instead call
simplify_unary_operation.

From-SVN: r11611
1996-03-24 08:16:26 -05:00
Richard Kenner
3ef00709c6 (SWITCHES_NEED_SPACES): Change definition correspondingly.
From-SVN: r11610
1996-03-24 07:28:59 -05:00
Richard Kenner
bb9da76848 (process_command): Instead of hardcoding non-empty switches_need_spaces to turn on "o" and "L"...
(process_command): Instead of hardcoding non-empty
switches_need_spaces to turn on "o" and "L", make the string contain
the switches that need the spaces.

From-SVN: r11609
1996-03-24 07:28:21 -05:00
Richard Kenner
4498659c93 (bc_emit_instruction): Add missing va_end call.
From-SVN: r11608
1996-03-23 20:39:39 -05:00
Richard Kenner
7b1d6e6e16 (set_init_index): Check for use outside an array initializer.
From-SVN: r11607
1996-03-23 19:52:37 -05:00
Richard Kenner
06ed212d73 (LIB_SPEC): Always output -lmach.
From-SVN: r11606
1996-03-23 18:34:38 -05:00
Richard Kenner
3d3ff202b0 (ASM_OUTPUT_ADDR_DIFF_ELT): Don't define.
From-SVN: r11605
1996-03-23 18:25:32 -05:00
Richard Kenner
b33c316cf8 (ASM_OUTPUT_ADDR_DIFF_ELT): Delete.
From-SVN: r11604
1996-03-23 18:25:04 -05:00
Doug Evans
cf54c2cdf2 (make_extraction): In BITS_BIG_ENDIAN correction of POS, need to treat
MEM and REG differently.

From-SVN: r11603
1996-03-23 22:07:00 +00:00
Doug Evans
57b7e1bf86 sparc.md (*mov{qi,hi,si,di}_cc_sp64): Fix constraints.
* sparc/sparc.md (*mov{qi,hi,si,di}_cc_sp64): Fix constraints.
	(*mov{qi,hi,si,di}_cc_reg_sp64): Likewise.

From-SVN: r11602
1996-03-23 20:55:14 +00:00
Doug Evans
58cbf20e12 sparc.c (arith11_operand): Use SPARC_SIMM11_P.
* sparc/sparc.c (arith11_operand): Use SPARC_SIMM11_P.
	(arith10_operand): Use SPARC_SIMM10_P.

From-SVN: r11601
1996-03-23 20:54:48 +00:00
Doug Evans
18c5947fd3 sparc.h (SPARC_SIMM{10,11,13}_P): Define.
* sparc/sparc.h (SPARC_SIMM{10,11,13}_P): Define.
	(SMALL_INT): Use SPARC_SIMM13_P.
	(CONST_OK_FOR_LETTER_P): Support new letters L,M.

From-SVN: r11600
1996-03-23 20:54:21 +00:00
Richard Kenner
4b27ecd5ae (TRAMPOLINE_TEMPLATE): Correct first instruction.
From-SVN: r11599
1996-03-23 07:47:13 -05:00
Richard Kenner
004252d713 (build_array_ref): Give error if subscripting a function.
From-SVN: r11598
1996-03-23 07:07:23 -05:00
Mike Stump
909e536aa5 85th Cygnus<->FSF quick merge
From-SVN: r11597
1996-03-22 23:11:55 +00:00
Richard Kenner
c7b1ed2b88 (optimize_reg_copy_1): Only update reg_live_length if it is
non-negative.

From-SVN: r11596
1996-03-22 09:11:37 -05:00
Doug Evans
55e4428809 (os): sunos[3456] -> sunos[34], sunos[56] have their own entries
From-SVN: r11588
1996-03-21 23:26:26 +00:00
Mike Stump
fc37869868 85th Cygnus<->FSF quick merge
From-SVN: r11587
1996-03-21 19:46:11 +00:00
Doug Evans
2a27574812 (STARTFILE_SPEC,LINK_SPEC): Define.
From-SVN: r11586
1996-03-21 19:42:11 +00:00
Jim Wilson
dcb97651d7 (note_mem_written): Delete obsolete code for handling
(mem (scratch)).

From-SVN: r11585
1996-03-20 15:26:55 -08:00
Jim Wilson
1b2202b86d (mips_expand_prologue): In initialization of fnargs, delete
special treatment of METHOD_TYPE.

From-SVN: r11584
1996-03-20 14:20:11 -08:00
Doug Evans
304b7a23a0 sparc.c (fcc_reg_operand): Ensure correct mode.
* sparc/sparc.c (fcc_reg_operand): Ensure correct mode.
	(icc_or_fcc_reg_operand): Likewise.
	(gen_v9_scc): IF_THEN_ELSE must have a mode.
	(print_operand): New operand code `x' for all condition codes.
	New operand codes `c,d' for reversed conditional moves.
	* sparc/sparc.md (movqicc,movhicc): New named patterns.
	(movsicc,movdicc,movsfcc,movdfcc,movtfcc): Rewrite.
	(conditional move matchers): Rewrite.

From-SVN: r11583
1996-03-20 22:07:22 +00:00
Doug Evans
1cdbf242eb sparc.h (CPP_CPU_SPEC): Add v8plus entry.
* sparc/sparc.h (CPP_CPU_SPEC): Add v8plus entry.
	(ASM_CPU_SPEC): Likewise.

From-SVN: r11582
1996-03-20 22:05:49 +00:00
Doug Evans
11779f2717 sol2.h (ASM_CPU_SPEC): Recognize -mcpu=v8plus, not v9.
* sparc/sol2.h (ASM_CPU_SPEC): Recognize -mcpu=v8plus, not v9.
	Fix typo in ultrasparc entry.

From-SVN: r11581
1996-03-20 22:05:05 +00:00
Stan Cox
b73c3f2af5 (HARD_REGNO_MODE_OK): Relax QImode constraint to avoid a reload problem.
From-SVN: r11580
1996-03-20 21:19:14 +00:00
Jeff Law
c2827c50df pa.c (hppa_legitimize_address): Don't lose for x[n-const] when n-const will not be shifted.
* pa.c (hppa_legitimize_address): Don't lose for x[n-const]
        when n-const will not be shifted.  Don't pessimize code for
        x[n-const] when const is small.

From-SVN: r11579
1996-03-20 11:15:13 -07:00
Richard Kenner
66795cc713 (LIB_SPEC): Don't link /usr/lib/bb_link.o with `gcc -a'.
(__bb_init_func): Deleted.
(BLOCK_PROFILER_CODE): Don't set macro to nothing.

From-SVN: r11578
1996-03-20 11:41:45 -05:00
Richard Kenner
d649cc9680 (ASM_SPEC): Deleted.
(STRUCT_VALUE_REGNUM): Redefine as register a0.
(STATIC_CHAIN_REGNUM): Redefine as register a1.
(TRAMPOLINE_TEMPLATE): Redefine to use the right register.

From-SVN: r11577
1996-03-20 11:28:31 -05:00
Richard Kenner
7565a035be (expand_builtin, case BUILT_IN_SETJMP): Call "setjmp" pattern, if any.
Call dummy function pointed to by static chain pointer.
(expand_builtin, case BUILT_IN_LONJMP): Ignore second expression.
Set address of __dummy into static chain pointer.
Copy the label to return to into a pseudo earlier.

From-SVN: r11576
1996-03-20 08:13:06 -05:00
Richard Kenner
c4124c29e0 (LIB2FUNCS): Add __dummy.
From-SVN: r11575
1996-03-20 08:12:13 -05:00
Richard Kenner
2e06e616a7 (__dummy): New function.
From-SVN: r11574
1996-03-20 08:11:20 -05:00
Richard Kenner
68f0213570 (last_setjmp_suid, regs_crosses_setjmp): New variables.
(stupid_life_analysis, stupid_mark_refs): Use them to track which
regs are live over a setjmp; don't allocate such regs.

From-SVN: r11573
1996-03-20 08:04:28 -05:00
Jason Merrill
ba9d9bfa1c (demangle_template): Fix for non-mangled pointer
arguments.

From-SVN: r11572
1996-03-20 06:11:33 +00:00
Roland McGrath
375826d208 (NULL): Define only if not already defined.
From-SVN: r11569
1996-03-20 01:08:11 +00:00
Roland McGrath
86a0a7b3d7 [HAVE_STRING_H]: Include string.h.
[HAVE_STDLIB_H]: Include stdlib.h.

From-SVN: r11568
1996-03-20 01:07:36 +00:00
Jeff Law
d6e35c2d34 pa.c (compute_frame_size): Update comments to reflect reality.
* pa.c (compute_frame_size): Update comments to reflect reality.
        (hppa_expand_prologue): Don't save registers which aren't
        used, even if it creates holes.  Partially undoes changes from
        early March.
        (hppa_expand_epilogue): Likewise.

From-SVN: r11567
1996-03-19 11:57:24 -07:00
David Edelsohn
acc5239d9a update compare function unit comment
From-SVN: r11566
1996-03-19 15:50:21 +00:00
Richard Kenner
57641239da (struct case_node): New member balance.
(add_case_node): New function.
(pushcase, pushcase_range): Use it.
(case_tree2list): New function.
(expand_end_case): Use it.

From-SVN: r11565
1996-03-19 08:24:56 -05:00
Richard Kenner
314d1f3c28 (move_for_stack_reg): Avoid stack overflow while storing XFmode from
fp reg to memory.

From-SVN: r11564
1996-03-19 07:44:11 -05:00
Richard Kenner
7a1b98a901 (MASK_*): New macros.
(OVERRIDE_OPTIONS): Use them.
(TARGET_SWITCHES): Likewise.
Treat -m68332 like -m68000.

From-SVN: r11563
1996-03-19 07:37:55 -05:00
Richard Kenner
1d6eaf3dea (emit_store_flag): If expanding (GE X 0) will need two insns, don't use subtarget for the result of the first insn.
(emit_store_flag): If expanding (GE X 0) will need two
insns, don't use subtarget for the result of the first insn.
Move a likely constant to the start of a condition.

From-SVN: r11562
1996-03-18 20:04:00 -05:00
Richard Kenner
7b7e56373e (pushexthisi_const, movsi_const0): New names.
(andsi3, iorsi3): Allow only 'M', not 'K' constants, if dest is 'd'.

From-SVN: r11561
1996-03-18 19:48:01 -05:00
Richard Kenner
6910dd7004 (output_function_epilogue): Restore registers using sp+ instead of fp(n) in leaf functions.
(output_function_epilogue): Restore registers using sp+ instead of fp(n) in
leaf functions.
(USE_MOVQ, use_movq): Function replaced by macro.

From-SVN: r11560
1996-03-18 19:47:29 -05:00
Richard Kenner
a9f6f5aa7f (CONST_OK_FOR_LETTER_VALUE): New constraint 'M'.
From-SVN: r11559
1996-03-18 19:46:52 -05:00