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
Michael Meissner
d5967781ed
Fix ASM_OUTPUT_ALIGN
...
From-SVN: r11525
1996-03-13 18:30:30 +00:00
Michael Meissner
2aa35c6312
Add static constructor/destructor support to Windows NT
...
From-SVN: r11524
1996-03-13 17:12:13 +00:00
Per Bothner
5bfaaedad7
dbxout.c (dbxout_type): Better "variant" handling to ignore const/volatile but not typedef names.
...
* dbxout.c (dbxout_type): Better "variant" handling to ignore
const/volatile but not typedef names. Improves Feb 12 change.
From-SVN: r11523
1996-03-12 21:47:30 -08:00
Jim Wilson
d3debd4b78
(ROUND_TPE_SIZE): Return round_up result instead of
...
COMPUTED.
From-SVN: r11522
1996-03-12 15:51:01 -08:00
Richard Kenner
6dd1b47377
(__LONG_MAX__): on Alpha, use 64 bit value.
...
From-SVN: r11521
1996-03-12 17:24:57 -05:00
Richard Kenner
bf1b20dab8
(nonlocal_goto): Emit barrier after jump.
...
(setjmp{,_64,_32}): New patterns.
From-SVN: r11520
1996-03-12 13:54:00 -05:00
Jim Wilson
f2420d0b92
(expand_expr, case COMPONENT_REF): For unaligned object in
...
an aligned union, delete check for EXPAND_SUM.
From-SVN: r11519
1996-03-12 09:51:15 -08:00
Jim Wilson
2af1bac84c
(clear_storage): Add comment terminator.
...
From-SVN: r11518
1996-03-12 09:42:04 -08:00
Torbjorn Granlund
ac6849cbdf
(dbra peepholes): Use flags_in_68881.
...
From-SVN: r11517
1996-03-12 15:07:49 +00:00
Torbjorn Granlund
6a0f85e3bc
(valid_dbcc_comparison_p): Don't test cc_prev_status here.
...
(flags_in_68881): New function.
From-SVN: r11516
1996-03-12 15:07:49 +00:00
Jeff Law
69f724c026
recog.c (constrain_operands, case 'V'): Don't call offsettable_memref_p before reload has completed.
...
* recog.c (constrain_operands, case 'V'): Don't call
offsettable_memref_p before reload has completed.
From-SVN: r11515
1996-03-11 17:08:58 -07:00
Doug Evans
269c14e111
h8300.h (SP_AND_G_REGS): Renamed from SP_AND_G_REG.
...
* h8300/h8300.h (SP_AND_G_REGS): Renamed from SP_AND_G_REG.
(CC_DONE_CBIT): Delete.
(CC_OVERFLOW_0,CC_OVERFLOW_UNUSABLE,CC_NO_CARRY): Define.
* h8300/h8300.c (cond_string): Delete CC_DONE_CBIT handling.
(notice_update_cc): Delete CC_CBIT, CC_WHOOPS. Add CC_SET_ZN_C0.
(restore_compare_p): New function.
(shift_one): Use shll instead of shal so overflow bit is usable.
Set cc_valid bits to cc_status.flags values.
(emit_a_shift): Set cc_status.flags.
* h8300/h8300.md (attr cc): Delete whoops,cbit. Add set_zn_c0.
(all patterns) Update cc attr setting.
(tstqi,tsthi,tstsi): Delete CC_DONE_CBIT handling.
(addhi3,subhi3): Change define_expand to define_insn.
(branch_true,branch_false): Check if compare needs to be restored.
From-SVN: r11514
1996-03-11 21:05:49 +00:00
Michael Meissner
4e74d8ec4b
Make long longs use normal CONST_DOUBLE in movdi, do not split too early
...
From-SVN: r11513
1996-03-11 18:57:23 +00:00
Jim Wilson
9740123d5c
(jump_optimize): When handle a USE insn before an unconditional jump...
...
(jump_optimize): When handle a USE insn before an
unconditional jump, disable the optimization if the USE is the
only insn in the loop.
From-SVN: r11512
1996-03-11 10:12:30 -08:00
Richard Kenner
8319988283
Use proper modes and predicates for {sign,zero}_extract.
...
From-SVN: r11511
1996-03-11 06:53:27 -05:00