Commit Graph

11475 Commits

Author SHA1 Message Date
Jeff Law
9e18f57555 lib2funcs.asm (__outline_prologue): New "function".
* lib2funcs.asm (__outline_prologue): New "function".
        (__outline_epilogue): New "function".
        * pa.h (TARGET_SPACE): Define.
        (target_flags): Add -mspace and -mno-space.  Enable/disable
        space saving optimizations.
        (FRAME_POINTER_REQUIRED): Frame pointers are always required
        when generating out of line prologues and epilogues.
        * pa.c (compute_frame_size): Handle out of line prologues/epilogues.
        (hppa_expand_prologue): If optimizing for space, emit an out of
        line prologue.
        * pa.c (compute_frame_size): Handle out of line prologues/epilogues.
        (hppa_expand_prologue): If optimizing for space, emit an out of
        line prologue.
        (hppa_expand_epilogue): Similarly.
        (override_options): Optimizing for space is not compatable with
        either profiling or PIC code generation.
        * pa.md (outline_prologue_call): New pattern.
        (outline_epilogue_call): Likewise.

From-SVN: r11438
1996-03-05 00:34:13 -07:00
Doug Evans
9ad2334b60 sparc.md (*cmp{si,di}_insn): %r0 -> %0.
* sparc/sparc.md (*cmp{si,di}_insn): %r0 -> %0.
	(DFmode move split): Ensure registers not extended v9 fp regs.
	(*mov{sf,df,tf}_cc_reg_sp64): %r3 -> %3.

From-SVN: r11437
1996-03-05 07:16:53 +00:00
Erik Naggum
7ea7263d65 (moss): Fix previous change.
From-SVN: r11435
1996-03-05 04:02:45 +01:00
Doug Evans
6125f3bee8 (grokdeclarator): Restore #if 0's to disable decl_machine_attr references.
From-SVN: r11434
1996-03-05 00:34:32 +00:00
Manfred Hollstein
7ea63af7db manfred@lts.sel.alcatel.de
From-SVN: r11433
1996-03-04 18:49:28 -05:00
Richard Kenner
8b7677befe (L_bb/atexit, onexit): Declarations replaced by #include'ing "gbl-ctors.h".
(L_exit/atexit): New function.
(L_exit/exit): Call any registered functions.

