Commit Graph

11486 Commits

Author SHA1 Message Date
Jeff Law
9725066d7d optabs.c (emit_cmp_insn): Immediately copy the return value from the library call into a pseudo register.
* optabs.c (emit_cmp_insn): Immediately copy the return
        value from the library call into a pseudo register.
        (emit_float_lib_cmp): Likewise.

From-SVN: r11398
1996-03-01 16:00:41 -07:00
Michael Meissner
fff4998bc9 Define ASM_OUTPUT_ALIGNED_BSS
From-SVN: r11397
1996-03-01 20:34:12 +00:00
Stan Cox
cac58785f7 (cmpxf*): XF compare cannot have mem operands.
From-SVN: r11396
1996-03-01 15:28:23 +00:00
Roland McGrath
049b9f449c Recognize cpu-vendor [ctj]90-cray, default c90-cray-unicos. From tege.
From-SVN: r11392
1996-03-01 14:57:49 +00:00
Jim Wilson
24c032e981 (push_init_level): When output padding to align structure
field, set constructor_unfilled_fields.

From-SVN: r11391
1996-02-29 17:46:19 -08:00
Jim Wilson
3d0793d589 (dbxout_type, case METHOD_TYPE): Add CHARS (1) call
after emitting second '#' character.

From-SVN: r11390
1996-02-29 17:41:00 -08:00
Stan Cox
698cdd84d5 (i386_return_pops_args): Cleanup extra argument
From-SVN: r11389
1996-02-29 22:37:10 +00:00
Doug Evans
4d46c3cec6 m68k-aout.h (BSS_SECTION_ASM_OP): Define.
* m68k/m68k-aout.h (BSS_SECTION_ASM_OP): Define.
(ASM_OUTPUT_BSS): Define.

From-SVN: r11388
1996-02-29 22:19:07 +00:00
Doug Evans
0fad591499 coff.h (BSS_SECTION_ASM_OP): Define.
* m68k/coff.h (BSS_SECTION_ASM_OP): Define.
(ASM_OUTPUT_ALIGNED_BSS): Define.

From-SVN: r11387
1996-02-29 22:18:17 +00:00
Doug Evans
f4778f92da (ASM_OUTPUT_BSS): Define.
From-SVN: r11386
1996-02-29 22:17:33 +00:00
Per Bothner
2491d23953 varasm.c (compare_constant_1): For a SET_TYPE CONSTRUCTOR, first extract and compare the set length.
* varasm.c (compare_constant_1):  For a SET_TYPE CONSTRUCTOR,
first extract and compare the set length.
* varasm.c (record_constant_1):  For SET_TYPE CONSTRUCTOR,
permanent_obstack.next_free is *end* of available space.

From-SVN: r11385
1996-02-29 10:46:58 -08:00
Jeff Law
c3d4f633e6 pa.h (TARGET_SWITCHES): Add new flags "-mlong-load-store" and "-mno-long-load-store".
* pa.h (TARGET_SWITCHES): Add new flags "-mlong-load-store" and
        "-mno-long-load-store".
        (TARGET_LONG_LOAD_STORE): Define.
        * pa.md (symbolic high part): Handle TARGET_LONG_LOAD_STORE.

From-SVN: r11384
1996-02-29 11:17:35 -07:00
Stan Cox
7e10a91972 (cmpxf*): Allow for (compare (reg:XF) (mem:XF)).
From-SVN: r11383
1996-02-29 16:47:21 +00:00
Doug Evans
24f34136ca Add comment regarding BSS_ASM_OP.
From-SVN: r11382
1996-02-29 03:18:00 +00:00
Doug Evans
a61e2761e5 Add comment regarding .bss.
From-SVN: r11381
1996-02-29 03:15:55 +00:00
Doug Evans
8a7facf891 (EXTRA_SECTIONS): Delete in_bss.
From-SVN: r11380
1996-02-29 03:13:29 +00:00
Doug Evans
f7093a42ad pa.h (EXTRA_SECTIONS): Delete in_bss.
* pa/pa.h (EXTRA_SECTIONS): Delete in_bss.
	(EXTRA_SECTION_FUNCTIONS): Delete bss_section.

