1. 04 Dec, 2001 17 commits
    • defineclass.cc (handleMethodsEnd): Invoke verifier here... · 64d3a1b4
      	* defineclass.cc (handleMethodsEnd): Invoke verifier here...
      	(handleCodeAttribute): ... not here.
      	* verify.cc (_Jv_BytecodeVerifier::state::state): Use `copy', not
      	structure assignment.
      
      From-SVN: r47591
      Tom Tromey committed
    • mips.h (CALL_REALLY_USED_REGISTERS): New macro. · 2ca2d9ee
      2001-12-03  Eric Christopher  <echristo@redhat.com>
      
      	* config/mips/mips.h (CALL_REALLY_USED_REGISTERS): New macro.
      	* config/mips/mips.md: Check TARGET_DEBUG_D_MODE before split
      	patterns.
      
      From-SVN: r47590
      Eric Christopher committed
    • New test. · 0d204c2d
      From-SVN: r47589
      Richard Henderson committed
    • parse.y (patch_binop): Minor constant folding. · 87d4ad08
      
      	* parse.y (patch_binop):  Minor constant folding.
      
      	* parse.y (build_current_thisn):  Shorter 'buffer'.
      
      From-SVN: r47588
      Per Bothner committed
    • decl.c (complete_start_java_method): Now generate TRY_FINALLY_EXPR instead of… · aedcdb65
      decl.c (complete_start_java_method): Now generate TRY_FINALLY_EXPR instead of CLEANUP_POINT_EXPR and WITH_CLEANUP_EXPR.
      
      
      	* decl.c (complete_start_java_method):  Now generate TRY_FINALLY_EXPR
      	instead of CLEANUP_POINT_EXPR and WITH_CLEANUP_EXPR.
      	* jcf-write.c (generate_bytecode_insns):  Remove support for
      	CLEANUP_POINT_EXPR and WITH_CLEANUP_EXPR as they are no longer used.
      	* check-init.c (check_init):  Likewise.
      
      From-SVN: r47587
      Per Bothner committed
    • string-inst.cc (string::_Rep::_S_terminal): Add static data member instantiations. · 3acc0e76
      
      2001-12-03  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* src/string-inst.cc (string::_Rep::_S_terminal): Add static data
      	member instantiations.
      
      From-SVN: r47586
      Benjamin Kosnik committed
    • New test for __builtin_prefetch. · be18831b
      From-SVN: r47585
      Janis Johnson committed
    • Test for __builtin_prefetch. · 2511b9c4
      From-SVN: r47584
      Janis Johnson committed
    • builtin-prefetch-1.c: New test. · 86890024
      	* gcc.c-torture/execute/builtin-prefetch-1.c: New test.
      	* gcc.c-torture/execute/builtin-prefetch-2.c: New test.
      	* gcc.c-torture/execute/builtin-prefetch-3.c: New test.
      	* gcc.c-torture/execute/builtin-prefetch-4.c: New test.
      	* gcc.c-torture/execute/builtin-prefetch-5.c: New test.
      	* gcc.dg/builtin-prefetch-1.c: New test.
      
      From-SVN: r47583
      Janis Johnson committed
    • builtin-types.def (BT_FN_VOID_PTR_INT_INT): New. · a9ccbb60
      	* builtin-types.def (BT_FN_VOID_PTR_INT_INT): New.
      	* builtins.def (BUILT_IN_PREFETCH): New.
      	* builtins.c (expand_builtin_expect): New.
      	  (expand_builtin): Call it.
      	* doc/extend.texi: Document __builtin_expect.
      
      From-SVN: r47582
      Janis Johnson committed
    • rtl.def (PREFETCH): New rtx code. · 21b8482a
      	* rtl.def (PREFETCH): New rtx code.
      	* doc/rtl.texi (PREFETCH): Add documentation.
      	* function.c (instantiate_virtual_regs_1): Handle PREFETCH rtx.
      	* rtlanal.c (reg_referenced_p): Ditto.
      	* sched-vis.c (print_exp):  Ditto.
      	* ssa-dce.c (find_inherently_necessary):  Ditto.
      
      From-SVN: r47580
      Janis Johnson committed
    • ia64.h (SIMULTANEOUS PREFETCHES): Define. · 44eca121
      	* config/ia64/ia64.h (SIMULTANEOUS PREFETCHES): Define.
      	  (PREFETCH_BLOCK): Define.
      	* config/ia64/ia64.md (itanium_class): Add lfetch.
      	  (prefetch, prefetch_internal): New.
      
      From-SVN: r47579
      Janis Johnson committed
    • ia64.h (SIMULTANEOUS PREFETCHES): Define. · 8527852a
      	* config/ia64/ia64.h (SIMULTANEOUS PREFETCHES): Define.
      	  (PREFETCH_BLOCK): Define.
      	* config/ia64/ia64.md (itanium_class): Add lfetch.
      	  (prefetch, prefetch_internal): New.
      	  prefetch_sse.
      
      From-SVN: r47578
      Janis Johnson committed
    • i386.md (prefetch): Rename as prefetch_sse to avoid conflicts with new generic… · 7a9aba6c
      i386.md (prefetch): Rename as prefetch_sse to avoid conflicts with new generic prefetch functionality.
      
      	* config/i386/i386.md (prefetch): Rename as prefetch_sse to avoid
      	  conflicts with new generic prefetch functionality.
      	* config/i386/i386.c (ix86_expand_builtin): Use new name for
      	  prefetch_sse.
      
      From-SVN: r47577
      Janis Johnson committed
    • rtl.def (PREFETCH): New rtx code. · cc164822
      	* rtl.def (PREFETCH): New rtx code.
      	* doc/rtl.texi (PREFETCH): Add documentation.
      	* function.c (instantiate_virtual_regs_1): Handle PREFETCH rtx.
      	* rtlanal.c (reg_referenced_p): Ditto.
      	* sched-vis.c (print_exp):  Ditto.
      	* ssa-dce.c (find_inherently_necessary):  Ditto.
      
      	* config/ia64/ia64.h (SIMULTANEOUS PREFETCHES): Define.
      	  (PREFETCH_BLOCK): Define.
      	* config/ia64/ia64.md (itanium_class): Add lfetch.
      	  (prefetch, prefetch_internal): New.
      
      	* builtin-types.def (BT_FN_VOID_PTR_INT_INT): New.
      	* builtins.def (BUILT_IN_PREFETCH): New.
      	* builtins.c (expand_builtin_expect): New.
      	  (expand_builtin): Call it.
      	* doc/extend.texi: Document __builtin_expect.
      
      	* config/i386/i386.md (prefetch): Rename as prefetch_sse to avoid
      	  conflicts with new generic prefetch functionality.
      	* config/i386/i386.c (ix86_expand_builtin): Use new name for
      	  prefetch_sse.
      
      From-SVN: r47576
      Janis Johnson committed
    • Make-lang.in: Update copyright. · 4e089a75
              * objc/Make-lang.in: Update copyright.
              (OBJC_OBJS): Add objc-lang.o.
              (objc-lang.o): New rule.
              * objc/config-lang.in: Fix file description and update
              copyright.
              * objc/objc-act.c: Do not include langhooks.h and
              langhooks-def.h
              (lang_hooks): Move (along with LANG_HOOKS...) to objc-lang.c.
              (objc_post_options): Move to objc-lang.c.
              (objc_init_options): Move to objc-lang.c.
              (objc_init): Make non-static.
              (HASHFUNCTION): Remove macro.
              (hash_func): New function.
              (hash_enter): Replace HASHFUNCTION with hash_func.
              (hash_lookup): Replace HASHFUNCTION with hash_func.
              (maybe_objc_tree_codes): New function.
              (init_objc): Move ObjC tree code initialization to
              maybe_objc_tree_codes().
              * objc/objc-act.h (GCC_OBJC_ACT_H): New include guard.
              (objc_init): New public prototype.
              (objc_decode_option): New public prototype.
              (maybe_add_objc_tree_codes): New public prototype.
              * objc/objc-lang.c: New file.
              (lang_hooks): Moved from objc-act.c.
              (objc_post_options): Moved from objc-act.c.
              (objc_init_options): Moved from objc-act.c.
      
      From-SVN: r47575
      Ziemowit Laski committed
    • Doc update for -maix-struct-return patch · 9904592e
      From-SVN: r47574
      Zack Weinberg committed
  2. 03 Dec, 2001 23 commits