Commit Graph

10202 Commits

Author SHA1 Message Date
Richard Kenner a43ea3192f (c_expand_asm_operands): Check for read-only output operand where the
variable is read-only but the type is not.

From-SVN: r10232
1995-08-13 21:42:59 -04:00
Richard Kenner 5fad689870 (final_start_function): Always call sdbout_begin_function and
xcoffout_begin_function, even if no line number info.

From-SVN: r10231
1995-08-13 21:38:53 -04:00
Richard Kenner ba418aa40a (va_start): For stdarg, delete separate define for 64 bit ABI.
(va_start): For stdarg, delete separate define for 64 bit ABI.  For
varargs, don't subtract 64, and only add -8 when all argument
registers are used.

From-SVN: r10230
1995-08-13 21:34:31 -04:00
Richard Kenner a2ef6e41d2 (INITIAL_ELIMINATION_OFFSET): For 64 bit ABI...
(INITIAL_ELIMINATION_OFFSET): For 64 bit ABI, subtract
current_function_pretend_args_size when converting from argument
pointer.

From-SVN: r10229
1995-08-13 21:34:08 -04:00
Richard Kenner 48eebadec0 (SETUP_INCOMING_VARARGS): In if statement, only subtract one for stdarg.
(SETUP_INCOMING_VARARGS): In if statement, only subtract one for
stdarg.  Don't subtract PRETEND_SIZE from argument pointer when
calculating stack address.

From-SVN: r10228
1995-08-13 21:33:47 -04:00
Richard Kenner 2b16a9d39d (main): When concat gcc_exec_prefix and standard_startfile_prefix, put
machine_suffix in the middle.

From-SVN: r10227
1995-08-13 21:29:58 -04:00
Richard Kenner 8c3edecd1b (INIT_SECTION_ASM_OP): Don't define.
(LD_INIT_SWITCH, LD_FINI_SWITCH, HAS_INIT_SECTION): Don't undef.
(ASM_OUTPUT_CONSTRUCTOR, ASM_OUTPUT_DESTRUCTOR): Ifdef out.

From-SVN: r10226
1995-08-13 21:26:00 -04:00
Richard Kenner fabd69e832 (move_deaths): When have a multi-reg hard register, if don't find a
note, then recur for each individual hard register.

From-SVN: r10225
1995-08-13 21:21:45 -04:00
Richard Kenner 1b4a2731be (direct_return): Epilogue required if CR saved.
From-SVN: r10224
1995-08-13 21:16:03 -04:00
Richard Kenner 004135d07f (movdi matchers): Fix src/dest order in unaligned reg->reg case.
From-SVN: r10223
1995-08-13 19:07:17 -04:00
Richard Kenner 0813543abd (HAVE_STRERROR): New definition.
From-SVN: r10222
1995-08-13 18:53:16 -04:00
Richard Kenner 34e6e77e69 Add missing carriage return.
From-SVN: r10221
1995-08-13 18:48:53 -04:00
Richard Kenner 9c6b0bae3c (set_nonvarying_address_components): Handle addresses which are the sum of two constant pseudo regs.
(set_nonvarying_address_components): Handle addresses which are the sum of
two constant pseudo regs.
(cse_rtx_addr_varies_p): Likewise.

From-SVN: r10220
1995-08-13 18:45:42 -04:00
Richard Kenner 91503d95ef (USER_H): Add va-ppc.h.
From-SVN: r10219
1995-08-13 18:40:43 -04:00
Richard Kenner 52d575b0a0 (expand_asm_operands): Type '0'..'4' operands may allow regs, so move
them to the default case.

From-SVN: r10218
1995-08-13 18:36:03 -04:00
Richard Kenner 254d3f88b4 (warning_with_line): New function.
(trigraph_pcp): Use it, to avoid reporting line number.
(vwarning_with_line): Don't report line number if zero.

From-SVN: r10217
1995-08-13 18:32:16 -04:00
Richard Kenner 5a00de6f52 (gfloat.h): Add a - before the rm command.
From-SVN: r10216
1995-08-13 18:28:53 -04:00
Richard Kenner a4326b4d8a (vmessage): Support four arguments.
From-SVN: r10215
1995-08-13 18:22:14 -04:00
Richard Kenner acf86ec00d Initial revision
From-SVN: r10214
1995-08-13 18:19:45 -04:00
Richard Kenner 0c125e9152 Add ppc svr4 calling sequence support.
From-SVN: r10213
1995-08-13 18:19:33 -04:00
Richard Kenner 325eeacad1 Initial revision
From-SVN: r10212
1995-08-13 18:05:15 -04:00
Richard Kenner 7bb7f3df4e (LIBGCC2_CFLAGS): Add TARGET_LIBGCC2_CFLAGS.
From-SVN: r10211
1995-08-13 18:04:59 -04:00
Richard Kenner fdccb6df82 (find_and_verify_loops): Set dest_loop only if JUMP_LABEL (insn) is
non-zero.

From-SVN: r10210
1995-08-13 14:50:39 -04:00
Ian Lance Taylor d6b3cb1071 Avoid clobbering VxWorks drv/netif/if_med.h file
From-SVN: r10209
1995-07-31 18:33:04 +00:00
Richard Kenner ae38d0798c (CPP_SPEC): Fix typo.
From-SVN: r10208
1995-07-29 16:24:13 -04:00
Richard Kenner 1a8463c91b (XCOFF_SCAN_LIBS): Define if OBJECT_FORMAT_COFF and XCOFF_DEBUGGING_FORMAT.
(SCAN_LIBRARIES): Also define if XCOFF_SCAN_LIBS.
(scan_libraries): Implement for AIX.

