Age | Commit message (Collapse) | Author | Files | Lines |
|
From-SVN: r56666
|
|
* h8300.c (shift_alg_hi): Various tweaks to improve performance
of HImode shifts.
(get_shift_alg): Corresponding changes.
From-SVN: r56665
|
|
From-SVN: r56664
|
|
* 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
|
|
From-SVN: r56660
|
|
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
|
|
* 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
|
|
* 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
|
|
From-SVN: r56655
|
|
* 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
|
|
* config/cpu/arm/cpu_limits.h: New file.
* configure.target: Use config/cpu/arm for XScale and StrongARM
configurations.
From-SVN: r56653
|
|
From-SVN: r56652
|
|
gcc/
2002-08-28 Gabriel Dos Reis <gdr@integrable-solutions.net>
* c-common.c (builtin_define_type_precision): New function.
(cb_register_builtins): Use it. Define __WCHAR_UNSIGNED__ is
wchar_t is unsigned in C++.
* doc/cpp.texi (Common Predefined Macros): Document
__WCHAR_UNSIGNED__, __CHAR_BIT__, __WCHAR_BIT__, __SHRT_BIT__,
__INT_BIT__, __LONG_BIT__, __LONG_LONG_BIT__, __FLOAT_BIT__,
__DOUBLE_BIT__, __LONG_DOUBLE_BIT__.
libstdc++-v3/
2002-08-28 Gabriel Dos Reis <gdr@integrable-solutions.net>
* include/std/std_limits.h (__glibcpp_char_bits,
__glibcpp_short_bits, __glibcpp_int_bits,
__glibcpp_long_bits,
__glibcpp_long_long_bits, __glibcpp_float_bits,
__glibcpp_double_bits, __glibcpp_long_double_bits):
Remove. Use
compiler predifined macros.
(__glibcpp_wchar_t_is_signed): Define based on compiler
predefined
__WCHAR_UNSIGNED__.
From-SVN: r56646
|
|
* update_web_docs: Remove support for generating g77_news.html and
g77_bugs.html.
* update_web_docs_old: Likewise. Remove support for generating
thanks.html.
From-SVN: r56644
|
|
2002-08-28 Sylvain Pion <pion@cs.nyu.edu>
* doc/invoke.texi (-Wreorder): Remove remaining pieces from the generic
section. Mention that it is enabled by -Wall.
(-Wall): Mention that there can be language-specific warnings as well.
(-Wctor-dtor-privacy): Mention that it is enabled by default.
(-Wnon-virtual-dtor): Mention that it is enabled by -Wall.
From-SVN: r56643
|
|
* java/lang/Class.h: Include Package.h.
(Class::getProtectionDomain): Declare.
(Class::getPackage): Declare.
From-SVN: r56640
|
|
port numbers.
2002-08-28 Michael Koch <konqueror@gmx.de>
* java/net/InetSocketAddress.java: Added some documentation and argument
checks for the port numbers.
* java/net/DatagramSocketImplFactory.java: New file.
From-SVN: r56638
|
|
live.
* sh.c (calc_live_regs): Save FPSCR_REG in an interrupt handler
if it is ever live.
* sh.c (sh_handle_interrupt_handler_attribute): Reject interrupt_handler
attribute for SHCOMPACT.
* sh.h (OVERRIDE_OPTIONS): If align_function isn't set, set it
appropriately.
(FUNCTION_BOUNDARY): Specify only the minimum alignment required
by the ABI.
* sh.h (SH5_WOULD_BE_PARTIAL_NREGS): Also handle TImode case.
From-SVN: r56637
|
|
* bugs.texi, news.texi: Update URLs for online news and bugs
lists.
From-SVN: r56635
|
|
From-SVN: r56634
|
|
2002-08-28 Michael Koch <konqueror@gmx.de>
* java/net/Authenticator.java: added some documentation.
From-SVN: r56628
|
|
"MASK_GAS|MASK_ABICALLS".
* config.gcc (mips*-*-netbsd*): Set target_cpu_default to
"MASK_GAS|MASK_ABICALLS".
* config/mips/netbsd.h (TARGET_ENDIAN_DEFAULT)
(TARGET_DEFAULT): Remove.
(MACHINE_TYPE): Undefine before defining.
(DBX_DEBUGGING_INFO, PREFERRED_DEBUGGING_TYPE): Remove.
From-SVN: r56627
|
|
* java/lang/reflect/natConstructor.cc (newInstance): Initialize
class.
* java/lang/reflect/natMethod.cc (invoke): Initialize class.
From-SVN: r56624
|
|
From-SVN: r56619
|
|
* 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
|
|
From-SVN: r56616
|
|
From-SVN: r56615
|
|
From-SVN: r56614
|
|
* 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
|
|
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
|
|
From-SVN: r56611
|
|
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
|
|
From-SVN: r56609
|
|
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
|
|
From-SVN: r56607
|
|
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
|
|
From-SVN: r56604
|
|
From-SVN: r56603
|
|
From-SVN: r56602
|
|
* 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
|
|
* 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
|
|
From-SVN: r56599
|
|
* doc/cpp.texi (Common Predefined Macros): Don't mess with
table
delimiter.
From-SVN: r56598
|
|
* c-common.c (cpp_define_data_format): New function.
(cb_register_builtins): Call it.
* doc/cpp.texi (Common Predefined Macros): Document
__TARGET_BITS_ORDER__, __TARGET_BYTES_ORDER__,
__TARGET_INT_WORDS_ORDER__, __TARGET_FLOAT_WORDS_ORDER__,
__TARGET_FLOAT_FORMAT__, __TARGET_USES_VAX_F_FLOAT__,
__TARGET_USES_VAX_D_FLOAT__, __TARGET_USES_VAX_G_FLOAT__,
__TARGET_USES_VAX_H_FLOAT__.
From-SVN: r56597
|
|
From-SVN: r56596
|
|
RHS_TYPE is byte, short, or char.
* parse.y (try_builtin_assignconv): Allow narrowing primitive
conversion if RHS_TYPE is byte, short, or char.
From-SVN: r56589
|
|
[gcc]
2002-08-26 Ziemowit Laski <zlaski@apple.com>
* objc/objc-act.c (get_super_receiver): If inside a class method
of a category, cast the receiver to 'id' before accessing the 'isa'
field so that <objc/objc-class.h> is not needed. For NeXT runtime.
[gcc/testsuite]
2002-08-26 Ziemowit Laski <zlaski@apple.com>
* objc.dg/super-class-2.m: New test.
From-SVN: r56587
|
|
* config/s390/s390-protos.h (s390_function_prologue,
s390_function_epilogue): Remove.
config/s390/s390.c (s390_function_prologue, s390_function_epilogue,
TARGET_ASM_FUNCTION_PROLOGUE, TARGET_ASM_FUNCTION_EPILOGUE): Remove.
config/s390/s390.c (s390_machine_dependent_recorg): New function.
config/s390/s390-protos.h (s390_machine_dependent_reorg): Declare it.
config/s390/s390.h (MACHINE_DEPENDENT_REORG): Call it.
config/s390/s390.c (s390_split_branches, s390_chunkify_pool): Adapt
to being called from MACHINE_DEPENDENT_REORG. Update regs_ever_live.
config/s390/s390.c (s390_frame_info): Inline save_fprs_p. Always
assume BASE_REGISTER and RETURN_REGNUM need to be saved.
(s390_emit_prologue): Assume RETURN_REGNUM to be saved iff
function is not a leaf function. Use save_gprs and restore_gprs.
(s390_emit_epilogue): Likewise.
(save_gprs, restore_gprs): New functions.
(struct s390_frame): Remove return_reg_saved_p member.
(save_fprs_p): Remove.
(s390_optimize_prolog): New function.
(s390_legitimate_reload_constant): Remove now unnecessary check.
(s390_function_count): Remove.
(s390_output_symbolic_const): Replace s390_function_count by
current_function_funcdef_no.
(s390_output_constant_pool): Likewise.
(legitimize_pic_address): Use regs_ever_live to track PIC register
instead of current_function_uses_pic_offset_table.
(s390_emit_prologue): Likewise.
config/s390/s390.md ("call", "call_value"): Likewise.
From-SVN: r56584
|
|
* c-opts.c (find_opt): Don't complain about wrong languages
here. Return exact matches even for wrong language.
(c_common_decode_option): Complain about wrong languages
here.
From-SVN: r56583
|
|
From-SVN: r56581
|