From-SVN: r11379
1996-02-29 03:12:52 +00:00
Doug Evans
f3d9160755 (BC_OUTPUT_BSS): Define.
From-SVN: r11378
1996-02-29 03:11:26 +00:00
Doug Evans
7e15947553 crds.h (EXTRA_SECTIONS,EXTRA_SECTIONS_FUNCTIONS): Delete.
* m68k/crds.h (EXTRA_SECTIONS,EXTRA_SECTIONS_FUNCTIONS): Delete.
	(BSS_SECTION_ASM_OP): Define.

From-SVN: r11377
1996-02-29 03:11:02 +00:00
Doug Evans
aefc92a56c * i860/paragon.h (EXTRA_SECTIONS,EXTRA_SECTIONS_FUNCTIONS): Undef.
From-SVN: r11376
1996-02-29 03:10:24 +00:00
Doug Evans
bee62d2329 svr3gas.h (EXTRA_SECTIONS): Delete in_bss.
* i386/svr3gas.h (EXTRA_SECTIONS): Delete in_bss.
	(EXTRA_SECTION_FUNCTIONS): Delete BSS_SECTION_FUNCTION.
	(BSS_SECTION_FUNCTION): Delete.

From-SVN: r11375
1996-02-29 03:09:45 +00:00
Doug Evans
d9d87b5a22 (BSS_SECTION_FUNCTION): Delete.
From-SVN: r11374
1996-02-29 03:09:17 +00:00
Doug Evans
914cf730be sco5.h (EXTRA_SECTIONS): Delete in_bss.
* i386/sco5.h (EXTRA_SECTIONS): Delete in_bss.
	(EXTRA_SECTION_FUNCTIONS): Delete BSS_SECTION_FUNCTION.
	(BSS_SECTION_FUNCTION): Delete.

From-SVN: r11373
1996-02-29 03:08:50 +00:00
Doug Evans
87fe968527 * i386/att.h (BSS_SECTION_FUNCTION): Delete.
From-SVN: r11372
1996-02-29 03:07:55 +00:00
Doug Evans
c0d5b3ebd0 aix386ng.h (EXTRA_SECTION_FUNCTIONS): Delete BSS_SECTION_FUNCTION.
* i386/aix386ng.h (EXTRA_SECTION_FUNCTIONS): Delete
	BSS_SECTION_FUNCTION.

From-SVN: r11371
1996-02-29 03:03:45 +00:00
Doug Evans
13dfe7afcc * gmicro/gmicro.h (EXTRA_SECTIONS,EXTRA_SECTIONS_FUNCTIONS): Delete.
From-SVN: r11370
1996-02-29 03:02:38 +00:00
Doug Evans
a02303b851 dsp16xx.h (EXTRA_SECTIONS): Delete in_bss.
* dsp16xx/dsp16xx.h (EXTRA_SECTIONS): Delete in_bss.
	(EXTRA_SECTION_FUNCTIONS): Delete bss_section.

From-SVN: r11369
1996-02-29 03:02:01 +00:00
Doug Evans
0002d65bda * convex/convex.h (EXTRA_SECTIONS,EXTRA_SECTIONS_FUNCTIONS): Delete.
From-SVN: r11368
1996-02-29 03:01:12 +00:00
Doug Evans
0ec44be464 lynx.h (EXTRA_SECTIONS): Delete in_bss.
* lynx.h (EXTRA_SECTIONS): Delete in_bss.
	(EXTRA_SECTION_FUNCTIONS): Delete BSS_SECTION_FUNCTION.
	* svr3.h (EXTRA_SECTIONS): Likewise.
	(BSS_SECTION_FUNCTION): Delete.

