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
Richard Kenner
4d4f21f36f
(build_conditional_expr): If OP1 is null, set both OP1 and ORIG_OP1 to IFEXP.
...
From-SVN: r11558
1996-03-18 19:42:40 -05:00
Richard Kenner
9cd7239f1c
Initial revision
...
From-SVN: r11557
1996-03-18 19:33:11 -05:00
Richard Kenner
758f758381
(FUNCTION_PROLOGUE): LE/370 takes 120 bytes for DSA.
...
Have only one copy of timestamp and PPA2 per object module.
Only have unnamed CSECT to match IBM C.
From-SVN: r11556
1996-03-18 19:33:01 -05:00
Richard Kenner
bb821298b3
(simplify_if_then_else): Allow for case that condition might no longer
...
be a condition.
From-SVN: r11555
1996-03-18 19:25:58 -05:00
Richard Kenner
8a12c32ded
(iterator_loop_epilogue): Don't clear DECL_RTL for a static decl.
...
From-SVN: r11554
1996-03-18 19:14:36 -05:00
Richard Kenner
8ba4699440
(summarize_insn, case SUBREG, CONST_*): New cases.
...
From-SVN: r11553
1996-03-18 08:02:09 -05:00
Doug Evans
76184def9f
(find_split_point): Handle NULL return from make_extraction.
...
(make_field_assignment): Likewise.
From-SVN: r11552
1996-03-17 21:54:11 +00:00
Richard Kenner
0d4ae18aae
(trap): New attribute.
...
Modify patterns for all floating-point trap generating instructions.
From-SVN: r11551
1996-03-16 19:33:14 -05:00
Richard Kenner
6245e3dfd1
(alpha_tp, alpha_fprm, alpha_fptm): New variables.
...
(alpha_tp_string, alpha_fprm_string, alpha_fptm_string
(trap_pending): Likewise.
(override_options, summarize_insn, final_prescan_insn): New functions.
(print_operand): Handle cases '&', '\'', ')', and '+'.
(output_prolog): Emit ".eflag 48" if TARGET_IEEE_CONFORMANT.
(output_epilog): Call final_prescan_insn before emitting epilog.
From-SVN: r11550
1996-03-16 19:32:42 -05:00
Richard Kenner
2bf6230de9
(CPP_SPEC): Added -mieee and -mieee-with-inexact.
...
(alpha_trap_precision, alpha_fp_rounding_mode, alpha_fp_trap_mode):
New enum types.
(target_flags, alpha_tp, alpha_fprm, alpha_fptm): New external vars.
(alpha_fprm_string, alpha_fptm_string, alpha_tp_string): Likewise.
(TARGET_IEEE{,_WITH_INEXACT,_CONFORMANT}): New macros.
(MASK_IEEE{,_WITH_INEXACT,_CONFORMANT}): Likewise.
(MASK_FP, MASK_FPREGS,
(TARGET_SWITCHES): Added "ieee-conformant", "ieee", and
"ieee-with-inexact"; use MASK symbols.
(TARGET_OPTIONS): New macro.
(OVERRIDE_OPTIONS, FINAL_PRESCAN_{INSN,LABEL}): New macros.
(PRINT_OPERAND_PUNCT_VALID_P): Allow operand codes for FP insns.
(CC1_SPEC): New macro.
From-SVN: r11549
1996-03-16 19:32:17 -05:00
Richard Kenner
03ffa17103
(final_scan_insn, case CODE_LABEL): Invoke FINAL_PRESCAN_INSN if
...
FINAL_SCAN_LABEL is defined.
From-SVN: r11548
1996-03-16 19:31:33 -05:00
Richard Kenner
6cba9fcc21
(substitute_in_expr, case COMPONENT_REF): Ignore if inner
...
PLACEHOLDER_EXPR has not yet been initialized.
From-SVN: r11547
1996-03-16 19:23:14 -05:00
Richard Kenner
0c05582760
(insv): Restore missing end of comment.
...
From-SVN: r11546
1996-03-16 19:19:01 -05:00
Richard Kenner
8ab92e4eeb
(standard_80386_constant_p): -0.0 is not 0.0.
...
From-SVN: r11545
1996-03-16 19:16:54 -05:00
Richard Kenner
9e74dc4154
(make_extraction): Correct typo in force_to_mode call in previous change.
...
Return 0 if pos+len out of range of want desired mode.
From-SVN: r11544
1996-03-16 18:56:24 -05:00
Richard Kenner
ff352ceaa0
Initial revision
...
From-SVN: r11543
1996-03-16 16:18:52 -05:00
Richard Kenner
e211a9d8c6
(output_prolog): Set alpha_function_needs_gp if profiling and
...
TARGET_PROFILING_NEEDS_GP defined.
From-SVN: r11542
1996-03-16 16:18:22 -05:00
David Edelsohn
1465faecc9
fix TImode offset addres test
...
From-SVN: r11541
1996-03-15 03:27:18 +00:00
David Edelsohn
42eaff6f2d
add -bnoentry if no entry point for shared object
...
From-SVN: r11540
1996-03-15 03:26:31 +00:00
Jim Wilson
a88d48a43c
(ASM_OUTPUT_DOUBLE_INT): Use 'X' if CONST_INT and
...
HOST_BITS_PER_WIDE_INT == 64.
From-SVN: r11539
1996-03-14 16:58:32 -08:00
Ian Lance Taylor
b4c6e06c29
Recognize mips-*-sysv*
...
From-SVN: r11531
1996-03-15 00:14:04 +00:00
Michael Meissner
644d82dd23
Fix bug with 8-16 byte structures not getting instantiated correctly
...
From-SVN: r11530
1996-03-14 20:20:34 +00:00
Jim Wilson
e0c228daf7
(mips_expand_prologue): Change TYPE_NEEDS_CONSTRUCTING to
...
TREE_ADDRESSABLE;
From-SVN: r11529
1996-03-14 09:46:53 -08:00
Michael Meissner
e56bb9ed51
Add exception attribute for Windows
...
From-SVN: r11528
1996-03-14 16:25:20 +00:00
Jeff Law
80363f0d97
pa.h (ASM_DECLARE_FUNCTION_NAME): Change TYPE_NEEDS_CONSTRUCTING to TREE_ADDRESSABLE.
...
* pa/pa.h (ASM_DECLARE_FUNCTION_NAME): Change TYPE_NEEDS_CONSTRUCTING
to TREE_ADDRESSABLE. From Jim Wilson.
From-SVN: r11527
1996-03-13 23:54:34 -07:00
Jim Wilson
ab68478599
(warn_sign_compare): Add extern to declaration.
...
From-SVN: r11526
1996-03-13 15:20:46 -08:00