Commit Graph

2581 Commits

Author SHA1 Message Date
Roland McGrath
6d7afc4f02 (os handling): Recognize `linux' as a valid os.
From-SVN: r2282
1992-09-29 22:19:48 +00:00
Richard Stallman
a06865af8b Use <...> in #include.
From-SVN: r2281
1992-09-29 21:29:17 +00:00
Richard Stallman
5fcb671c83 Fix comment syntax after #endif.
From-SVN: r2280
1992-09-29 20:08:08 +00:00
Richard Stallman
e18eb52342 (ENQUIRE_CFLAGS): Remove -DNO_SC.
From-SVN: r2279
1992-09-29 20:06:22 +00:00
Richard Kenner
8aecce0a61 (expand_binop): Convert X - C to X + (-C).
From-SVN: r2278
1992-09-29 10:14:19 -04:00
Jim Wilson
7f11183e26 (copy_loop_body...
(copy_loop_body, JUMP_INSN case): When invert jump
insn, must first construct new insn before trying to invert it,
so that validate_change will work properly.

From-SVN: r2277
1992-09-28 14:25:53 -07:00
Jim Wilson
4024394c6f (find_splittable_givs): Pass mem_mode not mode to memory_address_p.
From-SVN: r2276
1992-09-28 14:21:34 -07:00
Jim Wilson
5746764666 (copy_loop_body, JUMP_INSN case): When setting JUMP_LABEL field, verify that what we think is a label actually is.
(copy_loop_body, JUMP_INSN case): When setting
JUMP_LABEL field, verify that what we think is a label actually
is.  If it isn't then map the old JUMP_LABEL to find the new one.

From-SVN: r2275
1992-09-28 14:18:17 -07:00
Jim Wilson
72f4648ec5 (orcc peephole): Don't allow FP regs to match pattern.
From-SVN: r2274
1992-09-28 14:16:10 -07:00
Richard Stallman
339ae22de6 (va_arg, va_start): Explicitly cast to __gnuc_va_alist.
From-SVN: r2273
1992-09-28 21:16:00 +00:00
Jim Wilson
369f5d8498 (indirect_jump): Use bx instead of b*, and accept any
address_operand instead of just a register operand.

From-SVN: r2272
1992-09-28 14:14:21 -07:00
Jim Wilson
b676e9e259 (i960_round_tree): Correct conversion of bits to bytes to round up to nearest byte.
(i960_round_tree): Correct conversion of bits to bytes to
round up to nearest byte.
(i960_round_align): Likewise.

From-SVN: r2271
1992-09-28 14:11:48 -07:00
Michael Meissner
b711cbccab Fix typo.
From-SVN: r2270
1992-09-28 19:53:47 +00:00
Richard Stallman
c15886da53 (expand_binop): Use get_insns, not gen_sequence.
From-SVN: r2269
1992-09-28 16:24:36 +00:00
Richard Stallman
8706edbc5c (build_unary_op): Address of nested fcn isn't constant.
From-SVN: r2268
1992-09-28 16:07:29 +00:00
Richard Stallman
bcea218548 (__builtin_new): Avoid passing 0 to malloc.
From-SVN: r2267
1992-09-28 13:43:23 +00:00
Richard Stallman
560df144a9 (indirect_jump): Use address_operand as predicate.
From-SVN: r2266
1992-09-28 13:38:03 +00:00
Richard Kenner
a0044fb10e (subsi3): Remove last change.
(allocate_stack): Go back to calling subsi3.

From-SVN: r2265
1992-09-28 08:18:10 -04:00
Richard Kenner
84b55618e8 (struct arg_data): New field unsignedp.
(expand_call): Handle PROMOTE_FUNCTION_ARGS and PROMOTE_FUNCTION_RETURN.

From-SVN: r2264
1992-09-27 18:19:16 -04:00
Richard Kenner
a53e14c093 (assign_parms): If PROMOTE_FUNCTION_ARGS is defined, see if the incoming register should be used in a wider mode.
(assign_parms): If PROMOTE_FUNCTION_ARGS is defined, see if the incoming
register should be used in a wider mode.
(expand_function_start): Likewise for return value if PROMOTE_FUNCTION_RETURN
is defined.

From-SVN: r2263
1992-09-27 18:18:33 -04:00
Richard Kenner
01def76468 (subsi3): Don't bother calling negate_rtx for constant; we shouldn't be called with a constant.
(subsi3): Don't bother calling negate_rtx for constant; we shouldn't be
called with a constant.
(maskir patterns): Don't mention an operand before it is used; use operand
number 1 for operand with '0' constraint.
(allocate_stack): Use reg_or_short_operand for predicate of allocation amount;
use negate_rtx and always make a PLUS.

From-SVN: r2262
1992-09-27 13:05:40 -04:00
Richard Kenner
36d51583bf (EXTRA_CONSTRAINT, case 'Q'): Check for MEM instead of calling memory_operand.
(SHIFT_COUNT_TRUNCATED): No longer define this.

From-SVN: r2261
1992-09-27 13:04:57 -04:00
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