Commit Graph

6429 Commits

Author SHA1 Message Date
Jim Wilson
cb1520bc9f (expand_units): When calculate BLOCKAGE, reverse terms to POS_MINUS_OP.
(expand_units): When calculate BLOCKAGE, reverse
terms to POS_MINUS_OP.  Clarify comment before BLOCKAGE computation.
(write_complex_function): Use EXECUTING_INSN for first switch, and
CANDIDATE_INSN for second switch.

From-SVN: r6442
1994-01-31 12:43:02 -08:00
Jim Wilson
8cfaf7a7bb (TARGET_DEFFAULT): Add -mapp-regs.
From-SVN: r6441
1994-01-31 12:35:27 -08:00
Jim Wilson
34ad7aaf78 (TARGET_APP_REGS): Define.
(TARGET_SWITCHES): Add new options -mapp-regs and -mno-app-regs.
(TARGET_DEFAULT): Add -mapp-regs.
(CONDITIONAL_REGISTER_USAGE): Make %g2, %g3, and %g4 be fixed when
the -mno-app-regs option is used.

From-SVN: r6440
1994-01-31 12:34:58 -08:00
Jim Wilson
10a78a0a2a (TARGET_DEFAULT): Delete.
From-SVN: r6439
1994-01-31 12:34:29 -08:00
Jim Wilson
6cef330c37 (STARTFILE_SPEC): Include values-X[cta].o file in link.
From-SVN: r6438
1994-01-31 12:28:39 -08:00
Jim Wilson
9509444c68 (ASM_OUTPUT_LFE): Output absolute line number not
relative line number.

From-SVN: r6437
1994-01-31 12:19:28 -08:00
Richard Kenner
05ed5d57d9 (find_auto_inc): Check for increment using single_set.
From-SVN: r6436
1994-01-28 19:19:59 -05:00
Richard Kenner
b77dfefc0c (fsel): Remove insns with record bit set.
From-SVN: r6435
1994-01-28 19:11:02 -05:00
Richard Kenner
28c1753a1b (output_prolog): Fix typo in previous change.
From-SVN: r6434
1994-01-27 18:22:20 -05:00
Per Bothner
ca1f6b57bb * c-typeck.c (initializer_constant_valid_p): Make non-static.
From-SVN: r6433
1994-01-26 15:24:12 -08:00
Jim Wilson
5124001030 (attach_deaths_insn): Add REG_DEAD notes to CLOBBER if
it is for a MEM.

From-SVN: r6432
1994-01-26 10:56:51 -08:00
Richard Kenner
2197a88a8c (HASHBITS): Removed.
(HASH, struct set, canon_hash, safe_hash, remove_from_table):
Generate and use unsigned hash values, to avoid potential trouble
with signed shift/overflow.
Also name variables consistently: "hash", not "hash_code".
(lookup, lookup_for_remove, insert, merge_equiv_classes): Likewise.
(invalidate, rehash_using_reg, invalidate_for_call): Likewise.
(find_best_addr, record_jump_cond, cse_insn):  Likewise.

From-SVN: r6431
1994-01-25 08:29:50 -05:00
Jim Wilson
bc8a0e39b7 (store_split_bit_field): Reject gen_lowpart_common
output if it returns the input value.

From-SVN: r6430
1994-01-24 16:33:14 -08:00
Jim Wilson
9033081d38 (store_split_bit_field): For BYTES_BIG_ENDIAN, only
pad on left if value not in memory.

From-SVN: r6429
1994-01-24 16:24:18 -08:00
Jim Wilson
648a09eed9 (copy_loop_body): When delete simplified condjump,
protect the label, so that it doesn't get deleted also.

From-SVN: r6428
1994-01-24 16:19:48 -08:00
Jim Wilson
453dfc7887 (compile_file): If yyparse returns an error, pop all
pending binding levels.

From-SVN: r6427
1994-01-24 15:59:48 -08:00
Doug Evans
ff942a9829 #ifdef out uses of TypedStream for the alpha, not supported yet.
From-SVN: r6426
1994-01-24 23:28:33 +00:00
Jim Wilson
a0a74fda8d (ADDRESS_COST): Define to 1.
From-SVN: r6425
1994-01-24 14:56:27 -08:00
Jim Wilson
cf9188c193 (sparc_address_cost): Delete.
From-SVN: r6424
1994-01-24 14:55:49 -08:00
Jim Wilson
d10b5bca4e (ASM_OUTPUT_NEWLINE): New default for new macro.
(ASM_OUTPUT_ASCII): Use ASM_OUTPUT_NEWLINE.

