- 20 Sep, 2002 16 commits
-
-
* 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 -
* libiberty.h (asprintf, vasprintf): Don't declare them if the corresponding HAVE_DECL_ macro is 1. From-SVN: r57324
Alexandre Oliva committed
-
- 19 Sep, 2002 18 commits
-
-
fix subreg optimization bug introduced 2002-05-25 * combine.c (simplify_set): When optimizing a subreg src with a cc0 dest, use GET_MODE (src) for mask instead of inner_mode. From-SVN: r57323
Jim Wilson committed -
From-SVN: r57320
Geoffrey Keating committed -
From-SVN: r57315
Dale Johannesen committed -
From-SVN: r57313
Nick Clifton committed -
* java/lang/ClassLoader.java (resolveClass0): Set cause for newly-created exception. From-SVN: r57310
Tom Tromey committed -
* config/s390/s390.c (addr_generation_dependency_p): Handle SUBREG and STRICT_LOW_PART within SET_DEST. * config/s390/s390.md ("*extractqi", "*extracthi"): New insns with splitters, replacing pre-reload splitters. ("*zero_extendhisi2_31", "*zero_extendqisi2_31", "*zero_extendqihi2_31"): New insns. ("*zero_extendqihi2_64"): Do not clobber CC. From-SVN: r57309
Ulrich Weigand committed -
2002-09-19 Devang Patel <dpatel@apple.com> * cp/cp-tree.h: New prototype for walk_vtabls(). * cp/decl.c (walk_vtables_r): New function. (struct cp_binding_level): Add new members, namespaces, names_size and vtables. (add_decl_to_level): Add decl in namespaces or vtables chain, if conditions match. (walk_vtables): New function. (walk_namespaces_r): Travers separate namespace chain for namespace decls. (wrapup_globals_for_namespace): Use names_size instead of list_length(). * cp/decl2.c (finish_file): Use walk_vtables() instead of walk_globals() to walk vtable decls. From-SVN: r57305
Devang Patel committed -
* config/ia64/hpux.h (CTORS_SECTION_ASM_OP): New. (DTORS_SECTION_ASM_OP): Ditto. (READONLY_DATA_SECTION_ASM_OP): Moved. (DATA_SECTION_ASM_OP): New. (SDATA_SECTION_ASM_OP): New. (BSS_SECTION_ASM_OP): New. (SBSS_SECTION_ASM_OP): New. (TEXT_SECTION_ASM_OP): New. From-SVN: r57304
Steve Ellcey committed -
* config/fp-bit.c: Follow spelling conventions. * config/d30v/d30v.c: Likewise. * config/d30v/d30v.h: Likewise. * config/fr30/fr30.c: Likewise. * config/fr30/fr30.h: Likewise. * config/fr30/fr30.md: Likewise. * config/frv/frv.c: Likewise. * config/frv/frv.h: Likewise. * config/h8300/h8300.c: Likewise. * config/h8300/lib1funcs.asm: Likewise. * config/i370/i370.c: Likewise. * config/i386/i386.h: Likewise. * config/i386/i386.md: Likewise. * config/i386/pentium.md: Likewise. * config/i386/winnt.c: Likewise. * config/i960/i960.c: Likewise. * config/ia64/ia64.h: Likewise. * config/ip2k/ip2k.c: Likewise. * config/ip2k/ip2k.h: Likewise. * config/ip2k/ip2k.md: Likewise. * config/ip2k/libgcc.S: Likewise. From-SVN: r57303
Kazu Hirata committed -
2002-09-19 Stephen Clarke <stephen.clarke@superh.com> * config/sh/sh.h (UNSPEC_GOTOFF_P): Define. (GOTOFF_P): Extend to allow gotoff plus constant. From-SVN: r57302
Stephen Clarke committed -
From-SVN: r57301
GCC Administrator committed -
[[Split portion of a mixed commit.]] From-SVN: r57300.3
GCC Administrator committed -
From-SVN: r57295
Loren J. Rittle committed -
* ifcvt.c (noce_process_if_block): Correctly detect X modified with INSN_B before COND_EARLIEST. Don't check A and B for modification in condition range. Reorder INSN_B for A==B properly. (if_convert): Iterate until no matches for a block. * gcc.c-torture/execute/20020916-1.c: New. From-SVN: r57294
Richard Henderson committed -
calls.c (store_one_arg): Rename default_align to parm_align; always adjust parm_align for downward padding. * calls.c (store_one_arg): Rename default_align to parm_align; always adjust parm_align for downward padding. From-SVN: r57292
Richard Henderson committed -
* toplev.c (backend_init): Move init_real_once invocation ... (do_compile): ... here. From-SVN: r57291
Richard Henderson committed -
sibcall.c (optimize_sibling_and_tail_recursive_call): Also remove RTX_UNCHANGING_P markers for successful tail-recursive replacement. * sibcall.c (optimize_sibling_and_tail_recursive_call): Also remove RTX_UNCHANGING_P markers for successful tail-recursive replacement. From-SVN: r57290
Richard Henderson committed -
From-SVN: r57289
Richard Henderson committed
-
- 18 Sep, 2002 6 commits
-
-
* config/rs6000/rs6000.md: (floatdisf2): Rename to floatdisf2_internal1. (floatdisf2): New define_expand. (floatdisf2_internal2): Likewise. From-SVN: r57288
Alan Modra committed -
* real.c (sticky_rshift_significand): Collect sticky as unsigned long, not bool. From-SVN: r57284
Richard Henderson committed -
* config/s390/s390.c (s390_address_cost): New function. config/s390/s390-protos.h (s390_address_cost): Add prototype. config/s390/s390.h (ADDRESS_COST): Call s390_address_cost. (RTX_COST): Use COSTS_N_INSNS. From-SVN: r57282
Ulrich Weigand committed -
stor-layout.c (place_field): Handle alignment of whole structures when MSVC compatible bitfields are involved. * stor-layout.c (place_field): Handle alignment of whole structures when MSVC compatible bitfields are involved. Change method of computing location of MS bitfields to be compatible with #pragma pack(n). * tree.h (record_layout_info): Add new field remaining_in_alignment. * doc/tm.texi: (TARGET_MS_BITFIELD_LAYOUT_P): Update. (pragma pack): Add paragraph on MSVC bitfield packing. Co-Authored-By: Donn Terry <donnte@microsoft.com> From-SVN: r57281
Douglas B Rupp committed -
From-SVN: r57280
Richard Henderson committed -
PR optimization/7967 * arm.md (ne_zeroextractsi): Add clobber of the condition code register. From-SVN: r57278
Richard Earnshaw committed
-