Commit Graph

3467 Commits

Author SHA1 Message Date
Torbjorn Granlund
c210e6aeae (divsi3, udivsi3, modsi3, umodsi3): Simplify.
(ashlsi3): Clean up indentation and commentary.

From-SVN: r9541
1995-04-29 10:06:54 +00:00
Stan Cox
6e4e5f1b49 (ENDFILE_SPEC, LIB_SPEC) Fix crtbegin and crtend
From-SVN: r9539
1995-04-28 17:04:06 +00:00
Stan Cox
50dc89b594 (umulsidi3) Doesn't work for 88110 with mod/div changes
,.

From-SVN: r9538
1995-04-28 17:04:06 +00:00
Stan Cox
1dd4b7a8b1 (FRAME_POINTER_REQUIRED) Add -momit-leaf-frame-pointer
From-SVN: r9537
1995-04-28 17:04:06 +00:00
Stan Cox
17a2962cbb (symbolic_operand) Put relocatable pic constants in data
From-SVN: r9536
1995-04-28 17:04:06 +00:00
Stan Cox
60678486db (GCC_FOR_TARGET) tdesc gets mixed up for crtbegin/crtend
From-SVN: r9535
1995-04-28 17:04:06 +00:00
Richard Kenner
7ac18cf65b (mov[sd]i and splits): Change call to alpha_emit_set_const.
From-SVN: r9533
1995-04-28 10:38:02 -04:00
Richard Kenner
c8e9adecbb (alpha_emit_set_const): Add declaration.
From-SVN: r9532
1995-04-28 10:37:45 -04:00
Richard Kenner
fd94addf1d (alpha_emit_set_const): Now returns rtx and take MODE arg.
Rework to use a new pseudo for intermediate values if high opt level.
Also use expand_{bin,un}op.

From-SVN: r9531
1995-04-28 10:37:27 -04:00
Doug Evans
5406e08aa9 sparc.md (tablejump): Only if ! TARGET_MEDANY.
* sparc/sparc.md (tablejump): Only if ! TARGET_MEDANY.
	(casesi): New pattern for TARGET_MEDANY case.

From-SVN: r9527
1995-04-28 02:04:32 +00:00
Doug Evans
19a0120cb0 (RETURN_POPS_ARGS): Call lookup_attribute.
(ENCODE_SECTION_INFO): Likewise.
(CPP_PREDEFINES): Use __stdcall__, __cdecl__.
(VALID_MACHINE_DECL_ATTRIBUTE): Call is_attribute_p.
`args' must be NULL.

From-SVN: r9525
1995-04-28 01:12:58 +00:00
Richard Kenner
d56d506a92 New anonymous patterns to combine insert with arbitrary ashift, ashiftrt,
lshiftrt, or zero_extract.  (Based on patch from John Brooks <jbrooks@ea.com>.)
(ashlsi3): Remove extraneous operand processing.

From-SVN: r9523
1995-04-27 21:10:25 -04:00
Jim Wilson
b8b7ac24e3 (ashiftrt_r4_*): Rewrite for efficiency.
(ashrsi3, lshrsi3, lshrsi3): Add.

From-SVN: r9521
1995-04-27 18:08:43 -07:00
Jim Wilson
597bc2d495 (LIB1ASMFUNCS): Add new functions.
(LIBGCC2_CFLAGS): Delete.
(LIB2FUNCS_EXTRA): Remove deleted files.
(ashlsi3.c, ashrsi3.c, lshrsi3.c): Remove rules for deleted files.

From-SVN: r9518
1995-04-27 18:07:22 -07:00
Jim Wilson
e4e7289175 Clean up white space.
From-SVN: r9517
1995-04-27 18:06:19 -07:00
Jim Wilson
46fccf9e33 Delete two define_peepholes which print `bad peephole'.
From-SVN: r9515
1995-04-27 15:46:53 -07:00
Michael Meissner
d8f9c2096a Support for pre-BFD versions of Linux ld.
From-SVN: r9508
1995-04-27 18:27:28 +00:00
Richard Kenner
c276186e8e Initial revision
From-SVN: r9503
1995-04-27 08:05:51 -04:00
Richard Kenner
89f0bef317 (ashrsi2_31): Don't use dead_or_set_p after reload.
From-SVN: r9492
1995-04-26 18:19:38 -04:00
Richard Kenner
d8ddc751ee Remove bad peepholes that improperly use dead_or_set_p.
From-SVN: r9491
1995-04-26 18:16:50 -04:00
Jim Wilson
27da6752fc (NEGTF2_LIBCALL): Define.
(INIT_TARGET_OPTABS): Add support for all TFmode *_LIBCALL macros.

