Commit Graph

11314 Commits

Author SHA1 Message Date
Jim Wilson 326bdf5894 (USER_H): Add ginclude/va-sh.h.
From-SVN: r11486
1996-03-06 17:03:43 -08:00
Jim Wilson 385512eb87 Use va-sh.h.
From-SVN: r11485
1996-03-06 16:59:13 -08:00
Jim Wilson b4b3403773 New file.
From-SVN: r11484
1996-03-06 16:56:15 -08:00
Jeff Law e63ffc3836 lib2funcs.asm (__outline_prologue): Remove frame pointer support.
* lib2funcs.asm (__outline_prologue): Remove frame pointer
        support.
        (__outline_prologue_fp): Out of line prologue with frame pointer.
        (__outline_epilogue, outline_epilogue_fp): Similarly.
        * pa.c (compute_frame_size): Allocate enough space to avoid holes
        in the callee register saves.  Remove some special handling of %r3.
        (hppa_expand_prologue): Don't do an out of line prologue/epilogue
        if it would take more insns than an inline prologue/epilogue.
        Don't leave holes in the callee register save set.
        (hppa_expand_prologue): Corresponding changes.  Pass stack size
        to out of line epilogue code.
        * pa.h (FRAME_POINTER_REQUIRED): Revert last change.
        * pa.md (outline_prologue_call): Handle outline prologues which
        don't need frame pointers.
        (outline_epilogue_call): Similarly.
        * t-pro: Reenable multilib code.  Build a set of libraries that
        optimize for space.

From-SVN: r11483
1996-03-06 13:18:32 -07:00
Jim Wilson e4080ae4bb (PASS_IN_REG_P): Fix typo in last change.
From-SVN: r11482
1996-03-06 11:45:40 -08:00
David Edelsohn b7ff3d825a add scheduling information for stores
From-SVN: r11481
1996-03-06 16:40:14 +00:00
David Edelsohn 1ec26da6f1 602 uses 603 description
From-SVN: r11480
1996-03-06 16:38:58 +00:00
Richard Kenner eb1cb30dc4 (ASM_OUTPUT_SECTION_NAME): New define.
From-SVN: r11479
1996-03-05 18:51:38 -05:00
Richard Kenner fe4fcb3eda (SUPPORT_PASCAL_STRINGS): Deleted.
From-SVN: r11478
1996-03-05 18:49:33 -05:00
Richard Kenner e22a31dae7 Initial revision
From-SVN: r11477
1996-03-05 18:43:19 -05:00
Richard Kenner 4991a34375 (ASM_OUTPUT_CASE_END): Add missing semicolon.
(switch_table_difference_label_flag): Make extern.

From-SVN: r11476
1996-03-05 18:38:05 -05:00
Richard Kenner 973fa6914f (sys/param.h): Fix c89 __asm statements.
From-SVN: r11475
1996-03-05 18:37:33 -05:00
Richard Kenner 23dff8f093 Add -apple and -aux.
From-SVN: r11465
1996-03-05 18:34:58 -05:00
Jim Wilson 3adbde603a (find_barrier): Set si_limit to 1018 instead of 1020, and
hi_limit to 510 instead of 512.

From-SVN: r11464
1996-03-05 15:28:32 -08:00
Doug Evans 04e1602e07 sparc.md (*mov{qi,hi,si}_insn): Simplify length attribute.
* sparc/sparc.md (*mov{qi,hi,si}_insn): Simplify length attribute.
	(*movsi_insn): Use fpload/fpstore attributes for fp loads/stores.
	%r1 -> %1 for fpstore alternative.
	(*movsf_insn,*movsf_no_f_insn): %r1 -> %1.

From-SVN: r11463
1996-03-05 22:37:54 +00:00
Jason Merrill 3e29c1a88c (staticp): Check DECL_NO_STATIC_CHAIN on nested functions.
From-SVN: r11462
1996-03-05 22:16:33 +00:00
Jason Merrill 38ee6ed956 (expand_expr, case *_DECL): If we make a non-local reference from a function with DECL_NO_STATIC_CHAIN set, abort.
(expand_expr, case *_DECL): If we make a non-local
        reference from a function with DECL_NO_STATIC_CHAIN set, abort.
        (expand_expr, case ADDR_EXPR): We don't need a trampoline for a
        function with DECL_NO_STATIC_CHAIN set.

