Commit Graph

2409 Commits

Author SHA1 Message Date
Michael Meissner
e4e0d64982 Print OSF/rose for version info.
From-SVN: r2260
1992-09-27 13:19:01 +00:00
Richard Stallman
fe673db796 (indirect_jump): Use %a0 for output, and p for constraint.
From-SVN: r2259
1992-09-27 03:31:24 +00:00
Richard Stallman
0ba846c771 (eliminate_regs_in_insn): If recognition fails on modified insn,
go ahead and modify just the same.

From-SVN: r2258
1992-09-27 03:28:28 +00:00
Richard Stallman
4a5d0fb595 (eliminate_regs_in_insn): Rerecognize if move insn becomes a non-move.
From-SVN: r2257
1992-09-26 22:48:08 +00:00
Michael Meissner
a6b65dff2f RISC-OS rev 5, DEC OSF/1 changes.
From-SVN: r2256
1992-09-26 22:37:56 +00:00
Torbjorn Granlund
fd3f89a9a2 (comment before extendhisi2): Remove the lie.
(zero_extendhisi2): Rewrite to work if op0 == op1.  Use
gen_lowpart in preparation code.
(extendqisi2, extendhisi2): Likewise.
(extendqihi2): Expand.
(restorehi): Rewrite for correctness, efficiency, and
clarity. Avoid generating insns involving truncate.  Generate
needed pseudos in preparation statements.
(storehi): Likewise.
(storeinthi): Likewise.
(movhi): Call gen_storehi, gen_restorehi, gen_storeinthi according
their new definitions.  Use force_reg to put address in register.

From-SVN: r2255
1992-09-26 22:36:47 +00:00
Michael Meissner
57cdc6c2fe Initial revision
From-SVN: r2254
1992-09-26 22:01:27 +00:00
Richard Stallman
28b039e302 (location_attribute): If DECL_RTL looks like (MEM pseudo),
treat that variable as optimized away.

From-SVN: r2253
1992-09-26 20:40:25 +00:00
Richard Stallman
68703794d6 (install-fixincludes): Use - when making syslimits.h; fix if-statement syntax.
From-SVN: r2252
1992-09-26 20:28:15 +00:00
Richard Stallman
0546e26835 (jump_optimize): When handling dispatch table that always
goes to the same place, verify previous insn exists.

From-SVN: r2251
1992-09-26 19:09:26 +00:00
Richard Stallman
4ee660d23c In the targets such as $(HOST_PREFIX_1)rtl.o,
use sed to make them include hconfig.h instead of config.h.
(distclean): Add command to delete hconfig.h.

From-SVN: r2250
1992-09-26 00:16:16 +00:00
Richard Stallman
1bbe928048 (initializer_constant_valid_p): Really use endtype.
From-SVN: r2249
1992-09-25 22:31:38 +00:00
Richard Stallman
b1af477742 (do_include): "Concatenate" multiple "strings" in #include.
From-SVN: r2248
1992-09-25 22:01:36 +00:00
Richard Stallman
08a6f4b807 (CPP_PREDEFINES): Define __ARCHITECTURE__.
From-SVN: r2247
1992-09-25 22:01:21 +00:00
Richard Stallman
3b6c7a7df8 (dbxout_symbol): For anonymous enum, output type anyway.
From-SVN: r2246
1992-09-25 06:26:22 +00:00
Jim Wilson
f979c996cd (push_function_context): Save epilogue_delay_list.
(pop_function_context): Restore epilogue_delay_list.

From-SVN: r2245
1992-09-24 22:52:48 -07:00
Jim Wilson
bd2315502c (struct function): Add epilogue_delay_list field.
From-SVN: r2244
1992-09-24 22:52:11 -07:00
Jim Wilson
1f9844c451 (nonlocal_goto): Force operands[0] to be a register.
From-SVN: r2243
1992-09-24 22:49:59 -07:00
Jim Wilson
8d02144cd8 (va_arg): Add 3 more (void *) casts to avoid warnings
with -Wcast-align.

From-SVN: r2242
1992-09-24 22:47:53 -07:00
Jim Wilson
1e4eb8d1a0 (SF_MODES): Accept all single word or smaller integer modes not just SImode.
(SF_MODES): Accept all single word or smaller integer
modes not just SImode.  These are needed for fix/float conversions.

From-SVN: r2241
1992-09-24 22:46:02 -07:00
Jim Wilson
bc78eb101e (sched_analyze_2, PRE_DEC case): Call sched_analyze_2 in
addition to sched_analyze_1.