From-SVN: r9481
1995-04-26 12:16:21 -07:00
Jim Wilson
99f762bff7 (truncdiqi2+[456]): Add patterns to simplify ZERO_EXTEND
of a TRUNCATE.

From-SVN: r9478
1995-04-26 11:06:52 -07:00
Doug Evans
6ac342776a (memop): Deleted.
(splittable_symbolic_memory_operand): New function.
(splittable_immediate_memory_operand): New function.

From-SVN: r9477
1995-04-26 17:01:05 +00:00
Doug Evans
d750d0def7 (memop define_splits): Rewrite to not use memop.
Preserve MEM_IN_STRUCT_P, MEM_VOLATILE_P, RTX_UNCHANGING_P bits.

From-SVN: r9476
1995-04-26 16:59:55 +00:00
Richard Kenner
f5945faf82 (alpha_builtin_saveregs): Refine last change to work for both stdarg
and varargs.

From-SVN: r9470
1995-04-25 22:48:27 -04:00
Jeff Law
5eceed922a pa.c (emit_move_sequence): Handle function label arithmetic for PIC code generation too.
* pa.c (emit_move_sequence): Handle function label arithmetic for
	PIC code generation too.

From-SVN: r9469
1995-04-25 17:49:45 -06:00
Jim Wilson
4cfd37163a (CPP_SPEC): Define.
From-SVN: r9466
1995-04-25 16:18:01 -07:00
Richard Kenner
d8b679b944 (untyped_call): Make it return a complex double.
From-SVN: r9464
1995-04-25 19:10:10 -04:00
Jim Wilson
713ff25294 (INIT_ENVIRONMENT): Define as string not putenv call.
From-SVN: r9453
1995-04-25 15:38:15 -07:00
Richard Kenner
d14d353d13 (current_file_function_operand): Return false if profiling.
From-SVN: r9448
1995-04-25 17:43:07 -04:00
Richard Kenner
c89e8dc28f (CONST_OK_FOR_LETTER_P, case 'L'): Reject 0x80000000.
From-SVN: r9446
1995-04-25 16:36:31 -04:00
Richard Kenner
e6118f890d (add_operand): Test for exactly the constants allowed by the
constraints.

From-SVN: r9445
1995-04-25 16:36:05 -04:00
Michael Meissner
17ea663341 Do not allow DFs to use 2 register addressing if -msoft-float
From-SVN: r9441
1995-04-25 19:46:08 +00:00
Richard Kenner
2ac5334923 (divhi3, udivhi3, modhi3, umodhi3): Deleted these insns plus some surrounding trash.
(divhi3, udivhi3, modhi3, umodhi3): Deleted these insns plus some
surrounding trash.
(divmodhi4, udivmodhi4): Added these insns.

From-SVN: r9440
1995-04-25 15:45:30 -04:00
Richard Kenner
007cac0f1a Initial revision
From-SVN: r9438
1995-04-25 12:42:00 -04:00
Richard Kenner
622ff7098e (alpha_builtin_saveregs): Add to incoming args addr if less than 6
named args, not less than or equal to.

From-SVN: r9437
1995-04-25 10:12:34 -04:00
Torbjorn Granlund
87c7361897 (call_internal_reg): Fix typos in length calculation.
(call_value_internal_reg): Likewise.

