Commit Graph

3391 Commits

Author SHA1 Message Date
Brendan Kehoe c5d3565c62 Cygnus<-->FSF merge.
From-SVN: r3304
1993-01-22 18:10:33 -05:00
Brendan Kehoe eaff4f5a57 Cygnus<-->FSF merge
From-SVN: r3303
1993-01-22 18:05:01 -05:00
Torbjorn Granlund 936b69b36b (SIZE_TYPE): Define.
(NO_DOLLAR_IN_LABEL): Define.

From-SVN: r3302
1993-01-22 20:08:29 +00:00
Jeff Law 2ccc7d7f45 * pa.c (secondary_reload_class): Simplify.
From-SVN: r3301
1993-01-22 10:19:18 -07:00
Richard Kenner 8207ec0452 (emit_library_call): Correct mis-applied patch.
From-SVN: r3300
1993-01-22 07:56:45 -05:00
Richard Kenner 720653a39b (our_file_name): New variable.
(find_a_file): Ignore filename equal to that in our_file_name.
(main): Initialize our_file_name.

From-SVN: r3299
1993-01-22 07:56:23 -05:00
Jeff Law 4d3cea21c7 * pa.c (emit_move_sequence): Handle secondary reloads for SAR.
From-SVN: r3298
1993-01-21 09:34:59 -07:00
Jeff Law 5a6cbc3795 pa.h (REG_CLASSES): Delete GENERAL_OR_FP_OR_SNAKE_FP register class, it's not needed anymore.
* pa.h (REG_CLASSES): Delete GENERAL_OR_FP_OR_SNAKE_FP register
	class, it's not needed anymore.  Delete all references.  'Z'
	register class is now "ALL_REGS".

From-SVN: r3297
1993-01-21 09:34:04 -07:00
James Van Artsdalen 08a7baacfb (cmpM_cc): Allow first operand to be a MEM.
Don't allow both operands to be MEM.
(float addM3,subM3,divM3,mulM3 recognizers): Don't allow either operand
to be a constant.
(all float patterns, FLOAT_EXTEND operands): Don't allow GENERAL_REGS
for float_extended operand.
(all float patterns, FLOAT operands): Change constraints to get better
register classification.
(fix_truncMN2 patterns): Likewise.
(floatMN2 patterns): Likewise.

From-SVN: r3296
1993-01-20 06:48:48 +00:00
James Van Artsdalen 85ff473e56 (PREFERRED_RELOAD_CLASS): Narrow ALL_REGS to GENERAL_REGS.
(PREFERRED_OUTPUT_RELOAD_CLASS): New macro.  Narrow ALL_REGS to GENERAL_REGS.
(SECONDARY_MEMORY_NEEDED): New macro.

From-SVN: r3295
1993-01-20 06:45:28 +00:00
James Van Artsdalen eca3150117 (all functions): Use NULL_RTX instead of 0 for rtx comparisons.
(emit_pop_insn): Emit insn with mode QImode: insn contains stack-regs.
(emit_hard_swap_insn): Delete.
(emit_swap_insn): Merge with emit_hard_swap_insn.
Delete WHEN arg and change all callers.
If previous insn was a push from REG, omit swap.
If previous insn wrote reg-stack top to REG, omit swap.
Emit swap insn with mode QImode: insn contains stack-regs.
Emit swap insn after previous float insn, instead of before this one.
(swap_rtx_condition): New function.
(compare_for_stack_reg): If op 0 of COMPARE is not a stack reg, exchange
ops 0 and 1 and swap cc0 user condition.

From-SVN: r3294
1993-01-20 06:39:06 +00:00
Jim Wilson b47de04b08 (cmplpower2_operand): New function.
From-SVN: r3293
1993-01-19 19:48:54 -08:00
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