Commit Graph

5143 Commits

Author SHA1 Message Date
Richard Stallman
5c23d95b4f (ASM_OUTPUT_ALIGN_CODE): Override to avoid generating a second argument.
From-SVN: r5156
1993-08-13 18:59:37 +00:00
Jim Wilson
aabe87cd7e (LONG_DOUBLE_TYPE_SIZE): Define to 128.
From-SVN: r5155
1993-08-13 11:32:32 -07:00
Richard Kenner
23d5d23d23 (expand_inline_function): Copy args that are in hard regs instead of
substiting them directly into insns.

From-SVN: r5154
1993-08-13 14:30:00 -04:00
Jim Wilson
842fbaaafe (GET_REAL, PUT_REAL): Add TFmode versions.
(MAXDECEXP, MINDECEXP): New decimal exponent limits
that vary with definition of LONG_DOUBLE_TYPE_SIZE.
(endian, ereal_atof, real_value_truncate, einfin, emdnorm, asctoeg):
Add cases for TFmode.
(etartdouble): New function converts REAL_VALUE_TYPE to TFmode
for use by ASM_OUTPUT_LONG_DOUBLE.
(edivm, emulm): Ifdef out, replace by faster multiply and divide.
(etoe113, toe113, e113toe): New type conversions for TFmode.
(asctoe113, e113toasc): New TFmode binary <-> decimal conversions.
(at top level): Define constants ezero, eone, emtens, etens, ...
in a new 20-byte format when LONG_DOUBLE_TYPE_SIZE = 128 and
set NE to 10.  Otherwise, the internal format remains 12 bytes wide.
(etoudi, etodi, ditoe, uditoe): New functions, signed and unsigned
DImode float and fix, for real.c used in a libgcc-of-last-resort.
(esqrt): New function, correctly rounded square root for libgcc.
(etodec): Delete ifdef'd version.
(eroundi, eroundui): Rename to efixi, efixui and always
round towards zero.
From frank@atom.ansto.gov.au (Frank Crawford):
(etoibm, toibm, ibmtoe): New conversions for IBM 370 float format.
(e53toe, e64toe, toe64, etoe53, toe53, etoe24, toe24, asctoe53,
asctoeg, make_nan): Ifdef for IBM.

From-SVN: r5153
1993-08-13 11:28:49 -07:00
Jim Wilson
7bb5d01e32 (REAL_VALUE_TYPE): Define array at least 20 bytes wide if LONG_DOUBLE_TYPE_SIZE is 128 bits.
(REAL_VALUE_TYPE): Define array at least 20 bytes wide
if LONG_DOUBLE_TYPE_SIZE is 128 bits.
(etartdouble): Declare and use for REAL_VALUE_TO_TARGET_LONG_DOUBLE
when long double is TFmode.
(REAL_VALUE_FIX, REAL_VALUE_UNSIGNED_FIX): Must always round
towards zero.

From-SVN: r5152
1993-08-13 11:27:32 -07:00
Richard Kenner
3d91674b87 (subsi3): Merge alternatives.
(comparison patterns): Eliminate generation of "sfi."; no such instruction
exists.

From-SVN: r5151
1993-08-13 07:50:22 -04:00
Richard Stallman
fd5d5b94a1 (output_init_element): Don't call default_conversion for a STRING_CST if type is directly suitable for it.
(output_init_element): Don't call default_conversion
for a STRING_CST if type is directly suitable for it.
(digest_init): Eliminate a lot of code that checks the variable
'element', since element is always 0 in these code paths.

(build_c_cast): For (void *) (FOO *) 0, return a nop_expr
so it doesn't count as a null pointer constant.
(convert_for_assignment, build_binary_op): Pedantically warn about
that case if looking for a null_pointer_constant.
(build_conditional_expr): Likewise.

From-SVN: r5150
1993-08-13 05:59:36 +00:00
Richard Stallman
1930a6180e (CPP_PREDEFINES): Define _CROSS_TARGET_ARCH.
From-SVN: r5149
1993-08-13 01:24:18 +00:00
Richard Kenner
b19003d879 (attribute "type"): Add new type, "branch".
(attribute "length"): New attribute; put on all insns that don't have default
length.
(branch patterns): If conditional branch won't reach, take conditional branch
around an unconditional branch.

(plus): Split (plus (COMPARISON FOO ...) ...) at FOO.