From-SVN: r9432
1995-04-21 23:39:23 +00:00
Roland McGrath
635b02bf02 (STANDARD_INCLUDE_DIR): New macro.
From-SVN: r9431
1995-04-21 17:18:23 +00:00
Roland McGrath
a825be5a91 (STANDARD_INCLUDE_DIR): Macro moved to generic gnu.h.
From-SVN: r9430
1995-04-21 17:17:09 +00:00
Jim Wilson
8aa2a30584 Completely rewritten.
From-SVN: r9423
1995-04-20 18:19:27 -07:00
Jim Wilson
058f9bb586 (FAST_BIT, CONSTLEN_2_BIT, CONSTLEN_3_BIT, CONSTLEN_0_BIT,
TARGET_FASTCODE, TARGET_CLEN3, TARGET_CLEN0, TARGET_OPTIONS): Delete.
(TARGET_SWITCHES): Delete -mclen3 and -mclen0 options.
(TARGET_DEFAULT): Is zero.
(OVERRIDE_OPTIONS): Delete code to set max_count_si and max_count_hi.
(SPECIAL_REG): New macro.
(HARD_REGNO_MODE_OK): Allow any mode in any general register.
(GO_IF_LEGITIMATE_ADDRESS): Delete constant + reg address case.
(MOVE_RATIO): Define to 2 when TARGET_SMALLCODE.
(max_si, max_hi, max_count_si, max_count_hi): Delete.

From-SVN: r9422
1995-04-20 18:19:03 -07:00
Jim Wilson
51aea58dad Delete spurious constraints from all define_expands.
(rotlsi3_1): Set T reg instead of clobbering it.
(ashrsi3): Use expand_ashiftrt instead of gen_shifty_op.
(movsi_i, movhi_i, movsf_i): Add conditions to reject patterns
needing a reload.
(movdi-2, movdf_k): Correct conditions to reject patterns needing
a reload.
([inverse_]branch_{true,false}): Pass operands to output_branch.
(jump): Delete unnecessary braces.
(call, call_value): Don't use expand_acall.  Force operand0 into
a register.

From-SVN: r9421
1995-04-20 18:18:26 -07:00
Torbjorn Granlund
a01408abbe (TARGET_SWITCHES): Fix typo.
From-SVN: r9419
1995-04-19 21:49:24 +00:00
Per Bothner
b2b6cc0a55 (FIXPROTO_DEFINES): Define _HPUX_SOURCE so putenv gets seen.
From-SVN: r9415
1995-04-18 17:23:29 -07:00
Michael Meissner
3b7f6cca35 Do not generate mem->mem SF moves if -msoft-float
From-SVN: r9408
1995-04-18 18:08:17 +00:00
Jason Merrill
2dccb50ab9 ASM_OUTPUT_EXTERNAL revisited
From-SVN: r9404
1995-04-18 06:35:02 +00:00
Per Bothner
a471bbffa4 * config/mips/x-iris6 (FIXPROTO_DEFINES): Add -D_LANGUAGE_C_PLUS_PLUS.
From-SVN: r9401
1995-04-17 16:30:56 -07:00
Per Bothner
c9e5aa3180 * config/mips/x-iris (FIXPROTO_DEFINES): Add -D_LANGUAGE_C_PLUS_PLUS.
From-SVN: r9400
1995-04-17 16:30:38 -07:00
Jim Wilson
c4ae4e1116 (ASM_IDENTIFY_GCC, ASM_IDENTIFY_LANGUAGE): Define.
From-SVN: r9399
1995-04-17 14:06:01 -07:00
Jim Wilson
c009da4ff8 (CPP_SPECS): Define and use _ABI64 instead of _MIPS_SIM_ABI64.
(CPP_SPECS): Define and use _ABI64 instead of
_MIPS_SIM_ABI64.
(SETUP_INCOMING_VARARGS): Set MEM_IN_STRUCT_P if big endian target.

From-SVN: r9398
1995-04-17 14:05:40 -07:00