Richard Kenner
4cf8614f1e
(schedule_block): CALL_INSNs don't affect fixed regs.
...
From-SVN: r11648
1996-03-31 17:59:20 -05:00
Richard Kenner
5bb3d1dded
(layout_decl): Don't make a bitfield an integral mode if the mode of
...
the field type is not MODE_INT.
From-SVN: r11647
1996-03-31 06:18:58 -05:00
Richard Kenner
e4329280ac
(propagate_block): CALL_INSNs don't kill fixed regs.
...
From-SVN: r11646
1996-03-31 05:10:01 -05:00
Torbjorn Granlund
dc1d615071
(expand_divmod, case TRUNC_DIV_EXPR): Move some code
...
to avoid shifting by a too large count.
From-SVN: r11645
1996-03-30 12:48:15 +00:00
Doug Evans
6f334f4405
sparc.h (FUNCTION_PROFILER): Save/restore %g2 around call to mcount.
...
* sparc/sparc.h (FUNCTION_PROFILER): Save/restore %g2 around call
to mcount.
From-SVN: r11644
1996-03-29 20:45:31 +00:00
Stan Cox
0a78e86253
(notice_update_cc): Clear cc_status if it references a mem we are modifying.
...
From-SVN: r11643
1996-03-29 19:27:45 +00:00
Jeffrey A. Law
6752b7d4dd
method.c (emit_thunk): Remove current_call_is_indirect nonsense.
...
* method.c (emit_thunk): Remove current_call_is_indirect nonsense.
Add additional argument to INIT_CUMULATIVE_ARGS.
From-SVN: r11642
1996-03-29 07:42:00 -07:00
Jeff Law
2c7ee1a641
calls.c (expand_call): Remove current_call_is_indirect nonsense.
...
* calls.c (expand_call): Remove current_call_is_indirect nonsense.
Add additional argument to INIT_CUMULATIVE_ARGS.
(emit_library_call): Likewise.
(emit_library_call_value): Likewise.
* expr.c (expand_builtin): Likewise.
* function.c (assign_parms): Likewise.
* cp/method.c (emit_thunk): Likewise.
* config/pa/pa.h (hppa_args): New field "indirect".
(INIT_CUMULATIVE_ARGS): Initialize "indirect" field.
(FUNCTION_ARG): Check "indirect" field, rather than
"current_call_is_indirect".
* All other backends updated with new argument to
INIT_CUMULATIVE_ARGS
From-SVN: r11641
1996-03-29 07:37:11 -07:00
Doug Evans
c4d98c846d
(aux): Delete another duplicate entry.
...
From-SVN: r11629
1996-03-29 01:49:55 +00:00
Doug Evans
9fcfb40af7
(aux): Delete duplicate entry.
...
From-SVN: r11628
1996-03-29 01:46:52 +00:00
Richard Kenner
8fed04e5c5
(summarize_insn): Fix three "off-by-one" bugs in loop bounds.
...
From-SVN: r11627
1996-03-28 18:45:41 -05:00
Jeff Law
da484a80ce
* ginclude/va-h8300.h (va_arg): Don't assume sizeof (int) == 4.
...
From-SVN: r11626
1996-03-28 11:20:00 -07:00
Jeff Law
31d4f31fd7
pa.c (hppa_legitimize_address): Don't lose for (plus (plus (mult (A) (shadd_const)) (B)) (C)) if...
...
* pa.c (hppa_legitimize_address): Don't lose for
(plus (plus (mult (A) (shadd_const)) (B)) (C)) if
B + C isn't a valid address for indexing.
(basereg_operand): Only accept base registers after
cse has completed. Don't accept the frame pointer if
it's likely to be eliminated.
* pa.md (unscaled indexing patterns): Add variants with
basereg and index register reversed.
(HImode and QImode loads): Add zero extended variants.
From-SVN: r11625
1996-03-28 10:14:41 -07:00
Richard Kenner
fdb5537fe0
(negate_rtx): Fix typo in previous change.
...
From-SVN: r11624
1996-03-27 07:45:08 -05:00
Jim Wilson
144a315026
(expand_call): In convert_to_mode call, use word_mode
...
not SImode.
From-SVN: r11623
1996-03-26 10:50:03 -08:00
Jeff Law
9c7be814e6
expr.c (emit_push_insn): When doing a partial push...
...
* expr.c (emit_push_insn): When doing a partial push, emit
a CLOBBER so that flow doesn't think the entire register
is live.
From-SVN: r11622
1996-03-26 08:45:03 -07:00
Richard Kenner
bed95fa1ac
(summarize_insn, default case): Properly use format_ptr.
...
From-SVN: r11621
1996-03-26 10:00:38 -05:00
Richard Kenner
49d1cc6cda
(fullword move): Call output_move_simode_const.
...
From-SVN: r11620
1996-03-26 09:50:53 -05:00
Richard Kenner
02ed0c07c5
(output_move_simode_const): New function.
...
(singlemove_string): Call it.
From-SVN: r11619
1996-03-26 09:49:56 -05:00
Richard Kenner
cab70741fe
(output_move_simode_const): New extern declaration.
...
From-SVN: r11618
1996-03-26 09:43:18 -05:00
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