From-SVN: r5148
1993-08-12 19:02:25 -04:00
Michael Meissner
967d1506d5 Add -m{,no-}underscore support.
From-SVN: r5147
1993-08-12 21:16:23 +00:00
Michael Meissner
6e026f481e Do not report -Wnested-extern errors for __FUNCTION__/__PRETTY_FUNCTION__.
From-SVN: r5146
1993-08-12 21:14:02 +00:00
Jim Wilson
7e2feebfc7 (legitimize_pic_address): Delete 4th arg SCRATCH.
Fix all callers.
(emit_move_sequence): Delete 3rd arg SCRATCH_REG.  Fix all
callers.  If operand1 is an invalid PIC address, then legitimize
it before doing anything else.

From-SVN: r5145
1993-08-12 10:52:48 -07:00
Jim Wilson
7aca9b9c4e (SECONDARY_INPUT_RELOAD_CLASS): Delete case for invalid PIC addresses.
(SECONDARY_INPUT_RELOAD_CLASS): Delete case for invalid
PIC addresses.
(CONSTANT_ADDRESS_P): Reject invalid PIC addresses.
(LEGITIMATE_PIC_OPERAND_P): New macro.
(GO_IF_LEGITIMATE_ADDRESS): Reject invalid PIC addresses.
(LEGITIMIZE_ADDRESS): Fix call to legitimize_pic_address.

From-SVN: r5144
1993-08-12 10:52:01 -07:00
Jim Wilson
d0fc7beaa2 (reload_insi): Delete.
(*): Fix all callers of legitimize_pic_address and emit_move_sequence.

From-SVN: r5143
1993-08-12 10:51:16 -07:00
Jim Wilson
a78bdb3850 (thread_prologue_and_epilogue_insns): For the
epilogue, put USE insns immediately before the return insn.

From-SVN: r5142
1993-08-12 10:45:57 -07:00
Jim Wilson
46aea93218 (sched_analyze_insn): Handle USE before a JUMP_INSN just
like a USE before a CALL_INSN.

From-SVN: r5141
1993-08-12 10:45:15 -07:00
Jim Wilson
2e7ac77cb9 (ASM_OUTPUT_DOUBLE): Always use REAL_VALUE_TO_TARGET_DOUBLE.
(ASM_OUTPUT_FLOAT): Always use REAL_VALUE_TO_TARGET_SINGLE.

From-SVN: r5140
1993-08-12 10:41:35 -07:00
Richard Stallman
7d26fec6ad (store_expr): Don't return TEMP if it's a MEM.
From-SVN: r5139
1993-08-12 08:06:01 +00:00
Per Bothner
0450bf1214 (CONSTRUCTOR_NAME_FORMAT): Removed.
From-SVN: r5138
1993-08-11 19:56:55 -07:00
Per Bothner
6b3cf8c6c4 (build_module_descriptor): Use new function get_file_function_name.
From-SVN: r5137
1993-08-11 19:45:47 -07:00
Per Bothner
bb28827839 (get_file_function_name): New function.
From-SVN: r5136
1993-08-11 19:43:49 -07:00
Jeff Law
a2f5413829 reorg.c (try_merge_delay_insns): Fix typo.
* reorg.c (try_merge_delay_insns): Fix typo.
	(fill_simple_delay_slots): Only access the JUMP_LABEL field
	if the INSN needing delay slots is a JUMP_INSN.

From-SVN: r5135
1993-08-11 17:49:36 -06:00
Richard Kenner
f085c9cdc4 (combine_instructions): Fix typo on test of basic block number.
From-SVN: r5134
1993-08-11 17:58:31 -04:00
Ian Lance Taylor
cc08b87dab Get size_t typedef using gcc, not cc
From-SVN: r5133
1993-08-11 13:22:45 +00:00
Roland McGrath
64e026bced *** empty log message ***
From-SVN: r5132
1993-08-11 07:27:10 +00:00
Richard Stallman
c7e33f8937 (SLOW_UNALIGNED_ACCESS): Define, but allow override.
(store_bit_field): Test that instead of STRICT_ALIGNMENT.
Also, allow fetching as non-bitfield if memory is aligned enough.
(extract_bit_field): Install code here like that in store_bit_field.

From-SVN: r5131
1993-08-11 05:22:55 +00:00
Richard Stallman
2abe5d9099 *** empty log message ***
From-SVN: r5130
1993-08-10 21:27:23 +00:00
Jim Wilson
f7911249bb (cse_insn): After inserting src_eqv...
(cse_insn): After inserting src_eqv, check to see if it is
identical to any uninserted SET_SRCs, and if so, set their src_elt
to src_eqv_elt.