From-SVN: r11461
1996-03-05 22:16:33 +00:00
Jim Wilson e115e436ee (JUMP_TABLES_IN_TEXT_SECTION): Define.
From-SVN: r11460
1996-03-05 12:29:06 -08:00
Jim Wilson 8255ed68f7 (push_e, pop_e): Add TARGET_SH3E to condition.
From-SVN: r11459
1996-03-05 12:11:11 -08:00
Doug Evans 0b35ec04bf loop.c (init_loop): Use pseudo reg in add_cost computation so cost doesn't vary depending on...
* loop.c (init_loop): Use pseudo reg in add_cost computation
	so cost doesn't vary depending on whether reg 0 happens to be
	fixed or not.

From-SVN: r11458
1996-03-05 18:39:19 +00:00
Jeff Law 8c5b059c2d Fix typo in last change.
From-SVN: r11457
1996-03-05 09:30:04 -07:00
Richard Kenner e4afa8c855 (free): Remove declaration.
From-SVN: r11456
1996-03-05 10:28:39 -05:00
Richard Kenner e5ba7e8958 (free): Delete declaration of library function.
From-SVN: r11455
1996-03-05 10:26:14 -05:00
Richard Kenner 13684373cc (record_label_references): Check for undefined label.
From-SVN: r11454
1996-03-05 09:32:16 -05:00
Richard Kenner 8d95e9ad11 Initial revision
From-SVN: r11453
1996-03-05 09:22:13 -05:00
Richard Kenner ca10c449d6 Delete reference to thread-test directory.
From-SVN: r11452
1996-03-05 09:14:02 -05:00
Richard Kenner 10c6702fa3 Initial revision
From-SVN: r11451
1996-03-05 09:13:36 -05:00
Richard Kenner 749815a2e8 Delete reference to thread-test.
From-SVN: r11450
1996-03-05 09:13:24 -05:00
Richard Kenner 271809f768 Initial revision
From-SVN: r11449
1996-03-05 09:13:02 -05:00
Richard Kenner d50e6b7b37 (get_imp, __objc_responds_to): Surround sarray access with mutex lock/unlock.
(__objc_init_install_dtable): Likewise.
(__objc_update_dispatch_table_for_class): Likewise.
(__objc_print_dtable_stats): Likewise.

From-SVN: r11448
1996-03-05 09:12:47 -05:00
Richard Kenner 2dae9809ee (sel_get_typed_uid, sel_get_any_typed_uid): Likewise.
(sel_get_any_uid, sel_get_name, sel_register_name): Likewise.
(sel_register_typed_name): Likewise.

From-SVN: r11447
1996-03-05 09:12:08 -05:00
Richard Kenner 9f26926521 (union sversion): New.
(struct sarray): Maintain multiple versions.
(sarray_remove_garbage): Add prototype.

From-SVN: r11446
1996-03-05 09:11:25 -05:00
Richard Kenner 1ebb5fcc64 (sarray_{remove,free}_garbage): New functions.
(sarray_at_put, sarray_new, sarray_lazy_copy):
Modify/copy sarray structure/data in a thread-safe manner
(sarray_{realloc,free}): Reallocate/free sarray structure/data in a
thread-safe manner.

From-SVN: r11445
1996-03-05 09:10:50 -05:00
Richard Kenner 54d643f6f2 Include objc/thread.h.
From-SVN: r11444
1996-03-05 09:10:10 -05:00
Richard Kenner 691466c0b5 Update comments.
From-SVN: r11443
1996-03-05 09:09:10 -05:00
Richard Kenner aef85e6a98 (__objc_runtime_mutux, __objc_runtime_thread_alive): New variables.
(objc_init_statics, __objc_init_protocols): Surround sarray access
with mutex lock/unlock
(__objc_exec_class): Likewise.
Initialization for thread-safe global variables.
Declarations for thread-safe functions and global variables

From-SVN: r11442
1996-03-05 09:07:56 -05:00
Richard Kenner 53cc7066b8 (__objc_init_class_tables): Surround sarray access with mutex lock/unlock.
(__objc_add_class_to_hash, objc_lookup_class): Likewise.
(objc_get_class, objc_get_next_class): Likweise.
(__objc_resolve_class_links, class_pose_as) Likewise.

From-SVN: r11441
1996-03-05 09:06:45 -05:00
Richard Kenner 625fc99df2 Changes to compile new files and name renaming.
From-SVN: r11440
1996-03-05 09:06:02 -05:00
Richard Kenner 0ecef3cf11 (duplicate_decl): If making decl non-external, copy context from old
to new.

From-SVN: r11439
1996-03-05 07:51:14 -05:00
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