1. 29 Aug, 2002 11 commits
    • h8300.c (shift_alg_hi): Various tweaks to improve performance of HImode shifts. · 5e98fba2
              * h8300.c (shift_alg_hi): Various tweaks to improve performance
              of HImode shifts.
              (get_shift_alg): Corresponding changes.
      
      From-SVN: r56665
      Dhananjay R. Deshpande committed
    • * som.h (ALWAYS_STRIP_DOTDOT): Define to 1. · 43852342
      From-SVN: r56664
      John David Anglin committed
    • expr.h (enum block_op_methods): New. · 44bb111a
              * expr.h (enum block_op_methods): New.
              (emit_block_move): Update prototype.
              * expr.c (block_move_libcall_safe_for_call_parm): New.
              (emit_block_move_via_loop): New.
              (emit_block_move): Use them.  New argument METHOD.
              (emit_push_insn): Always respect the given alignment.
              (expand_assignment): Update call to emit_block_move.
              (store_expr, store_field, expand_expr): Likewise.
              * builtins.c (expand_builtin_apply): Likewise.
              (expand_builtin_memcpy, expand_builtin_va_copy): Likewise.
              * function.c (expand_function_end): Likewise.
              * config/sh/sh.c (sh_initialize_trampoline): Likewise.
              * config/sparc/sparc.c (sparc_va_arg): Likewise.
              * calls.c (expand_call, emit_library_call_value_1): Likewise.
              (save_fixed_argument_area): Use emit_block_move with
              BLOCK_OP_CALL_PARM instead of move_by_pieces.
              (restore_fixed_argument_area): Likewise.
              (store_one_arg): Fix alignment parameter to emit_push_insn.
      
      From-SVN: r56661
      Richard Henderson committed
    • DatagramPacket.java: updated to JDK 1.4 API new methods are... · 54f3c60d
      2002-08-29  Michael Koch  <konqueror@gmx.de>
      
      	* java/net/DatagramPacket.java: updated to JDK 1.4 API
      	new methods are:
      	DatagramPacket(byte[] buf, int offset, int length, SocketAddress
      	  address),
      	DatagramPacket(byte[] buf, int length, SocketAddress address),
      	void setSocketAddress(SocketAddress address)
      	public SocketAddress getSocketAddress()
      
      From-SVN: r56659
      Michael Koch committed
    • natFileDescriptorPosix.cc (setLength): Handle case where ftruncate is missing. · 0148e1ee
      	* java/io/natFileDescriptorPosix.cc (setLength): Handle case where
      	ftruncate is missing.
      	* configure, include/config.h.in: Rebuilt.
      	* acconfig.h (HAVE_FTRUNCATE): Mention.
      	* configure.in: Check for ftruncate.
      
      From-SVN: r56658
      Tom Tromey committed
    • jvm.h (struct _Jv_frame_info): New structure. · 3308c46e
      	* include/jvm.h (struct _Jv_frame_info): New structure.
      	* gnu/gcj/runtime/natNameFinder.cc: Include StringBuffer.h,
      	java-interp.h.
      	(lookupInterp): New method.
      	(getAddrAsString): Use _Jv_frame_info.
      	(dladdrLookup): Likewise.
      	* gnu/gcj/runtime/NameFinder.java (lookup): Try to look up
      	interpreted frame.
      	(lookupInterp): Declare.
      	* java/lang/natVMThrowable.cc: Include Thread.h, java-interp.h.
      	(fillInStackTrace): Collect information on interpreted frames.
      	Use _Jv_frame_info.
      	* interpret.cc: Include Thread.h.
      	(run): Create and push _Jv_MethodChain object.
      	(_Jv_EndOfInterpreter): New global.
      	* java/lang/Thread.java (interp_frame): New field.
      	* include/java-interp.h (struct _Jv_MethodChain): New structure.
      	Include NameFinder.h.
      
      From-SVN: r56657
      Tom Tromey committed
    • oops - fix typo in date · ce4e9970
      From-SVN: r56655
      Nick Clifton committed
    • v850.h (MULDI3_LIBCALL, [...]): Define. · 8376061d
          * config/v850/v850.h (MULDI3_LIBCALL, UCMPDI2_LIBCALL, CMPDI2_LIBCALL,
          NEGDI2_LIBCALL, INIT_TARGET_OPTABS, MASK_STRICT_ALIGN): Define.
          (PREDICATE_CODES): Include new predicates.
          (RTX_COSTS): Handle UMOD and UDIV.  Tune MULT for v850e.
          (TARGET_SWITCHES):  Add strict-align.
          (TARGET_STRICT_ALIGN): New.
          (MASK_DEFAULT, STRICT_ALIGNMENT):  Redefine.
          * config/v850/t-v850 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES):
          Define.
          (LIB1ASMFUNCS): Add v850_negdi2, v850_cmpdi2, v850_ucmpdi2,
          v850_muldi3.
          * config/v850/lib1funcs.asm (L_callt_save_r2_r29, L_return_r2_r29,
          L_callt_save_r2_r31, L_return_r2_r31,
          L_save_all_interrupt): Change addi to add.
          (L_save_interrupt, L_return_interrupt): Rework.
          (__return_r31):  Correct .size directive.
          (mulsi3, divsi3, udivsi3, umodsi3, modsi3): Tune for v850e.
          (v850_negdi2, v850_cmpdi2, v850_ucmpdi2, v850_muldi3):
          New routines.
          * config/v850/v850.c (expand_prologue): Call
          gen_callt_save_interrupt, gen_callt_restore_all_interrupt,
          gen_callt_return_interrupt and gen_callt_save_all_interrupt.
          (reg_or_int9_operand): New predicate.
          (reg_or_const_operand): New routine.
          * config/v850/v850.md (return_interrupt): Changed from
          restore_interrupt.
          (callt_save_all_interrupt): Changed from save_all_interrupt_v850e.
          (callt_save_interrupt): Change save sequence.
          (callt_return_interrupt): New.
          (save_interrupt): Don't use runtime function for LONG_CALLS
          and TARGET_PROLOG_FUNCTION.
          (save_all_interrupt): Likewise.
          (mulsi3): Use new predicate.
          (moviscc): Disallow some combination of constants.
          Fix define_split for sasf insns, so that it will not generate bad
          code if operand0 and operand5 are the same.
          * config/v850/v850-protos.h: Prototype new predicates.
      
      From-SVN: r56654
      Catherine Moore committed
    • cpu_limits.h: New file. · 25cf8398
      * config/cpu/arm/cpu_limits.h: New file.
      * configure.target: Use config/cpu/arm for XScale and StrongARM
      configurations.
      
      From-SVN: r56653
      Richard Earnshaw committed
    • Daily bump. · bc3d46d0
      From-SVN: r56652
      GCC Administrator committed
  2. 28 Aug, 2002 10 commits
  3. 27 Aug, 2002 19 commits
    • natConstructor.cc (newInstance): Initialize class. · f8799933
      	* java/lang/reflect/natConstructor.cc (newInstance): Initialize
      	class.
      	* java/lang/reflect/natMethod.cc (invoke): Initialize class.
      
      From-SVN: r56624
      Tom Tromey committed
    • Fix typo · 7ee425e4
      From-SVN: r56619
      Mark Mitchell committed
    • c-common.c (warn_abi): New variable. · eca7f13c
      	* c-common.c (warn_abi): New variable.
      	* c-common.h (warn_abi): Likewise.
      	* c-opts.c (COMMAND_LINE_OPTIONS): Add -Wabi.
      	(c_common_decode_option): Handle it.
      	* doc/invoke.texi:P Document -Wabi.
      
      	* class.c (layout_virtual_bases): Warn about bugs in G++ that
      	result in incorrect object layouts.
      	(layout_class_type): Likewise.
      
      	* testsuite/g++.dg/abi/bitfield5.C: New test.
      	* testsuite/g++.dg/abi/vbase10.C: Likewise.
      
      From-SVN: r56618
      Mark Mitchell committed
    • New objc.dg test for new -Wundeclared-selector ObjC option · c350f8c1
      From-SVN: r56616
      Nicola Pero committed
    • Added -Wundeclared-selector ObjC command line option · ece4ce85
      From-SVN: r56615
      Nicola Pero committed
    • * g++.dg/other/offsetof1.C: Avoid cast warning. · ac2a2d6f
      From-SVN: r56614
      Nathan Sidwell committed
    • std_limits.h (__glibcpp_f32_infinity_bytes, [...]): New macros. · 2559486f
      	* include/std/std_limits.h (__glibcpp_f32_infinity_bytes,
       	__glibcpp_f32_has_infinity, __glibcpp_f32_QNaN_bytes,
      	__glibcpp_f32_has_QNaN, __glibcpp_f32_SNaN_bytes,
      	__glibcpp_f32_has_SNaN, __glibcpp_f32_denorm_min_bytes,
      	__glibcpp_f32_has_denorm, __glibcpp_f32_is_iec559,
      	__glibcpp_f64_infinity_bytes,
      	__glibcpp_f64_has_infinity, __glibcpp_f64_QNaN_bytes,
      	__glibcpp_f64_has_QNaN, __glibcpp_f64_SNaN_bytes,
      	__glibcpp_f64_has_SNaN, __glibcpp_f64_denorm_min_bytes,
      	__glibcpp_f64_has_denorm, __glibcpp_f64_is_iec559,
      	__glibcpp_f80_infinity_bytes,
      	__glibcpp_f80_has_infinity, __glibcpp_f80_QNaN_bytes,
      	__glibcpp_f80_has_QNaN, __glibcpp_f80_SNaN_bytes,
      	__glibcpp_f80_has_SNaN, __glibcpp_f80_denorm_min_bytes,
      	__glibcpp_f80_has_denorm, __glibcpp_f80_is_iec559,
      	__glibcpp_f96_infinity_bytes,
      	__glibcpp_f96_has_infinity, __glibcpp_f96_QNaN_bytes,
      	__glibcpp_f96_has_QNaN, __glibcpp_f96_SNaN_bytes,
      	__glibcpp_f96_has_SNaN, __glibcpp_f96_denorm_min_bytes,
      	__glibcpp_f96_has_denorm, __glibcpp_f96_is_iec559,
       	__glibcpp_f128_infinity_bytes,
       	__glibcpp_f128_has_infinity, __glibcpp_f128_QNaN_bytes,
      	__glibcpp_f128_has_QNaN, __glibcpp_f128_SNaN_bytes,
      	__glibcpp_f128_has_SNaN, __glibcpp_f128_denorm_min_bytes,
      	__glibcpp_f128_has_denorm, __glibcpp_f128_is_iec559,
      	__glibcpp_float_infinity_bytes,
      	__glibcpp_float_has_infinity, __glibcpp_float_QNaN_bytes,
      	__glibcpp_float_has_QNaN, __glibcpp_float_SNaN_bytes,
      	__glibcpp_float_has_SNaN, __glibcpp_float_denorm_min_bytes,
      	__glibcpp_float_has_denorm, __glibcpp_float_is_iec559,
      	__glibcpp_double_infinity_bytes,
      	__glibcpp_double_has_infinity, __glibcpp_double_QNaN_bytes,
      	__glibcpp_double_has_QNaN, __glibcpp_double_SNaN_bytes,
      	__glibcpp_double_has_SNaN, __glibcpp_double_denorm_min_bytes,
      	__glibcpp_double_has_denorm, __glibcpp_double_is_iec559,
      	__glibcpp_long_double_infinity_bytes,
      	__glibcpp_long_double_has_infinity, __glibcpp_long_double_QNaN_bytes,
      	__glibcpp_long_double_has_QNaN, __glibcpp_long_double_SNaN_bytes,
      	__glibcpp_long_double_has_SNaN, __glibcpp_long_double_denorm_min_bytes,
      	__glibcpp_long_double_has_denorm, __glibcpp_long_double_is_iec559:
      	New macros.
      	(__glibcpp_word_bits, __glibcpp_word): Likewise.
      	(__glibcpp_byte): New typedef.
      	(__float_storage, __double_storage, __long_double_storage): New types.
      	(__glibcpp_float_infinity, __glibcpp_float_QNaN,
      	__glibcpp_float_SNaN, __glibcpp_float_denorm_min): Now
      	objects. Declare.
      	(__glibcpp_double_infinity, __glibcpp_double_QNaN,
      	__glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
      	(__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
      	__glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
      	Likewise.
      
      	* src/limits.cc (__glibcpp_float_infinity, __glibcpp_float_QNaN,
      	__glibcpp_float_SNaN, __glibcpp_float_denorm_min): Define.
      	(__glibcpp_double_infinity, __glibcpp_double_QNaN,
      	__glibcpp_double_SNaN, __glibcpp_double_denorm_min): Likewise.
      	(__glibcpp_long_double_infinity, __glibcpp_long_double_QNaN,
      	__glibcpp_long_double_SNaN, __glibcpp_long_double_denorm_min):
      	Likewise.
      
      From-SVN: r56613
      Gabriel Dos Reis committed
    • config.gcc: Add v850e-*-* target. · b4378319
      2002-08-27  Nick Clifton  <nickc@redhat.com>
                  Catherine Moore  <clm@redhat.com>
                  Jim Wilson  <wilson@cygnus.com>
              * config.gcc: Add v850e-*-* target.
              Add --with-cpu= support for v850.
              * config/v850/lib1funcs.asm: Add v850e callt functions.
              * config/v850/v850.h: Add support for v850e target.
              * config/v850/v850.c: Add functions to support v850e target.
              * config/v850/v850-protos.h: Add prototypes for new functions in v850.c.
              * config/v850/v850.md: Add patterns for v850e instructions.
              * doc/invoke.texi: Document new v850e command line switches.
      
      Co-Authored-By: Catherine Moore <clm@redhat.com>
      Co-Authored-By: Jim Wilson <wilson@cygnus.com>
      
      From-SVN: r56612
      Nick Clifton committed
    • * MAINTAINERS (Write After Approval): Add self. · 361d6b42
      From-SVN: r56611
      Matt Austern committed
    • Aldy Hernandez <aldyh at redhat dot com> · ef261fee
      Tue Aug 27 18:30:47 2002  J"orn Rennecke <joern.rennecke@superh.com>
      			  Aldy Hernandez <aldyh at redhat dot com>
      
      	* doc/tm.texi: Applied numerous fixes to the automaton based
      	scheduler descrition.
      
      Co-Authored-By: Aldy Hernandez <aldyh@redhat.com>
      
      From-SVN: r56610
      J"orn Rennecke committed
    • * i386.c (classify_argument): Handle variable sized objects. · c60ee6f5
      From-SVN: r56609
      Jan Hubicka committed
    • BindException.java, [...]: add/update of some @since/@deprecated · 49c3c980
      2002-08-27  Michael Koch <konqueror@gmx.de>
      
      	* java/net/BindException.java,
      	java/net/JarURLConnection.java,
      	java/net/FileNameMap.java,
      	java/net/HttpURLConnection.java,
      	java/net/InetSocketAddress.java,
      	java/net/DatagramPacket.java,
      	java/net/DatagramSocket.java,
      	java/net/DatagramSocketImpl.java,
      	java/net/MulticastSocket.java,
      	java/net/PasswordAuthentication.java,
      	java/net/ServerSocket.java,
      	java/net/Socket.java,
      	java/net/URLClassLoader.java,
      	java/net/URLConnection.java: add/update of some @since/@deprecated
      
      From-SVN: r56608
      Michael Koch committed
    • * i386.c (ix86_expand_int_movcc): Fix RTL sharing problem · 1985ef90
      From-SVN: r56607
      Jan Hubicka committed
    • natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New define. · 835cb22e
      2002-08-27  Tony Kimball <alk@pobox.com>
                  Tom Tromey  <tromey@redhat.com>
      
      	* java/net/natPlainDatagramSocketImpl.cc (NATIVE_CLOSE): New
      	define.
      	(::close): Removed.
      	(PlainDatagramSocketImpl::close): Use NATIVE_CLOSE.
      	* java/net/natPlainSocketImpl.cc (NATIVE_CLOSE): New define.
      	(::close): Removed.
      	(PlainSocketImpl::close): Use NATIVE_CLOSE.
      	* include/win32.h (getcwd): Removed declaration.  Include io.h.
      
      Co-Authored-By: Tom Tromey <tromey@redhat.com>
      
      From-SVN: r56605
      Tony Kimball committed
    • * libjava.compile/narrow_case.java: New file. · 8632ed40
      From-SVN: r56604
      Tom Tromey committed
    • Scheduling revamp: · c49439f1
      	* sh.md (attribute type): Add types mt_group, fload, pcfload, fpul_gp,
      	mac_gp ftrc_s and cwb.  Add / Adjust definitions in individual insn
      	accordingly.
      	(attribute insn_class): Provide default definitions based on type.
      	Remove all insn-specific settings.
      	(various function units): Remove old SH4 scheduling.
      	(branch_zero, dfp_comp, late_fp_use, any_fp_comp, any_int_load):
      	New attributes.  Set them where appropriate.
      	(cpu unit FS): Don't define / use.
      	(F3, load_store): New cpu units.
      	(F01): New reservation.
      	(all insn_reservations): Make dependent on sh4 pipeline model.
      	Fix latencies.
      	(nil, reg_mov, freg_mov, sh4_fpul_gp, sh4_call): New insn_reservations.
      	(sh4_mac_gp, fp_arith_ftrc, arith3, arith3b): Likewise.
      	(mt insn_reservation): Use type mt_group.
      	(insn_reservation load_store): Split into sh4_load, sh4_load_si,
      	sh4_fload and sh4_store.
      	(insn_reservation branch_zero and branch): Replace with sh4_branch.
      	(insn_reservation branch_far): Replace with sh4_return.
      	(insn_reservation return_from_exp): Rename to:
      	(sh4_return_from_exp).  Change to be just d_lock*5.
      	(insn_reservation lds_to_pr): Rename to:
      	(sh4_lds_to_pr).  Change to be just d_lock*2.
      	(insn_reservation ldsmem_to_pr, sts_from_pr): Change to be just
      	d_lock*2.
      	(insn_reservation prload_mem): Rename to:
      	(sh4_prstore_mem).  Change to d_lock*2,nothing,memory.
      	(insn_reservation fpscr_store): Rename to:
      	(fpscr_load).  Change to d_lock,nothing,F1*3.
      	(insn_reservation fpscr_store_mem): Rename to:
      	(fpscr_load_mem).  Change to d_lock,nothing,(F1+memory),F1*2.
      	(insn_reservation multi): Change to
      	d_lock,(d_lock+f1_1),(f1_1|f1_2)*3,F2.
      	(insn_reservation fp_arith): Change to issue,F01,F2.
      	(insn_reservation fp_div: Change to issue,F01+F3,F2+F3,F3*7,F1+F3,F2.
      	(insn_reservation dp_float): Change to issue,F01,F1+F2,F2.
      	(insn_reservation fp_double_arith): Change to issue,F01,F1+F2,fpu*4,F2.
      	(insn_reservation fp_double_cmp): Change to
      	d_lock,(d_lock+F01),F1+F2,F2.
      	(insn_reservation dp_div): Change to
      	issue,F01+F3,F1+F2+F3,F2+F3,F3*16,F1+F3,(fpu+F3)*2,F2.
      	* sh.c (flow_dependent_p, flow_dependent_p_1): New functions.
      	(sh_adjust_cost, SHcompact): Differentiate between different
      	kinds of dependencies.  Drop factor of ten for superscalar.
      	Use new instruction types.  Add new exception rules.
      
      Two small bug fixes:
      	* sh.md (mulhisi3, umulhisi3: Add a REG_EQUAL note.
      
      	* sh.md (mperm_w): Add DONE.
      
      From-SVN: r56601
      J"orn Rennecke committed
    • longlong.h: Import current PowerPC defintion from GMP-4.1. · f34fc46e
              * longlong.h: Import current PowerPC defintion from GMP-4.1.
      
              * config/rs6000/rs6000.h (MIN_UNITS_PER_WORD): Add IN_LIBGCC2 case.
      
              * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Undef before define.
      
      From-SVN: r56600
      David Edelsohn committed