From-SVN: r6423
1994-01-24 14:52:18 -08:00
Jim Wilson
de74274fd2 (ASM_OUTPUT_NEWLINE): Define new macro.
From-SVN: r6422
1994-01-24 14:51:58 -08:00
Jim Wilson
b277ceaf60 (ASM_OUTPUT_COMMON): Don't output .global. Use SIZE not ROUNDED.
(ASM_OUTPUT_LOCAL): Delete.
(ASM_OUTPUT_ALIGNED_LOCAL): Define.

From-SVN: r6421
1994-01-24 14:40:31 -08:00
Richard Kenner
2d55b7e858 (find_reloads): Properly test for output operand when changing
RELOAD_FOR_OUTPUT_ADDRESS to RELOAD_FOR_INPUT_ADDRESS.

From-SVN: r6420
1994-01-23 20:11:18 -05:00
Richard Kenner
b65c1b5b01 (subst, case SUBREG): Handle paradoxical SUBREG of constant.
(IF_THEN_ELSE): Add missing "else" and check for comparison before
calling reversible_comparison_p.

From-SVN: r6419
1994-01-23 19:40:58 -05:00
Richard Kenner
127e4d19bd (do_jump_for_compare): Initialize JUMP_LABEL for the branch insn
before trying to invert it.

From-SVN: r6418
1994-01-23 18:56:41 -05:00
Richard Kenner
0d9ac0a81e (ASM_FILE_START): Delete; identical to one in bsd.h, which is
included.

From-SVN: r6417
1994-01-23 18:40:17 -05:00
Richard Kenner
3de59d54ce (PATH_SEPARATOR): New macro.
From-SVN: r6416
1994-01-23 18:39:56 -05:00
Richard Kenner
6c8c8a4b0d Assume GAS 2.x used and add support for debugging.
From-SVN: r6415
1994-01-23 18:21:18 -05:00
Richard Kenner
b5ff0f707c (output_init_elements): Use FIELD instead of constructor_fields when doing alignment and sizing.
(output_init_elements): Use FIELD instead of constructor_fields when
doing alignment and sizing.
(output_pending_init_elements): Don't blow up when writing other than
first field put haven't written anything yet.  Update
constructor_bit_index when we emit a skip.

From-SVN: r6414
1994-01-23 09:11:44 -05:00
Richard Kenner
16411ea68b (rest_of_compilation): Defer compilation of function that were specified as inline...
(rest_of_compilation): Defer compilation of function that were
specified as inline, whether or not they actually were inlined.

From-SVN: r6413
1994-01-23 08:13:51 -05:00
Richard Kenner
a62cc6e767 Initial revision
From-SVN: r6412
1994-01-23 07:30:50 -05:00
Richard Kenner
34fa88ab0b (OBJECT_FORMAT_COFF, EXTENDED_COFF, NM_FLAGS): Define.
From-SVN: r6411
1994-01-23 07:30:31 -05:00
Richard Kenner
ad25ba1779 (simplify_comparison): Can remove NOT on both operands if we swap
comparison code.

From-SVN: r6410
1994-01-23 07:00:29 -05:00
Richard Kenner
2f607b946a Insert some missing blank lines.
From-SVN: r6409
1994-01-23 06:35:39 -05:00
Richard Kenner
5b9589fe78 (output_{pro,epi}log): Use assemble_name to output
alpha_function_name.

From-SVN: r6408
1994-01-23 06:22:46 -05:00
Richard Kenner
67232b230e (simplify_comparison): Fix typo in last change.
From-SVN: r6407
1994-01-23 06:18:50 -05:00
Richard Kenner
5cb7368c66 (really_start_incremental_init): Save current elements instead of
clearing them.

From-SVN: r6406
1994-01-23 05:59:15 -05:00
Richard Kenner
88a3dbc1a9 (c_expand_return): Issue a warning if returning address of non-static
local object.

From-SVN: r6405
1994-01-22 17:18:10 -05:00
Richard Kenner
3a19aabc45 (if_then_else_cond): Don't do anything with COMPARE.
(simplify_comparison): Strip SIGN_EXTEND, NOT, or NEG when both operands
have it.

From-SVN: r6404
1994-01-22 16:50:41 -05:00
Richard Kenner
0c314d1ab0 (num_sign_bit_copies): Ifndef WORD_REGISTER_OPERATIONS, ensure we
don't do the wrong thing if X is narrower than MODE.

