Commit Graph

3379 Commits

Author SHA1 Message Date
Jim Wilson 4ec74aebd4 (addsi3): Clean up condition for when to use subo.
(umulsidi3): New pattern.
(non-canonical nand, nor): Remove paterns.
(clrbit, notbit static bit): New patterns.
(setbit, clrbit, notbit dynamic bit): New patterns.
(setbit static bit non-canonical): Remove pattern.
(muldf3, mulsf3, multf3): Add % to operand1.
(test recognizers): Use TAB efter mnemonic.

From-SVN: r3292
1993-01-19 19:48:11 -08:00
Jim Wilson 28c9500b05 (update_reg_dead_notes): New function.
(fill_simple_delay_slots): Call new function when moving
instruction forward into a delay slot.

From-SVN: r3291
1993-01-19 17:16:59 -08:00
Jim Wilson edaf97c444 (sched_analyze_1...
(sched_analyze_1, sched_analyze_2): Ifdef out code added
for handling psuedo register equivalents that was added Dec 31 1992.

From-SVN: r3290
1993-01-19 17:13:48 -08:00
Jim Wilson c6ad27a7f3 (emit_cmp_insn, emit_float_lib_cmp): libcall comparisons return word_mode.
From-SVN: r3289
1993-01-19 17:07:34 -08:00
Jim Wilson 4be7c28fdd (cmpdi2, ucmpdi2): comparison result type is now word_mode.
From-SVN: r3288
1993-01-19 17:07:04 -08:00
Jim Wilson 0cda619493 (__eqdf2, __nedf2, __gtdf2, __gedf2, __ltdf2, __ledf2,
__eqsf2, __nesf2, __gtsf2, __gesf2, __ltsf2, __lesf2):  comparison
result type is now word_mode.

From-SVN: r3287
1993-01-19 17:06:43 -08:00
Richard Kenner cad12a8dfc (print_operand, case 'k'): New case.
From-SVN: r3286
1993-01-19 18:51:32 -05:00
Richard Kenner 0075180522 (plus of gtu patterns): Add case to handle immediates.
From-SVN: r3285
1993-01-19 18:50:54 -05:00
Richard Kenner cfcf04a6ba (find_reg): Add comment about nonlocal labels.
From-SVN: r3284
1993-01-19 18:24:27 -05:00
Richard Kenner e19f519283 (find_free_reg): Add comment about nonlocal labels.
From-SVN: r3283
1993-01-19 18:23:39 -05:00
Richard Kenner 28edebac58 (output_epilog): Only restore the cr's that we actually used;
previously, we saved and restored all of them.

From-SVN: r3282
1993-01-19 17:54:22 -05:00
James Van Artsdalen f898f03121 (fixup_var_refs_1): Set INSN_CODE to -1 before seeing if new insn form
is recognized.

From-SVN: r3281
1993-01-19 21:27:54 +00:00
Torbjorn Granlund f209ff4819 (REG_CLASS_FROM_LETTER): Remove partly incorrect PA documentation.
From-SVN: r3280
1993-01-19 21:03:36 +00:00
Torbjorn Granlund c85b896369 (print_operand): Handle 'S' and 'B' for conditions.
Handle 'I' for printing 'i' when CONST_INT.
Handle 'k' for ones-complement of CONST_INT.
(incscc_operator): Remove.

From-SVN: r3279
1993-01-19 21:03:05 +00:00
Torbjorn Granlund 6f672dc06a (define_function_unit for memory): Memory is pipelined.
(sCC patterns): Use %char notation instead of nested if stmts.
(branch matchers): Likewise.
(incscc, negscc): Likewise.  Add ? constraint for 3-insn alternative.
(incscc): Split into `incscc' and `decscc' to make this really
match.
(incscc/decscc special cases): New patterns using carry bit.

(many patterns): Use canonical address format.  Use %r
register notation.  Use GEN_INT.

(main move SF recognizer): Allow 0 for copying to general register.

(zero_extendhisi2): Remove DEFINE_EXPAND.
(zero_extendqihi2): Likewise.
(zero_extendqisi2): Likewise.
(comment before sign extension): Remove the lie.

From-SVN: r3278
1993-01-19 21:00:43 +00:00
Richard Stallman 439f602793 (build_compound_expr): Use non_lvalue if value is 0.
From-SVN: r3277
1993-01-19 15:09:34 +00:00
Richard Stallman d023bff9eb (non_lvalue): Result must not be null ptr constant.
(omit_one_operand): Use non_lvalue.
(fold, case COMPOUND_EXPR): Use non_lvalue if value is 0.

From-SVN: r3276
1993-01-19 15:09:12 +00:00
Richard Kenner 441cedbd68 (combine_instructions): Clear reg_last_set_label.
From-SVN: r3275
1993-01-19 08:28:55 -05:00
Richard Stallman c844ddda6f (local_prefix): new prefix, the default is /usr/local.
(cccp.o): change LOCAL_INCLUDE_DIR to $(local_prefix)/include.

From-SVN: r3274
1993-01-19 08:54:40 +00:00
Richard Stallman 812e2cfeca Targets and deps objc-actions.* renamed to objc-act.*.
From-SVN: r3273
1993-01-19 03:23:00 +00:00
Richard Stallman e58232cd7b Include objc-act.h.
From-SVN: r3272
1993-01-19 03:21:31 +00:00
Richard Stallman 25eddb2cc5 Comment change.
From-SVN: r3271
1993-01-19 03:20:52 +00:00
Richard Stallman 51480b1e3e (encode_method_def): Null-terminate encoding.
(build_ivar_list_initializer): Null-terminate type encoding.

From-SVN: r3270
1993-01-19 03:18:50 +00:00
Richard Stallman ee40befe32 (include_defaults): Do use GCC_INCLUDE_DIR for cross compiler.
Move TOOL_INCLUDE_DIR later if cross.

From-SVN: r3269
1993-01-18 20:30:49 +00:00
Jim Wilson 428e0ca8c8 (emit_library_call): Handle OUTGOING_REG_PARM_STACK_SPACE.
Use NULL_TREE instead of (tree) 0.

From-SVN: r3268
1993-01-18 10:55:02 -08:00
Jim Wilson 89742723e5 (emit_move_insn, expand_expr): Fix typos in comments.
From-SVN: r3267
1993-01-18 10:52:38 -08:00
Jim Wilson 8da4cd09fb (initialize_builtins): Add uses of new macros
NO_BUILTIN_SIZE_TYPE and NO_BUILTIN_PTRDIFF_TYPE.

From-SVN: r3266
1993-01-18 10:47:57 -08:00
Jim Wilson b46db6e4f4 (ROUND): Change macro name to ROUND_PARM.
From-SVN: r3265
1993-01-18 10:44:27 -08:00
Jim Wilson 025a8875ba (i960_function_arg_advance, i960_function_arg): Likewise.
From-SVN: r3264
1993-01-18 10:44:06 -08:00
Jim Wilson 1375607443 (make_signed_type): Consistently use HOST_BITS_PER_WIDE_INT.
(make_signed_type): Consistently use
HOST_BITS_PER_WIDE_INT.  Correct minor formatting problems.
(fixup_signed_type): Use HOST_BITS_PER_WIDE_INT and HOST_WIDE_INT
like make_signed_type does.
(fixup_unsigned_type): Correct minor formatting problem.

From-SVN: r3263
1993-01-18 10:41:46 -08:00
Ian Lance Taylor 1f050b9b26 Delete header files from include before copying them in
From-SVN: r3262
1993-01-18 16:12:57 +00:00
Richard Kenner aee42e2745 (choose_temp_base, main): Fix "off by one" errors in sizes of
allocated strings.

From-SVN: r3261
1993-01-18 06:23:11 -05:00
Richard Stallman dd30a199df (process_command): Fix typo in last change.
From-SVN: r3260
1993-01-18 05:34:03 +00:00
Jeff Law 5de7c240a0 pa.h (FP_REG_CLASS_P): New macro.
* pa.h (FP_REG_CLASS_P): New macro.
	(REGISTER_MOVE_COST): Use FP_REG_CLASS_P to simplify.  Make
	copies from the SAR so expensive that they should never happen.

From-SVN: r3259
1993-01-17 11:07:59 -07:00
Torbjorn Granlund f133af4c91 (emit_move_sequence): Fix spacing.
(compute_zdepi_operands): Fix header comment.
(many functions): Use %%r register syntax.  Use canonical (0,%rN)
address format.
(output_function_prologue): No need to test frame_pointer_needed
in else clause of `if (frame_pointer_needed)'.
(output_function_prologue): Test boolean merge_sp_adjust_with_store
for zeroness, not for equality with 1.
(fmpyaddoperands): Use new variable mode for mode of operands[0].
(fmpysuboperands): Likewise.

From-SVN: r3258
1993-01-17 15:50:34 +00:00
Jeff Law c226422058 * pa.c (shadd_constant_p): New function.
From-SVN: r3257
1993-01-15 19:11:15 -07:00
Jeff Law 85bc031ea4 pa.h (LEGITIMIZE_ADDRESS): Handle (plus (mult (X) (Y)) (Z)) when Y is 2, 4, or 8 specially.
* pa.h LEGITIMIZE_ADDRESS): Handle (plus (mult (X) (Y)) (Z))
	when Y is 2, 4, or 8 specially.

From-SVN: r3256
1993-01-15 19:10:32 -07:00
Jeff Law f9b06ea445 * integrate.c (FIXED_BASE_PLUS_P): Fix typo.
From-SVN: r3255
1993-01-15 17:32:00 -07:00
Jeff Law da0c128ece loop.c (move_movables): Clear INSN_CODE for eachinsn as we perform register replacements.
* loop.c (move_movables): Clear INSN_CODE for eachinsn as
	we perform register replacements.
	(strength_reduce): Likewise.

From-SVN: r3254
1993-01-15 14:41:27 -07:00
Brendan Kehoe cb25ac928c With previous change, don't fail on `-l'.
From-SVN: r3253
1993-01-15 16:30:53 -05:00
Brendan Kehoe c716c35df1 Undo previous change.
From-SVN: r3252
1993-01-15 16:01:03 -05:00
Ian Lance Taylor ff852b457f Avoid problems with relative $(srcdir) when installing syslimits.h.
From-SVN: r3251
1993-01-15 06:10:54 +00:00
Brendan Kehoe a2468e45b4 c-decl.c (c_decode_option): Set WARN_UNINITIALIZED to 2 with -Wall...
* c-decl.c (c_decode_option): Set WARN_UNINITIALIZED to 2 with
        -Wall, being careful to preserve it if it's already set.
        * cp-decl2.c (lang_decode_option): Likewise.
        * toplev.c (main): Warn about using -Wuninitialized without -O.

From-SVN: r3250
1993-01-14 19:35:00 -05:00
Brendan Kehoe 48fb792a91 gcc.c (process_command): Only accept input files which exist and can be read...
* gcc.c (process_command): Only accept input files which exist and
        can be read; prevent link phase if an input file was rejected.
        (error_count): Make into a static global variable.

From-SVN: r3249
1993-01-14 19:19:25 -05:00
Brendan Kehoe 3dac0de51f cccp.c (main): Trim down to the basename of what's to go in PROGNAME.
* cccp.c (main): Trim down to the basename of what's to go in
        PROGNAME.

From-SVN: r3248
1993-01-14 19:19:10 -05:00
Jeff Law 96f66730d8 * pa.h (CONDITIONAL_REGISTER_USAGE): Do not make %r27 a global_reg.
From-SVN: r3247
1993-01-14 16:55:59 -07:00
Jeff Law 4971c587de pa.c (output_function_prologue): Combine stack adjustment and first GR save when reasonable to do so.
* pa.c (output_function_prologue): Combine stack adjustment and
	first GR save when reasonable to do so.
	(output_function_epilogue): Combine stack adjustment and first
	GR restore when reasonable to do so.  Avoid load/use stall for
	RP restore in common cases.

From-SVN: r3246
1993-01-14 16:45:40 -07:00
Richard Kenner 6627e97414 Change `config/' to `config/mips/'.
From-SVN: r3245
1993-01-14 18:23:21 -05:00
Jeff Law 0bfe5f016e Fix typo.
From-SVN: r3244
1993-01-14 15:00:22 -07:00
Jeff Law f014712100 pa.h (LEGITIMIZE_ADDRESS): Rework to create REG or REG+D addresses instead of REG+REG addresses.
* pa.h (LEGITIMIZE_ADDRESS): Rework to create REG or REG+D
	addresses instead of REG+REG addresses.

From-SVN: r3243
1993-01-14 14:50:18 -07:00