- 21 Sep, 2002 13 commits
-
-
* cse.c (fold_rtx): Calculate the old cost before we fold each operand. From-SVN: r57394
Richard Earnshaw committed -
From-SVN: r57393
Nathanael Nerode committed -
2002-07-12 Nathanael Nerode <neroden@gcc.gnu.org> * configure.in (*-*-netbsd*): Use noconfigdirs, not skipdirs. * configure.in (sh*-*-pe*): Ditto. * configure.in (mips*-*-pe*): Ditto. * configure.in (*arm-wince-pe): Ditto. From-SVN: r57392
Nathanael Nerode committed -
* c-common.c (cpp_define_data_format): Remove __GCC_LITTLE_ENDIAN__, __GCC_BIG_ENDIAN__, __TARGET_BITS_ORDER__, __TARGET_BYTES_ORDER__, __TARGET_INT_WORDS_ORDER__, __TARGET_FLOAT_WORDS_ORDER__, __TARGET_USES_VAX_F_FLOAT__, __TARGET_USES_VAX_D_FLOAT__, __TARGET_USES_VAX_G_FLOAT__, __TARGET_USES_VAX_H_FLOAT__. * doc/cpp.texi: Don't document them. From-SVN: r57391
Richard Henderson committed -
* c-common.c (builtin_define_float_constants): Use real_format to get the floating-point parameters. From-SVN: r57390
Richard Henderson committed -
* jcf-parse.c (get_constant): Decode from IEEE no matter what the target format. From-SVN: r57389
Richard Henderson committed -
* real.c (struct real_format): Move to real.h. (real_format_for_mode): Rename from fmt_for_mode; update all users; initialize with ieee defaults. (real_to_target_fmt, real_from_target_fmt): New. (ieee_single_format, ieee_double_format, ieee_extended_motorola_format, ieee_extended_intel_96_format, ieee_extended_intel_128_format, ieee_quad_format, i370_single_format, i370_double_format, c4x_single_format, c4x_extended_format): Rename from s/_format//. (ieee_quad_format): Fix emin. (format_for_size, init_real_once): Remove. * real.h (struct real_format): Move from real.c. (real_format_for_mode): Declare. (real_to_target_fmt, real_from_target_fmt): Declare. (ieee_single_format, ieee_double_format, ieee_extended_motorola_format, ieee_extended_intel_96_format, ieee_extended_intel_128_format, ieee_quad_format, vax_f_format, vax_d_format, vax_g_format, i370_single_format, i370_double_format, c4x_single_format, c4x_extended_format): Declare. * toplev.c (do_compile): Don't call init_real_once. * defaults.h (INTEL_EXTENDED_IEEE_FORMAT): Remove. * doc/tm.texi (INTEL_EXTENDED_IEEE_FORMAT): Remove. * config/alpha/alpha.h (TARGET_FLOAT_FORMAT): Define. * config/alpha/osf5.h (LONG_DOUBLE_TYPE_SIZE): 64, if vax mode. * config/alpha/alpha.c (override_options): Set real_format_for_mode for VAX, if enabled. * config/c4x/c4x.c (c4x_override_options): Set real_format_for_mode for C4X. * config/i370/i370.h (OVERRIDE_OPTIONS): New. * config/i370/i370.c (override_options): New. * config/i370/i370-protos.h: Update. * config/i386/i386.c (override_options): Set real_format_for_mode for Intel 80-bit extended. * config/i386/i386.h (INTEL_EXTENDED_IEEE_FORMAT): Remove. * config/i960/i960.h (LONG_DOUBLE_TYPE_SIZE): Mind -mlong-double-64. (OVERRIDE_OPTIONS): Move code... * config/i960/i960.c (i960_initialize): ... here. Set real_format_for_mode for Intel 80-bit extended. * config/ia64/ia64.c (ia64_override_options): Set real_format_for_mode for Intel 80-bit extended, if enabled. * config/m68k/m68k.c (override_options): Set real_format_for_mode for Motorola 96-bit extended. * config/vax/vax.h (OVERRIDE_OPTIONS): New. * config/vax/vax.c (override_options): New. * config/vax/vax-protos.h: Update. From-SVN: r57388
Richard Henderson committed -
* ChangeLog: Follow spelling conventions. * ChangeLog.2: Likewise. * call.c: Likewise. * class.c: Likewise. * cp-tree.h: Likewise. * cvt.c: Likewise. * decl.c: Likewise. * decl2.c: Likewise. * except.c: Likewise. * friend.c: Likewise. * g++spec.c: Likewise. * init.c: Likewise. * lex.c: Likewise. * mangle.c: Likewise. * method.c: Likewise. * operators.def: Likewise. * optimize.c: Likewise. * pt.c: Likewise. * rtti.c: Likewise. * search.c: Likewise. * semantics.c: Likewise. * spew.c: Likewise. * tree.c: Likewise. * typeck.c: Likewise. From-SVN: r57387
Kazu Hirata committed -
From-SVN: r57386
GCC Administrator committed -
* java/net/Socket.java (sendUrgentData): New method. (getChannel): New method. * java/net/ServerSocket.java (getChannel): New method. (isBound): New method. * java/net/DatagramSocket.java (DatagramSocket): Two new methods. (bind): New method. (getChannel): New method. (isBound): New method. (send): Added newline to to make shorter lines. * java/net/PlainDatagramSocketImpl.java (mcastGrp): Added argument. (join): Use new mcastGrp. (leave): Use new mcastGrp. (joinGroup): New method. (leaveGroup): New method. * java/net/natPlainDatagramSocketImpl.cc (mcastGrp): Added argument, no yet really implemented. (getOption): Added newline for shorter lines. * java/net/natPlainSocketImpl.cc (read, setOption, getOption): Added newline for shorter lines. From-SVN: r57380
Michael Koch committed -
* config/rs6000/rs6000.md (builtin_setjmp_receiver): Add #if TARGET_MACHO. From-SVN: r57379
Alan Modra committed -
* ChangeLog: Follow spelling conventions. * class.c: Likewise. * decl.c: Likewise. * expr.c: Likewise. * gjavah.c: Likewise. * java-tree.h: Likewise. * jcf-dump.c: Likewise. * jcf-parse.c: Likewise. * jvspec.c: Likewise. * lang.c: Likewise. * mangle.c: Likewise. * parse.y: Likewise. From-SVN: r57378
Kazu Hirata committed -
* config/rs6000/rs6000.md (floatdisf2_internal2): Combine insns. Supply missing clobber of scratch reg. From-SVN: r57377
Alan Modra committed
-
- 20 Sep, 2002 27 commits
-
-
* config/m32r/m32r.c: Follow spelling conventions. * config/m32r/m32r.h: Likewise. * config/m32r/m32r.md: Likewise. * config/m68k/m68k.c: Likewise. * config/m88k/m88k.c: Likewise. * config/mcore/mcore.c: Likewise. * config/mips/mips.c: Likewise. * config/mips/mips.h: Likewise. * config/mmix/mmix.c: Likewise. * config/mn10200/mn10200.c: Likewise. * config/ns32k/ns32k.h: Likewise. * config/pa/pa.c: Likewise. * config/pa/pa64-linux.h: Likewise. * config/pdp11/pdp11.h: Likewise. * config/romp/romp.c: Likewise. * config/romp/romp.h: Likewise. * config/rs6000/eabi.asm: Likewise. * config/rs6000/linux64.h: Likewise. * config/rs6000/rs6000.c: Likewise. * config/rs6000/rs6000.h: Likewise. * config/rs6000/rs6000.md: Likewise. * config/rs6000/sysv4.h: Likewise. * config/rs6000/xcoff.h: Likewise. From-SVN: r57376
Kazu Hirata committed -
* config/v850/v850/lib1funcs.asm (__muldi3): Change r5 to r28. From-SVN: r57375
Jim Wilson committed -
* config/i386/i386.md (UNSPEC_GOTNTPOFF, UNSPEC_INDNTPOFF): New. * config/i386/i386.c (legitimate_pic_address_disp_p): Handle UNSPEC_GOTNTPOFF and UNSPEC_INDNTPOFF like UNSPEC_GOTTPOFF. (legitimate_address_p): Likewise. (legitimize_address): Use @gotntpoff and @indntpoff. (output_pic_addr_const): Handle UNSPEC_GOTNTPOFF and UNSPEC_INDNTPOFF. (output_addr_const_extra): Likewise. From-SVN: r57373
Jakub Jelinek committed -
* combine.c (try_combine): When split an instruction pair, where the first has a sign_extend src, verify that the src and dest modes match. From-SVN: r57371
Jim Wilson committed -
From-SVN: r57370
Neil Booth committed -
2002-09-20 Nathanael Nerode <neroden@doctor.moo.mud.org> * configure.in: Rearrange. From-SVN: r57369
Nathanael Nerode committed -
* config/mips/mips.c (dfhigh, dflow, sfhigh, sflow): Remove. (override_options): Do not initialize them. (mips_const_double_ok): Allow no fp constants except zero, and not even that for mips16. (const_float_1_operand): Use dconst1. * config/mips/mips.md (movsf, movsf_internal1, movsf_internal2, movdf, movdf_internal1, movdf_internal1a, movdf_internal2): Don't allow arbitrary constants; fix predicates and C constraint. From-SVN: r57368
Richard Henderson committed -
From-SVN: r57367
Jakub Jelinek committed -
* cppmacro.c: Don't warn about function-like macros without '(' during pre-expandion. testsuite: * gcc.dg/cpp/tr-warn2.c: Update. From-SVN: r57366
Neil Booth committed -
* config/v850/v850.c (current_function_anonymous_args): Delete. (expand_prologue): Use current_function_args_info.anonymous_args. (expand_epilogue): Delete use of current_function_anonymous_args. * config/v850/v850.h (struct cum_arg): Add anonymous_args field. (INIT_CUMULATIVE_ARGS): Clear anonymous_args field. (current_function_anonymous_args): Delete extern declaration. (SETUP_INCOMING_VARARGS): Set anonymous_args field. From-SVN: r57363
Jim Wilson committed -
* config/rs6000/rs6000.c (rs6000_emit_prologue): Update for change to load_macho_picbase. * config/rs6000/rs6000.md: Document Darwin-specific unspec IDs. (load_macho_picbase): Take the symbol to use as a parameter. (macho_correct_pic): New insn. (builtin_setjmp_reciever): On Darwin, restore the PIC register. From-SVN: r57360
Geoffrey Keating committed -
* config/rs6000/rs6000.h (ELIMINABLE_REGS): Use RS6000_PIC_OFFSET_TABLE_REGNUM rather than hardcoding 30. (CAN_ELIMINATE): Likewise. (INITIAL_ELIMINATION_OFFSET): Likewise. (TOC_REGISTER): Likewise. From-SVN: r57359
Geoffrey Keating committed -
* real.c (real_hash): New. * real.h: Declare it. * cse.c (canon_hash): Use it. * cselib.c (hash_rtx): Likewise. * emit-rtl.c (const_double_htab_hash): Likewise. * rtl.h (CONST_DOUBLE_REAL_VALUE): New. * varasm.c (struct rtx_const): Reduce vector size; separate integer and fp vectors. (HASHBITS): Remove. (const_hash_1): Rename from const_hash. Use real_hash. Do not take modulus MAX_HASH_TABLE. (const_hash): New. Do take modulus MAX_HASH_TABLE. (output_constant_def): Do not take modulus MAX_HASH_TABLE. (SYMHASH): Don't use HASHBITS. (decode_rtx_const): Copy only active bits from REAL_VALUE_TYPE. Fix CONST_VECTOR thinko wrt fp vectors. Fix kind comparison. (simplify_subtraction): Fix kind comparison. (const_hash_rtx): Return unsigned int. Don't use HASHBITS. Use a union to pun integer array. * config/rs6000/rs6000.c (rs6000_hash_constant): Use real_hash; only hash two words of integral CONST_DOUBLE. From-SVN: r57356
Richard Henderson committed -
* config/ia64/hpux.h (STARTFILE_SPEC): Modify. (STARTFILE_PREFIX_SPEC): New. (LINK_SPEC): Modify. (LIB_SPEC): Modify. (LIBGCC_SPEC): New. From-SVN: r57352
Steve Ellcey committed -
i386.c (legitimate_pic_address_disp_p): Allow UNSPEC_NTPOFF and UNSPEC_DTPOFF to be offsetted by constant. * config/i386/i386.c (legitimate_pic_address_disp_p): Allow UNSPEC_NTPOFF and UNSPEC_DTPOFF to be offsetted by constant. From-SVN: r57351
Jakub Jelinek committed -
From-SVN: r57350
Richard Earnshaw committed -
* gcc.c-torture/execute/990208-1.x: XFAIL this at -O3 for ARM-based systems. From-SVN: r57349
Richard Earnshaw committed -
Jeroen Dobbelaere <jeroen.dobbelaere@acunia.com> * config/arm/arm.md (sign_extract_onebit, not_signextract_onebit): Add clobber of the condition code register. From-SVN: r57347
Jeroen Dobbelaere committed -
* real.c (do_fix_trunc): Static. (encode_ieee_single, encode_ieee_double, encode_ieee_extended, encode_ieee_quad, encode_vax_f, encode_vax_d, encode_vax_g, encode_i370_single, encode_i370_double, encode_c4x_single, encode_c4x_extended): Add default abort case. From-SVN: r57344
Richard Henderson committed -
* real.h (enum real_value_class, SIGNIFICAND_BITS, EXP_BITS, MAX_EXP, SIGSZ, SIG_MSB, struct real_value): Move from real.c. (struct realvaluetype): Remove. (REAL_VALUE_TYPE): Use struct real_value. (REAL_VALUE_TYPE_SIZE): Use SIGNIFICAND_BITS. (test_real_width): New. * real.c: Global replace struct real_value with REAL_VALUE_TYPE. (real_arithmetic): Avoid hoops for REAL_VALUE_TYPE parameters. (real_compare, real_exponent, real_ldexp, real_isinf, real_isnan, real_isneg, real_isnegzero, real_identical, exact_real_inverse, real_to_integer, real_to_integer2, real_to_decimal, real_to_hexadecimal, real_from_string, real_from_integer, real_inf, real_nan, real_2expN, real_convert, real_to_target, real_from_target): Likewise. * tree.h (struct tree_real_cst): Use real_value not realvaluetype. * gengtype-yacc.y (bitfieldopt): Accept an ID as well. From-SVN: r57343
Richard Henderson committed -
From-SVN: r57342
GCC Administrator committed -
* real.h (UNKNOWN_FLOAT_FORMAT, IEEE_FLOAT_FORMAT, VAX_FLOAT_FORMAT, IBM_FLOAT_FORMAT, C4X_FLOAT_FORMAT, TARGET_FLOAT_FORMAT): Move ... * defaults.h: ... here. * config/arm/arm.h, config/avr/avr.h, config/d30v/d30v.h, config/fr30/fr30.h, config/frv/frv.h, config/ia64/ia64.h, config/ip2k/ip2k.h, config/mips/mips.h, config/stormy16/stormy16.h, config/xtensa/xtensa.h (TARGET_FLOAT_FORMAT): Remove. From-SVN: r57336
Richard Henderson committed -
* config/mmix/mmix.md ("negdf2"): Rewrite. ("*expanded_negdf2"): New. From-SVN: r57332
Hans-Peter Nilsson committed -
From-SVN: r57331
Hans-Peter Nilsson committed -
* cp-demangle.c (demangling_new): Cast 0 to enum. (demangle_char): Cast return of strdup to char *. (is_gnu_v3_mangled_ctor): Cast 0 to enum. (is_gnu_v3_mangled_dtor): Likewise. * cplus-dem.c (grow_vect): Cast return of xrealloc to void *. (work_stuff_copy_to_from): Cast return of xmalloc to char **. * fibheap.c (fibnode_new): Cast return of xcalloc to fibnode_t. * md5.c (md5_process_bytes): Cast results back to const void *. (md5_process_block): Add cast to const md5_uint32 *. * regex.c (re_compile_fastmap): Cast enum to UCHAR_T. * safe-ctype.c (L, XL, U, XU, D, P, _, C, Z, M, V, T, S): Add cast to unsigned short. * splay-tree.c (splay_tree_xmalloc_allocate): Cast return of xmalloc to void *. * vasprintf.c (int_vasprintf): Cast return of malloc to char *. From-SVN: r57330
John David Anglin committed -
From-SVN: r57326
Hans-Peter Nilsson committed -
* lib/scanasm.exp (scan-assembler-dem, scan-assembler-dem-not): Adjust for c++filt moved to binutils. From-SVN: r57325
Hans-Peter Nilsson committed
-