From-SVN: r6403
1994-01-22 15:50:06 -05:00
Jeff Law
abb6b72073 pa.h (ASM_OUTPUT_SOURCE_LINE): Make the first source line stab for each procedure special to avoid the need...
* pa.h (ASM_OUTPUT_SOURCE_LINE): Make the first source
	line stab for each procedure special to avoid the need
	for nasty hacks in GAS.

From-SVN: r6402
1994-01-19 23:08:37 -07:00
Jeff Law
ac7198efaf * pa.md (iorscc): Fix typo.
From-SVN: r6401
1994-01-19 23:05:32 -07:00
Torbjorn Granlund
9153589571 (ASM_GLOBALIZE_LABEL): Don't globalize function labels here.
From-SVN: r6400
1994-01-20 00:34:47 +00:00
Jim Wilson
ced21a3242 (xcoffout_begin_block): Don't emit a .bb for the function level scope.
(xcoffout_begin_block): Don't emit a .bb for the
function level scope.
(xcoffout_end_block): Don't emit a .eb for the function level
scope.

From-SVN: r6399
1994-01-17 13:37:52 -08:00
Richard Stallman
23729c44ab Delete duplicate clauses for hp9k2... and hp9k31...
From-SVN: r6398
1994-01-16 19:31:08 +00:00
Richard Stallman
12d725cbd5 Alphabetize the list of machine-name aliases.
Add nh3000 and nh[45]000.

From-SVN: r6397
1994-01-16 19:30:01 +00:00
Jim Wilson
903df3fecd (smulsi3_highpart): New pattern.
(umulsi3_highpart): New pattern.

From-SVN: r6396
1994-01-15 15:44:42 -08:00
Jim Wilson
e783e4c2b3 (smulsi3_highpart): New pattern.
(umulsi3_highpart): New pattern.

From-SVN: r6395
1994-01-15 15:06:17 -08:00
Jim Wilson
33a3539d43 Add 64 bit support.
From-SVN: r6394
1994-01-13 15:54:09 -08:00
Jim Wilson
bb621ad7c4 (cpu): Add r4600.
(define_function_unit): Correct numerous errors.  Add r4600.
(adddi3*, subdi3*, mulsidi3, umulsidi3, negdi2*, one_cmpdl2*,
nordi2*, anddi2*, iordi3*, xordi3*, movdi*, ashldi3*, ashrdi3*,
lshrdi3*, seq, sne, sgt, sge, slt, sle, sgtu, sgeu, sltu, sleu,
indirect_jump, tablejump, call*, call_value*): Add 64 bit support.
(adddi3_internal_3, addsi3_internal_2, subdi3_internal_3,
subsi3_internal_2, muldi3, muldi3_internal, divmoddi4, udivmoddi4,
divdi3, moddi3, udivdi3, umoddi3, absdi3, ffsdi2,
negdi2_internal_2, anddi3_internal1, xordi3_immed, truncdisi2,
truncdihi2, truncdiqi2, zero_extendsidi2,
zero_extendsidi2_interal, zero_extendhidi2, zero_extendqidi2,
extendsidi2, extendhidi2, extendhidi2_internal, extendqidi2,
extendqidi2_insn, fix_truncdfdi2, fix_truncsfdi2, floatdidf2,
floatdisf2, fixuns_truncdfdi2, fixuns_truncdfsi2,
ashldi3_internal4, ashrdi3_internal_4, lshrdi3_internal4, cmpdi,
tstdi, branch_zero_di, branch_equality_di, seq_di_zero, seq_di,
sne_di_zero, sne_di, sgt_di, sge_di, slt_di, sle_di_const,
sle_di_reg, sgtu_di, sgeu_di, sltu_di, sleu_di_const, sleu_di_reg,
indirect_jump_internal1, indirect_jump_internal2,
tablejump_internal1, tablejump_internal2): New patterns.
(mulsi3): Add missing mips_move_1word parameter.
(mulsi3+1): Don't split on r4000.
(divmodsi4, udivmodsi4, udivsi3, umodsi3): Correct lengths.
(divsi3, modsi3, udivsi3, umodsi3): Allow constant operands.
(sqrtdf2, sqrtsf2): Correct type attribute.
(abssi2): Add mips2 support.
(movsi_unaligned, movsi_ulw, movsi_usw): Comment out.
(movsf, movdf): Use F not E.
(cmpdf, cmpsf, branch_fp*, s{eq,ne,lt,le,gt,ge}_[ds]f): Depend on
TARGET_HARD_FLOAT.

From-SVN: r6393
1994-01-13 15:52:43 -08:00