From-SVN: r11432
1996-03-04 18:46:29 -05:00
Richard Kenner
a3a55d6a38 (HAVE_ATEXIT): Define if NEED_ATEXIT is defined.
(atexit): Use `int atexit' prototype also if NEED_ATEXIT is defined.
(on_exit): According to man on_exit on the Sun it returns int not void.

From-SVN: r11431
1996-03-04 18:45:47 -05:00
Richard Kenner
948260f6fe (USG): Set to 1.
From-SVN: r11430
1996-03-04 18:44:47 -05:00
Richard Kenner
ad8445f4da Initial revision
From-SVN: r11429
1996-03-04 18:44:17 -05:00
Richard Kenner
1e6869a54e (FUNCTION_PROFILER): Emit label references corresponding to those generated by ASM_OUTPUT_INTERNAL_LABEL.
(FUNCTION_PROFILER): Emit label references corresponding to those generated
by ASM_OUTPUT_INTERNAL_LABEL.
(MOTOROLA, MOTOROLA_BSR, ...): Define #ifndef USE_GAS.
(ASM_SPEC): Define properly #ifdef USE_GAS.
(LIB_SPEC): -L/usr/lib/libp deleted.
(STARTFILE_SPEC): -L/usr/lib/libp added.
(DEFAULT_A_OUT_NAME): Define.
(LINK_SPEC): Pass -v if GNU ld is used.
(LOCAL_LABEL_PREFIX): Local labels start with .L using GAS, else L%.
(USER_LABEL_PREFIX): Undefine.
(FUNCTION_PROFILER): Call asm_fprintf instead of normal fprintf.
(ASM_APP_ON, ASM_FILE_START): GAS supports it.
(CTORS_.../DTORS_...): Define if GNU ld is used.
(ASM_FILE_START): Define properly for Motorola and GNU as syntax.
(TARGET_VERSION): Re-define only #ifndef USE_GAS.
(CALL_USED_REGISTERS): Deleted.
(GLOBAL_ASM_OP): Re-define only #ifndef USE_GAS.
(ASM_{LONG,SHORT,CHAR,BYTE,BYTE_OP}): New macros.
(ASM_OUTPUT_{DOUBLE,LONG_DOUBLE,FLOAT,INT,SHORT}): Use them.
(ASM_OUTPUT_{CHAR,BYTE,ASCII,FLOAT_OPERAND,DOUBLE_OPERAND}): Likewise.
(ALIGN_ASM_OP, SKIP_ASM_OP): New macros.
(ASM_OUTPUT_{ALIGN,SKIP}): Use them.
(ASM_OUTPUT_SOURCE_FILENAME): Define only if not using GNU as.
(ASM_{GENERATE,OUTPUT}_INTERAL_LABEL): Provide proper definitions for
Motorola and GNU as syntax.
(ASM_OUTPUT_ADDR_{VEC,DIFF}_ELT): Changed for portability between
Motorola and GNU as syntax.
(ASM_OUTPUT_{CASE_LABEL,OPCODE}): Define only if not using GNU as.
(ASM_OUTPUT_CASE_FETCH, ASM_RETURN_CASE_JUMP): New macros.
(ASM_OUTPUT_{COMMON,LOCAL}): Proper defns for Motorola and gas syntax.
(SDB_...): Define only for Motorola as.
(ALT_LIBM): New define to tell g++.c about an alternative name for `-lm'.
(MATH_LIBRARY, NEED_ATEXIT, HAVE_ATEXIT, EXIT_BODY): New macros.

From-SVN: r11428
1996-03-04 18:42:46 -05:00
Richard Kenner
3f889ae8a9 (print_operand): Emit .l as scale factor #ifdef MOTOROLA.
From-SVN: r11427
1996-03-04 18:40:06 -05:00
Richard Kenner
e1c2b28d21 (main): Check new define DEFAULT_A_OUT_NAME.
From-SVN: r11426
1996-03-04 18:39:47 -05:00
Richard Kenner
522170ca63 (CRT0STUFF_T_CFLAGS): New macro.
(stamp-crt0, crt0.o, mcrt0.o): New goals.
(STAGESTUFF): stamp-crt0 added.

From-SVN: r11425
1996-03-04 18:39:06 -05:00
Jim Wilson
2425db7e17 (PASS_IN_REG_P): Don't reject BLKmode for SH3e.
For SH3e, do reject parameter that won't fit entirely in registers.

From-SVN: r11424
1996-03-04 15:38:50 -08:00
Jim Wilson
af55dae3a3 (mulhisi3-2, mulhisi3-1, mulsidi3_i, umulsidi3_i,
smulsi3_highpart, umulsi3_highpart): Renames operands 1/2 to 0/1.
(mulsidi3, umulsidi3): Add support for TARGET_LITTLE_ENDIAN.

From-SVN: r11423
1996-03-04 15:07:38 -08:00
Richard Kenner
0947013b9a Initial revision
From-SVN: r11422
1996-03-04 18:03:33 -05:00
Richard Kenner
04d802cad9 Accept -moss* as op sys.
From-SVN: r11421
1996-03-04 18:03:15 -05:00
Mike Stump
5483085748 Remove a Cygnus FSF difference, so the tree will build.
From-SVN: r11420
1996-03-04 22:46:30 +00:00
Jim Wilson
c1e8e6bd23 (machine_dependent_reorg): In TARGET_RELAX code...
(machine_dependent_reorg): In TARGET_RELAX code, when scan
forward from LINK, fail if pass a CODE_LABEL before finding INSN.
Fail if SCAN not INSN is a JUMP_INSN.