From-SVN: r5129
1993-08-10 12:11:27 -07:00
Jeff Law
7033d44cd6 * pa.h (DOLLARS_IN_IDENTIFIERS): Define as 2.
From-SVN: r5128
1993-08-10 10:56:29 -06:00
Richard Stallman
df7b857326 (output_move_double): Fix typos in last change.
From-SVN: r5127
1993-08-10 05:49:29 +00:00
Per Bothner
c1b9947f06 Merge. See ChangeLog.
From-SVN: r5126
1993-08-09 19:16:16 -07:00
Per Bothner
e9cd0b2518 Merge. See ChangeLog.
From-SVN: r5125
1993-08-09 18:59:37 -07:00
Per Bothner
690ddf3e4e Initial revision
From-SVN: r5124
1993-08-09 18:56:14 -07:00
Per Bothner
633b477b02 Remove some extraneuous garbase output.
From-SVN: r5123
1993-08-09 18:52:49 -07:00
Jim Wilson
05be4ceac4 (assembler_variable): For XCOFF_DEBUG, restore section
if dbxout_symbol call changes it.

From-SVN: r5122
1993-08-09 12:42:21 -07:00
Jim Wilson
211b330fd8 (schedule_insns): Don't emit a NOTE at the end of the last basic block if...
(schedule_insns): Don't emit a NOTE at the end of the last
basic block if that would put it between a JUMP_INSN and a BARRIER.

From-SVN: r5121
1993-08-09 12:37:23 -07:00
Jim Wilson
256f27acc1 (OPTIMIZATION_OPTIONS): Use |=, not &= to set -mpgopt.
From-SVN: r5120
1993-08-09 12:29:28 -07:00
Jim Wilson
377b776116 (function_arg, DFmode case): Set regbase to GP_ARG_FIRST
if cum->arg_number greater than or equal to 2.

From-SVN: r5119
1993-08-09 12:26:03 -07:00
Richard Kenner
835532b871 (widen_operand): New function.
(expand_binop, expand_unop): Call it.

From-SVN: r5118
1993-08-09 07:30:54 -04:00
Richard Stallman
2e9effae27 (contains_pointers_p): New function.
(assemble_variable): Use that.

From-SVN: r5117
1993-08-09 07:30:04 +00:00
Jim Wilson
654209e6a1 (sparc_type_code): Support range types.
From-SVN: r5116
1993-08-08 16:19:27 -07:00
Jim Wilson
591b15bb1c (expand_increment): Call save_expr on inner expression if
it is itself an increment expression.

From-SVN: r5115
1993-08-08 15:48:15 -07:00
Jim Wilson
3de13334ba (_SC_PAGE_SIZE): Define to _SC_PAGESIZE if that exists.
From-SVN: r5114
1993-08-08 15:19:52 -07:00
Jim Wilson
302484ff4a (reg_or_0_operand): Use fp_zero_operand.
(fp_zero_operand): New function.

From-SVN: r5113
1993-08-08 15:10:02 -07:00
Jim Wilson
96f69de58d (CONST_DOUBLE_OK_FOR_LETTER_P): Use fp_zero_operand.
From-SVN: r5112
1993-08-08 15:08:50 -07:00
Jim Wilson
e6d525599d (build_array_ref): Force array to be allocated on the stack if...
(build_array_ref): Force array to be allocated on the
stack if it is accessed by out-of-bound constant integer subscript.

From-SVN: r5111
1993-08-08 14:38:20 -07:00
Richard Kenner
312def2eda (num_sign_bit_copies): Properly handle case when MODE is narrower than that of X.
(num_sign_bit_copies): Properly handle case when MODE is narrower than that
of X.
(simplify_shift_const): Remove change of July 26.

From-SVN: r5110
1993-08-08 17:31:39 -04:00
Jim Wilson
00aae7b152 New file.
From-SVN: r5109
1993-08-08 14:25:54 -07:00
Richard Stallman
709f5be119 (expand_assignment): If WANT_VALUE is 0, return NULL.
(store_expr): Likewise.
Rename arg SUGGEST_REG to WANT_VALUE.
Never return TARGET if WANT_VALUE unless BLKmode.
Instead, return TEMP or a value copied from TARGET.
Pass 0 for WANT_VALUE in recursive calls that ignore value.

(expand_expr, case PLUS_EXPR): Goto binop2 not
both_summands if we should not be returning a plus.

(do_tablejump) [PIC_CASE_VECTOR_ADDRESS]: If pic,
copy INDEX to a register early, to avoid invalid address later.

From-SVN: r5108
1993-08-08 18:54:00 +00:00
Richard Stallman
5b272d50fa (rest_of_decl_compilation): Fix typo in previous change.
From-SVN: r5107
1993-08-08 18:31:42 +00:00