Commit Graph

11479 Commits

Author SHA1 Message Date
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
Richard Kenner
d7cd794fdf (make_extraction): Use proper mode for INNER in all cases.
(simplify_comparison, case ZERO_EXTRACT): For bits big endian and no extzv,
use BITS_PER_WORD.

From-SVN: r11510
1996-03-11 06:49:32 -05:00
Doug Evans
2ae508e5e3 (move_pic_label_si,move_label_di): Rewrite length
attr calcs to be more conservative.

From-SVN: r11509
1996-03-11 06:05:08 +00:00
Richard Kenner
4312729434 (free_insn): New variable.
(init_emit, restore_emit_status): Clear it.
(gen_sequence): Store insn in free_insn when sequence length is 1.
(make_insn_raw): Use free_insn if available and still in the rtl generation
phase.

From-SVN: r11508
1996-03-10 06:23:17 -05:00
Richard Kenner
935ddcf539 Update comment for rtx_equal_function_value_matters.
From-SVN: r11507
1996-03-10 06:15:07 -05:00
Mike Stump
357a4089d9 85th Cygnus<->FSF quick merge
From-SVN: r11506
1996-03-09 20:23:30 +00:00
Mike Stump
934c6b1387 85th Cygnus<->FSF quick merge
From-SVN: r11505
1996-03-09 19:44:47 +00:00
Mike Stump
2a888d4cd0 expr.c (expand_expr, [...]): Delay putting the cleanup on the cleanup chain until after the subexpression...
* expr.c (expand_expr, case TARGET_EXPR): Delay putting the cleanup
	on the cleanup chain until after the subexpression has been expanded.
Fixes eh44.C and eh45.C

From-SVN: r11504
1996-03-08 23:44:26 +00:00
Jim Wilson
23ccec44cc (store_constructor_field): Add explanatory comment.
Call store_field if bitpos is nonzero and target is not a MEM.

From-SVN: r11503
1996-03-08 13:52:23 -08:00
Stan Cox
29e8f73f36 (ix86_binary_operator_ok): one memory operand is OK.
From-SVN: r11502
1996-03-08 21:19:14 +00:00