From-SVN: r11419
1996-03-04 14:37:57 -08:00
Doug Evans
f2d82a9550 Update copyright.
From-SVN: r11418
1996-03-04 20:18:45 +00:00
Michael Meissner
5a19791c51 Fix typo in last change.
From-SVN: r11417
1996-03-04 20:06:58 +00:00
Michael Meissner
6a4cee5fdb Add attribute((longcall)) support
From-SVN: r11416
1996-03-04 16:34:29 +00:00
Richard Kenner
de3a68a106 (significand_size): Don't test the modes, but their sizes.
From-SVN: r11415
1996-03-04 08:57:43 -05:00
Richard Kenner
541180f92a (xstrdup): Declare instead of instead of strdup.
(ASM_OUTPUT_LABEL): Use xstrdup instead of strdup.
(FIX_FRAME_POINTER_ADDRESS): Don't use DEPTH in string.

From-SVN: r11414
1996-03-04 08:42:03 -05:00
Richard Kenner
42b8bb14ed (strdup): Delete.
(float_label):  xstrdup instead of strdup.

From-SVN: r11413
1996-03-04 08:40:48 -05:00
Richard Kenner
f6127c6a4a (bc_expand_function_start): Likewise.
From-SVN: r11412
1996-03-04 08:40:01 -05:00
Richard Kenner
3d8e9bc243 (bc_strdup): Delete.
(bc_load_externaddr_id): Use xstrdup instead of bc_xstrdup.

From-SVN: r11411
1996-03-04 08:39:11 -05:00
Richard Kenner
e3b79a32f8 (bc_xstrdup): Delete.
From-SVN: r11410
1996-03-04 08:38:39 -05:00
Richard Kenner
fa58294a56 (xstrdup): Declare.
From-SVN: r11409
1996-03-04 08:36:43 -05:00
Richard Kenner
3e386b9e9d (xstrdup): New function.
From-SVN: r11408
1996-03-04 08:36:14 -05:00
Richard Kenner
bb380e9d21 (xstrdup): Moved from here.
From-SVN: r11407
1996-03-04 08:35:34 -05:00
Richard Kenner
a0f675b312 (NO_WAIT_H): Deleted.
From-SVN: r11406
1996-03-04 08:24:34 -05:00
Richard Kenner
e2616dde30 Never include wait.h.
From-SVN: r11405
1996-03-04 08:23:11 -05:00
Richard Kenner
ba3a053e4d (expand_call): If passing by invisible ref, not const.
From-SVN: r11404
1996-03-02 14:30:32 -05:00
Doug Evans
a490482938 h8300.h (BIGGEST_FIELD_ALIGNMENT): Replace uses of TARGET_ALIGN_STRUCT_300 with TARGET_ALIGN_300.
* h8300.h (BIGGEST_FIELD_ALIGNMENT): Replace uses of
	TARGET_ALIGN_STRUCT_300 with TARGET_ALIGN_300.
	(BIGGEST_ALIGNMENT): Likewise.

From-SVN: r11403
1996-03-02 18:40:11 +00:00
Richard Kenner
06b967f926 (SKIP_CALLERS_UNIMP_P): Make agree with test used in call.
From-SVN: r11402
1996-03-02 12:44:23 -05:00
Richard Kenner
d80f96e9a8 (do_jump, case COMPOUND_EXPR): Call preserve_temp_slots.
From-SVN: r11401
1996-03-02 10:18:24 -05:00
Richard Kenner
d011fbf978 (fold, case *_DIV_EXPR): Ignore SAVE_EXPR if has RTL.
From-SVN: r11400
1996-03-02 08:04:30 -05:00
Mike Stump
ec25526966 84th Cygnus<->FSF merge
From-SVN: r11399
1996-03-02 01:49:15 +00:00
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