From-SVN: r11367
1996-02-29 02:55:54 +00:00
Doug Evans
6505a117cd lynx.h (EXTRA_SECTIONS): Delete in_bss.
* lynx.h (EXTRA_SECTIONS): Delete in_bss.
	(EXTRA_SECTION_FUNCTIONS): Delete BSS_SECTION_FUNCTION.

From-SVN: r11366
1996-02-29 02:54:55 +00:00
Doug Evans
edca70fc05 (BC_OUTPUT_BSS): Define.
From-SVN: r11365
1996-02-29 02:54:09 +00:00
Doug Evans
e58870339c varasm.c (enum in_section): Define in_bss if BSS_SECTION_ASM_OP is defined.
* varasm.c (enum in_section): Define in_bss if BSS_SECTION_ASM_OP
	is defined.
	(bss_section,asm_output_bss,asm_output_aligned_bss): New functions.
	(assemble_variable): Delete redundant test for too large an object.
	Rewrite test for uninitialized variables.  Use new macros
	ASM_OUTPUT{,_ALIGNED}_BSS if defined to output global uninitialized
	but not common variables.

From-SVN: r11364
1996-02-29 02:53:44 +00:00
Jim Wilson
58b57c2c70 (FUNCTION_VALUE_REGNO_P, FUNCTION_ARG_REGNO_P): Include FP registers only when TARGET_SH3E.
(FUNCTION_VALUE_REGNO_P, FUNCTION_ARG_REGNO_P): Include FP
registers only when TARGET_SH3E.
(PASS_IN_REG_P): Exclude BLKmode only when ! TARGET_SH3E.