From-SVN: r10207
1995-07-29 16:19:33 -04:00
Richard Kenner 53fbaf5abf Initial revision
From-SVN: r10206
1995-07-29 10:08:56 -04:00
Richard Kenner e093ee61ed Include tm.h.
From-SVN: r10205
1995-07-29 10:06:08 -04:00
Richard Kenner d8ace44fce (CAN_DEBUG_WITHOUT_FP): Comment out.
From-SVN: r10204
1995-07-29 10:01:27 -04:00
Richard Kenner e3be1b3229 (truncdfsf2...
(truncdfsf2, extendsfdf2, floatsidf2, fix_truncdfsi2): Allow register
parameters, required by gcc to generate correct code.

From-SVN: r10203
1995-07-29 09:59:27 -04:00
Richard Kenner 7e47602183 (RTX_COSTS): Fill in missing default values.
From-SVN: r10202
1995-07-29 09:59:05 -04:00
Richard Kenner 16a257559f (output_move_double): Now handles CONST_INT parameters properly.
From-SVN: r10201
1995-07-29 09:58:43 -04:00
Richard Kenner b52d80d3b5 [USE_GAS]: Output `jbsr' instead of `jsr' for normal function calls and `bsr.l'...
[USE_GAS]: Output `jbsr' instead of `jsr' for normal function calls
and `bsr.l' instead of `bsr' for pic function calls.

From-SVN: r10200
1995-07-29 09:55:01 -04:00
Richard Kenner 8291155ff8 Initial revision
From-SVN: r10199
1995-07-29 09:53:04 -04:00
Richard Kenner 53c8870f92 (SUBREG_OK_FOR_INDEX_P): New macro.
(INDEX_REGISTER_RTX_P): Use it.

From-SVN: r10198
1995-07-29 09:44:07 -04:00
Richard Kenner 922db4bb4e (find_reloads_address_1, case PLUS): When handle SUBREG, add SUBREG_WORD offset to SUBREG_REG register number.
(find_reloads_address_1, case PLUS): When handle SUBREG, add SUBREG_WORD
offset to SUBREG_REG register number.
(find_reloads_address_1, case SUBREG): If a pseudo register inside a SUBREG is
larger than the class, then reload the entire SUBREG.

From-SVN: r10197
1995-07-29 09:43:27 -04:00
Richard Kenner 1e63b23a04 ({,CROSS_}LIBGCC1): Define as empty.
From-SVN: r10196
1995-07-29 09:33:15 -04:00
Richard Kenner 12c731a540 (ASM_OUTPUT_CONSTRUCTOR): Add FILE arg to assemble_name.
From-SVN: r10195
1995-07-29 09:20:17 -04:00
Richard Kenner a63c3ebc93 (gcc_plt_call): Rewrite to avoid the need for being called by _sr4export.
(gcc_plt_call): Rewrite to avoid the need for being called by
_sr4export.  Inline expand $$dyncall to avoid the need for long-call
and PIC support.

From-SVN: r10194
1995-07-29 09:15:13 -04:00
Richard Kenner 2c545da55a (ucim.m, ucr.m, uc.m): New.
From-SVN: r10193
1995-07-29 09:11:11 -04:00
Richard Kenner 432141479b (cmpqi): Account for unsigned comparisons.
(rotrqi3, rotrhi3): Reworked.

From-SVN: r10192
1995-07-29 09:08:24 -04:00
Richard Kenner 2d1d245fcb (notice_update_cc): INCM and DECM set condition codes.
(unsigned_comparison_operator, next_cc_user_is_unsigned): New fcns.

From-SVN: r10191
1995-07-29 09:05:40 -04:00
Richard Kenner 2a99503aff (FUNCTION_EPILOGUE): Local variables freed from SP, not FP.
(ASM_OUTPUT_BYTE): Make distinct from ASM_OUTPUT_CHAR.

From-SVN: r10190
1995-07-29 07:29:56 -04:00
Richard Kenner f53b4c93f7 (LEGITIMATE_PIC_OPERAND_P): Reject CONST_DOUBLE with MEM with invalid
pic address.

From-SVN: r10189
1995-07-29 06:25:58 -04:00
Richard Kenner 7edd39eb80 (unroll_loop): When preconditioning...
(unroll_loop): When preconditioning, output code to execute loop once
if initial value is greater than or equal to final value.

From-SVN: r10188
1995-07-28 09:57:46 -04:00
Richard Kenner 185496bb2b (DO_GLOBAL_DTORS_BODY): Use an asm statement to keep the optimizer
from deleting an assignment that it is dead.

From-SVN: r10187
1995-07-28 09:39:56 -04:00
Richard Kenner ba11c17994 (pointer_int_sum): Don't distribute if intop is unsigned and not the
same size as ptrop.

From-SVN: r10186
1995-07-28 09:36:30 -04:00
Richard Kenner 307d8cd67d (assign_stack_temp): When split a slot, set base_offset and full_size in the newly created slot.
(assign_stack_temp): When split a slot, set base_offset and full_size in the
newly created slot.
(combine_temp_slots): Update full_size when slots are combined.

From-SVN: r10185
1995-07-28 09:09:22 -04:00
Richard Kenner e4931540c0 (define_peephole): Add peepholes to use r0+rN addressing mode for some
address reloads.

From-SVN: r10184
1995-07-28 09:06:44 -04:00
Richard Kenner a55e9d2b21 (reg_unused_after): New function.
From-SVN: r10183
1995-07-28 09:06:19 -04:00