From-SVN: r2240
1992-09-24 22:44:06 -07:00
Jim Wilson
b085d1c8f2 (va_start): Must access anonymous arg as offset from start of argument block.
From-SVN: r2239
1992-09-24 22:41:51 -07:00
Jim Wilson
76d76a0e1c (movdi...
(movdi, movti, movdf, movtf): Make store zero to memory
a separate case, only accept offsettable memory addresses, and call
adj_offsettable_operand to calculate subword addresses.

From-SVN: r2238
1992-09-24 22:39:45 -07:00
Jim Wilson
518dd8661d (i960_output_ldconst): Pass missing xoperands argument to output_asm_insn call.
From-SVN: r2237
1992-09-24 22:37:08 -07:00
Jim Wilson
a9fb8bb959 (movti): Split CONST_INTs into 4 moves, and force all other constants to
memory.

From-SVN: r2236
1992-09-24 22:33:07 -07:00
Michael Meissner
1154b096fa Fix varardic functions returning structs.
From-SVN: r2235
1992-09-24 22:11:57 +00:00
Torbjorn Granlund
f4f22302c4 (REGISTER_MOVE_COST): Fix typo. Use ||' instead of |'.
(REG_CLASS_FROM_LETTER): Don't handle 'r' constraints here.

From-SVN: r2234
1992-09-24 19:37:34 +00:00
Torbjorn Granlund
fa5e5c1e7a (clobbered_register): Delete.
(srcsi_operand): Return 1 also for things matching depi_cint_operand.
(secondary_reload_class): Replace.

From-SVN: r2233
1992-09-24 19:36:29 +00:00
Torbjorn Granlund
907f67ccf3 (ldo/ldil SImode and HImode recognizers): Use "const_int_operand" for operand 1 and simplify final condition.
(ldo/ldil SImode and HImode recognizers): Use "const_int_operand"
for operand 1 and simplify final condition.  Remove `n' constraint.
(depi SImode and HImode recognizers): Remove `n' constraint.
(plus:SI ... high ... splitter): Don't overwrite input, go via
clobber operand instead.
(many patterns): Replace `in' constraint with just `i'.
(movstrsi): Don't do (clobber (match_scratch)), use explicit
pseudos instead, generated in preparation C code.  Don't call
force_not_mem for operand 2.
(movstrsi recognizer): Add `&' to operand 3
(andsi3): Fix typo.
(iorsi3): Fix typo.
(load-shift-16): New optimizer.
(load-shift optimizers): Set "type" attr.

From-SVN: r2232
1992-09-24 19:33:59 +00:00
Richard Kenner
fad04099d7 (yylex, case '"'): Initialize arg pased to readescape.
From-SVN: r2231
1992-09-24 15:23:56 -04:00
Richard Stallman
65faa6a4c4 (lang_options): Add Objc options.
From-SVN: r2230
1992-09-24 19:17:56 +00:00
Richard Kenner
d7c665bf13 (length_used): New variable.
(walk_attr_value): Set it when we have (eq_attr "length" ...).
(write_const_num_delay_slots): Value is 1 unless LENGTH_USED is set.

From-SVN: r2229
1992-09-24 07:28:09 -04:00
Richard Kenner
ba12108c7a (mark_set_resources, case CC0): Set RES->CC if IN_SEST.
From-SVN: r2228
1992-09-24 07:09:49 -04:00
Richard Kenner
533d083586 (forbidden_inc_dec_class, in_inc_dec): New variables.
(regclass): Don't alloca the costs twice.
Initialize forbidden_inc_dec_class.
For regs that have inc-dec, ignore forbidden classes.
(record_address_regs): Update in_inc_dec.

From-SVN: r2227
1992-09-24 06:30:43 -04:00
Richard Stallman
dc24dc0a61 Add comment.
From-SVN: r2226
1992-09-24 06:58:57 +00:00
Richard Stallman
2cdb89d3b2 Initial revision
From-SVN: r2225
1992-09-24 06:57:49 +00:00
Richard Stallman
7e81b79c83 Include syslimits.h instead of system's limits.h.
From-SVN: r2224
1992-09-24 06:57:35 +00:00
Richard Stallman
26363cdfd5 (USER_H): Add syslimits.h.
(install-fixincludes): If we fix system's limits.h, install that as syslimits.h

From-SVN: r2223
1992-09-24 06:57:11 +00:00
Richard Stallman
b70af677f2 (readescape): New arg ignore_ptr.
(yylex): Pass new arg, handle result that comes back.

From-SVN: r2222
1992-09-24 06:53:13 +00:00
Richard Stallman
3b647566f7 Comment fix.
From-SVN: r2221
1992-09-24 06:08:30 +00:00
Richard Kenner
191b18e9de (find_reloads_address): Properly check for constant address.
From-SVN: r2220
1992-09-23 19:26:34 -04:00
Richard Kenner
f12564b4c0 (simplify_unary_operation, case SIGN_EXTEND): Use HOST_BITS_PER_WIDE_INT,
not HOST_BITS_PER_INT.

From-SVN: r2219
1992-09-23 19:26:03 -04:00
Richard Kenner
1f9dfb724b (fold_convert): Add missing cast to HOST_WIDE_INT.
From-SVN: r2218
1992-09-23 19:24:45 -04:00
Richard Kenner
01ca1b9182 (jump_optimize): Tighten up test for when we can't delete a set of CC0.
Don't insert insns between set and use of CC0.

From-SVN: r2217
1992-09-23 19:24:25 -04:00
Richard Kenner
b6c9b49af9 (shorten_branches): Correctly access insn needing delay slot.
From-SVN: r2216
1992-09-23 19:23:47 -04:00
Richard Kenner
c3c2cb3741 (significant_bits, num_sign_bit_copies): Handle SUBREGs made for promoted
variables.

From-SVN: r2215
1992-09-23 19:23:19 -04:00
Richard Kenner
d6749decf6 (fill_simple_delay_slots): Don't make copy of insn that references CC0.
From-SVN: r2214
1992-09-23 19:22:40 -04:00
Richard Kenner
fd8c9e1cb9 (define_attr "type"): New type "ibranch".
(define_attr "length"): Set length for "ibranch" type.
(define_attr "in_delay_slot"): Add new type "ibranch"; for "branch", only has
delay slot if length is 4.
(define_attr "cc_type"): Add new type "ibranch".
(indirect branches): Now type "ibranch".

From-SVN: r2213
1992-09-23 19:21:45 -04:00
Michael Meissner
305aa9e2b1 Undo most of 9/22 changes
From-SVN: r2212
1992-09-23 15:25:23 +00:00
Richard Stallman
65a6dd9a32 Finish changing _ANSI_H to _ANSI_H_.
From-SVN: r2211
1992-09-23 04:12:08 +00:00