From-SVN: r11363
1996-02-28 14:20:46 -08:00
Mike Stump
5566b478bd 83rd Cygnus<->FSF merge
From-SVN: r11362
1996-02-28 22:01:56 +00:00
Michael Meissner
8bd04c5653 Update NT code so it works
From-SVN: r11361
1996-02-28 21:09:54 +00:00
Michael Meissner
7c59dc5dd8 try to fix NT trampolines
From-SVN: r11360
1996-02-28 17:09:44 +00:00
David Edelsohn
375490e0a5 finish up use of 'H' in DImode shifts
From-SVN: r11359
1996-02-28 00:37:25 +00:00
David Edelsohn
a66078ee00 Use new 'H' for DImode shifts and use 'h' consistently for SImode
From-SVN: r11358
1996-02-28 00:20:40 +00:00
David Edelsohn
64305719ea add 'H' to print_operand for six-bit mask
From-SVN: r11357
1996-02-28 00:19:30 +00:00
David Edelsohn
685f39066b DImode insv and extzv, movsf split
From-SVN: r11356
1996-02-27 21:39:16 +00:00
Doug Evans
92fd61996f (HANDLE_PRAGMA): Delete `return'.
This change was supposed to have been made on Feb. 1, but somehow
never got checked in.

From-SVN: r11355
1996-02-27 20:01:59 +00:00
Richard Earnshaw
04065adbf9 Update copyright message.
From-SVN: r11354
1996-02-27 13:15:13 +00:00
Richard Earnshaw
0f038b00f9 aof.h (EXTRA_SECTIONS, [...]): Remove readonly data sections.
* arm/aof.h (EXTRA_SECTIONS, EXTRA_SECTION_FUNCTIONS): Remove
readonly data sections.
(READONLYDATA_SECTION, READONLY_DATA_SECTION): Delete.

From-SVN: r11353
1996-02-27 13:15:13 +00:00
Richard Earnshaw
589fe0fc3a arm.md (*addsi3_compare0_scratch): New insn.
* arm.md (*addsi3_compare0_scratch): New insn.
(*movsi_compare0, *cmpsi_insn, *cmpsi_shiftsi): Make sure the
compare has mode CC.
(cmp{si,sf,df,xf} expands): Just provide sufficient information
to allow the parameters to be matched properly.
(*cmpsi_negsi): Delete (of dubious validity).
(*cmpsi_shiftsi_swp): New pattern.
(*condbranch_reversed): No longer needs to check REVERSIBLE_CC_MODE.
(mov{si,sf,df}cc, *mov{si,sf,df}{,_hard,_soft}_insn): The mode of the
IF_THEN_ELSE must be appropriate to the target (not void).
(*and_scc): Match cc_register, not reversible_cc_register.
(*ior_compare_compare): Delete.
(split for ior_compare_compare + condjump): Delete.
(*impossible_cond_compare): Delete.
(*condition_compare_ior): Delete.
(*cond_move): Mode for the IF_THEN_ELSE must be SImode.
(*and_scc_scc): Delete.
(split for and_scc_scc + condjump): Delete.
(*impossible_cond_branch_and): Delete.
(*cmp_ite0, *cmp_ite1): New patterns.
(if_compare_not): Should be an anonymous pattern.
(Peephole for move and compare): Compare mode must be mode CCmode.
(Split pattern for comparing shifted reg then branch): Delete.
(*loadqi_compare): Delete, replaced with a split pattern to do
the same thing.
(*cond_move_not): Match cc_register, not reversible_cc_register.
(load/store multiple peepholes): Rewrite using the above
functions.
(all patterns taking immediate_operand): If the code later assumes
this is a CONST_INT, then match const_int_operand instead.

From-SVN: r11352
1996-02-27 13:15:13 +00:00
Richard Earnshaw
84ed5e792b arm.c (aof_text_section): Remove pseudo read-only hack.
* arm.c (aof_text_section): Remove pseudo read-only hack.  Doesn't
take a parameter any more.
(arm_current_cc): Now an enum.
(ARM_INVERSE_CONDITION_CODE): Moved to arm.h
(revsersible_cc_register): Delete.
(dominant_cc_register): New function.
(select_dominance_cc_mode): New function.
(arm_select_cc_mode): New function.
(output_return_instruction): New parameter REVERSE, used to
reverse the condition of a conditional return.  All callers
changed.
(arm_print_operand case 'D'): Only suppress condition printing
if the operand is a NULL pointer.
(get_arm_condition_code): Now a static function returning
enum arm_cond_code.  Handle dominance expressions.  Return enum
values rather than integers.
({load,store}_multiple_sequence): New functions.
(emit_{ldm,stm}_seq): New functions.

From-SVN: r11351
1996-02-27 13:15:13 +00:00
Richard Earnshaw
89c7ca526d arm.h (enum arm_cond_code): New enum.
* arm.h (enum arm_cond_code): New enum.
(ARM_INVERSE_CONDITION_CODE): Moved here from arm.c.
(SELECT_CC_MODE): Call arm_select_cc_mode to do the work.
(PREDICATE_CODES): Add dominant_cc_register; delete
reversible_cc_register.

From-SVN: r11350
1996-02-27 13:15:13 +00:00
Doug Evans
967ba98d99 sparc.md: Add sparclet scheduling parameters.
* sparc/sparc.md: Add sparclet scheduling parameters.
	(compare define_insn's): Move close to compare define_expand's.
	(32 bit multiply patterns): Use for TARGET_SPARCLET.
	(smacsi,smacdi,umacdi): Multiply/accumulate patterns for the sparclet.

From-SVN: r11349
1996-02-26 22:25:48 +00:00
Jeff Law
f2be3a724b Fix typo in last change.
From-SVN: r11348
1996-02-26 10:29:16 -07:00
Michael Meissner
5ac89d9f53 Change copyright.
From-SVN: r11347
1996-02-26 14:32:34 +00:00
David Edelsohn
54d299ce72 fix movsf typo
From-SVN: r11346
1996-02-25 00:12:16 +00:00