1259268Spfg2007-08-08 Andrew Haley <aph@redhat.com> (r128087) 2255107Spfg 3259268Spfg * config/arm/libunwind.S (UNWIND_WRAPPER _Unwind_Backtrace): New. 4259268Spfg * config/arm/unwind-arm.h (__gnu_Unwind_Backtrace): New. 5259268Spfg * config/arm/unwind-arm.c (__gnu_Unwind_Backtrace): New. 6259268Spfg 7259694Spfg2007-07-12 Geoffrey Keating <geoffk@apple.com> (r126588) 8259694Spfg 9259694Spfg * builtins.c (get_pointer_alignment): Honor DECL_ALIGN on a 10259694Spfg FUNCTION_DECL. 11259694Spfg * tree.c (build_decl_stat): Move code from here... 12259694Spfg (make_node_stat): ... to here. Don't uselessly clear DECL_USER_ALIGN. 13259694Spfg (expr_align): Honor DECL_ALIGN on a FUNCTION_DECL. Add comment 14259694Spfg about using DECL_ALIGN of LABEL_DECL and CONST_DECL. 15259694Spfg * tree.h (DECL_USER_ALIGN): Fix misplaced comment. 16259694Spfg * varasm.c (assemble_start_function): Use DECL_ALIGN instead of 17259694Spfg FUNCTION_BOUNDARY. 18259694Spfg 19259694Spfg2007-07-09 Geoffrey Keating <geoffk@apple.com> (r126529) 20259694Spfg 21259694Spfg PR 32617 22259694Spfg * c-common.c (c_alignof_expr): Look at DECL_ALIGN of 23259694Spfg FUNCTION_DECLs. 24259694Spfg (handle_aligned_attribute): Allow use on FUNCTION_DECLs. 25259694Spfg * varasm.c (assemble_start_function): Honor DECL_ALIGN 26259694Spfg for FUNCTION_DECLs. Don't use align_functions_log if 27259694Spfg DECL_USER_ALIGN. 28259694Spfg * print-tree.c (print_node): Print DECL_ALIGN and DECL_USER_ALIGN 29259694Spfg even for FUNCTION_DECLs. 30259694Spfg * c-decl.c (merge_decls): Propagate DECL_ALIGN even for 31259694Spfg FUNCTION_DECLs. 32259694Spfg * tree.h (DECL_ALIGN): Update for new location of 'align'. 33259694Spfg (DECL_FUNCTION_CODE): Update for new location and name of 34259694Spfg 'function_code'. 35259694Spfg (DECL_OFFSET_ALIGN): Update for new location of 'off_align'. 36259694Spfg (struct tree_decl_common): Move 'align' and 'off_align' out 37259694Spfg of union, ensure they're still on a 32-bit boundary. Remove 38259694Spfg other fields in union 'u1'. 39259694Spfg (struct tree_function_decl): Add field 'function_code' replacing 40259694Spfg 'u1.f' in tree_decl_common. 41259694Spfg * tree.c (build_decl_stat): Set initial value of DECL_ALIGN. 42259694Spfg * doc/extend.texi (Function Attributes): Add 'aligned' attribute. 43259694Spfg (Variable Attributes): Cross-reference 'aligned' attribute 44259694Spfg to Function Attributes. 45259694Spfg * flags.h (force_align_functions_log): Delete. 46259694Spfg * toplev.c (force_align_functions_log): Delete. 47259694Spfg 48260139Spfg2007-07-06 Josh Conner <jconner@apple.com> (r126422) 49260139Spfg 50260139Spfg PR middle-end/32602 51260139Spfg PR middle-end/32603 52260139Spfg * calls.c (store_one_arg): Handle arguments which are partially 53260139Spfg on the stack when detecting argument overlap. 54260139Spfg 55260139Spfg2007-07-03 Eric Christopher <echristo@apple.com> (r126278) 56260139Spfg 57260139Spfg * doc/cppopts.texi: Add conflicting option note to -dM. 58260139Spfg * doc/invoke.texi: Add note about possible conflicts with 59260139Spfg -E for -dCHARS and note that -dM will not produce 60260139Spfg any results if there is no machine dependent reorg. 61260139Spfg 62260074Spfg2007-06-28 Geoffrey Keating <geoffk@apple.com> (r126088) 63260074Spfg 64260074Spfg * doc/invoke.texi (C++ Dialect Options): Document 65260074Spfg fvisibility-ms-compat. 66260074Spfg * c.opt (fvisibility-ms-compat): New. 67260074Spfg 68260455Spfg2007-06-23 Richard Earnshaw <rearnsha@arm.com> (r125973) 69260455Spfg 70260455Spfg PR target/31152 71260455Spfg * arm.md (negscc): Match the correct operand for optimized LT0 test. 72260455Spfg Remove optimization for GT. 73260455Spfg 74259268Spfg2007-06-05 Joerg Wunsch <j.gnu@uriah.heep.sax.de> (r125346) 75259268Spfg 76255107Spfg PR preprocessor/23479 77255107Spfg * doc/extend.texi: Document the 0b-prefixed binary integer 78255107Spfg constant extension. 79255107Spfg 80259583Spfg2007-05-31 Eric Christopher <echristo@apple.com> (r125246) 81259563Spfg 82259563Spfg * expr.c (convert_move): Assert that we don't have a BLKmode 83259563Spfg operand. 84259563Spfg (store_expr): Handle BLKmode moves by calling emit_block_move. 85259563Spfg 86259947Spfg2007-05-31 Daniel Berlin <dberlin@dberlin.org> (r125239) 87259947Spfg 88259947Spfg * c-typeck.c (build_indirect_ref): Include type in error message. 89259947Spfg (build_binary_op): Pass types to binary_op_error. 90259947Spfg * c-common.c (binary_op_error): Take two type arguments, print out 91259947Spfg types with error. 92259947Spfg * c-common.h (binary_op_error): Update prototype. 93259947Spfg 94259583Spfg2007-05-27 Eric Christopher <echristo@apple.com> (r125116) 95259583Spfg 96259583Spfg * config/rs6000/rs6000.c (rs6000_emit_prologue): Update 97259583Spfg sp_offset depending on stack size. Save r12 depending 98259583Spfg on registers we're saving later. 99259583Spfg (rs6000_emit_epilogue): Update sp_offset depending only 100259583Spfg on stack size. 101259583Spfg 102259268Spfg2007-05-24 Richard Sandiford <rsandifo@nildram.co.uk> (r125037) 103259268Spfg 104259268Spfg * postreload-gcse.c (reg_changed_after_insn_p): New function. 105259268Spfg (oprs_unchanged_p): Use it to check all registers in a REG. 106259268Spfg (record_opr_changes): Look for clobbers in CALL_INSN_FUNCTION_USAGE. 107259268Spfg (reg_set_between_after_reload_p): Delete. 108259268Spfg (reg_used_between_after_reload_p): Likewise. 109259268Spfg (reg_set_or_used_since_bb_start): Likewise. 110259268Spfg (eliminate_partially_redundant_load): Use reg_changed_after_insn_p 111259268Spfg and reg_used_between_p instead of reg_set_or_used_since_bb_start. 112259268Spfg Use reg_set_between_p instead of reg_set_between_after_reload_p. 113259268Spfg * rtlanal.c (reg_set_p): Check whether REG overlaps 114259268Spfg regs_invalidated_by_call, rather than just checking the 115259268Spfg membership of REGNO (REG). 116259268Spfg 117259947Spfg2007-05-18 Geoffrey Keating <geoffk@apple.com> (r124839) 118259947Spfg 119259947Spfg * dwarf2out.c (print_die): Use '%ld' not '%lu' to print a 'long'. 120259947Spfg (output_die): Use 'unsigned long' with %x. 121259947Spfg * sched-vis.c (print_value): Use 'unsigned HOST_WIDE_INT' and 122259947Spfg HOST_WIDE_INT_PRINT_HEX to print HOST_WIDE_INT. 123259947Spfg * tree-dump.c (dump_pointer): Use 'unsigned long' for %lx. 124259947Spfg 125259583Spfg2007-05-16 Eric Christopher <echristo@apple.com> (r124763) 126259583Spfg 127259583Spfg * config/rs6000/rs6000.c (rs6000_emit_prologue): Move altivec register 128259583Spfg saving after stack push. Set sp_offset whenever we push. 129259583Spfg (rs6000_emit_epilogue): Move altivec register restore before stack push. 130259583Spfg 131259268Spfg2007-05-03 Ian Lance Taylor <iant@google.com> (r124381) 132259268Spfg 133259268Spfg * config/rs6000/rs6000.c (rs6000_override_options): Don't set 134259268Spfg MASK_PPC_GFXOPT for 8540 or 8548. 135259268Spfg 136251212Spfg2007-05-01 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com> (r124341) 137251212Spfg 138251212Spfg * doc/invoke.texi: Fix typo, 'AMD Family 10h core' instead of 139251212Spfg 'AMD Family 10 core'. 140251212Spfg 141221282Smm2007-05-01 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com> (r124339) 142221282Smm 143221282Smm * config/i386/i386.c (override_options): Accept k8-sse3, opteron-sse3 144221282Smm and athlon64-sse3 as improved versions of k8, opteron and athlon64 145221282Smm with SSE3 instruction set support. 146221282Smm * doc/invoke.texi: Likewise. 147221282Smm 148251212Spfg2007-05-01 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com> (r124330) 149251212Spfg 150251212Spfg * config/i386/i386.c (override_options): Tuning 32-byte loop 151251212Spfg alignment for amdfam10 architecture. Increasing the max loop 152251212Spfg alignment to 24 bytes. 153251212Spfg 154260230Spfg2007-04-24 Hui-May Chang <hm.chang@apple.com> (r124115) 155260230Spfg 156260230Spfg * reload1.c (merge_assigned_reloads) : Do not merge a RELOAD_OTHER 157260230Spfg instruction with a RELOAD_FOR_OPERAND_ADDRESS instruction. 158260230Spfg 159259694Spfg2007-04-16 Lawrence Crowl <crowl@google.com> (r123909) 160259268Spfg 161259268Spfg * doc/invoke.texi (Debugging Options): Add documentation for the 162259268Spfg -femit-struct-debug options -femit-struct-debug-baseonly, 163259268Spfg -femit-struct-debug-reduced, and 164259268Spfg -femit-struct-debug-detailed[=...]. 165259268Spfg 166259268Spfg * c-opts.c (c_common_handle_option): Add 167259268Spfg OPT_femit_struct_debug_baseonly, OPT_femit_struct_debug_reduced, 168259268Spfg and OPT_femit_struct_debug_detailed_. 169259268Spfg * c.opt: Add specifications for 170259268Spfg -femit-struct-debug-baseonly, -femit-struct-debug-reduced, 171259268Spfg and -femit-struct-debug-detailed[=...]. 172259268Spfg * opts.c (set_struct_debug_option): Parse the 173259268Spfg -femit-struct-debug-... options. 174259268Spfg * opts.c (matches_main_base, main_input_basename, 175259268Spfg main_input_baselength, base_of_path, matches_main_base): Add 176259268Spfg variables and functions to compare header base name to compilation 177259268Spfg unit base name. 178259268Spfg * opts.c (should_emit_struct_debug): Add to determine to emit a 179259268Spfg structure based on the option. 180259268Spfg (dump_struct_debug) Also disabled function to debug this 181259268Spfg function. 182259268Spfg * opts.c (handle_options): Save the base name of the 183259268Spfg compilation unit. 184259268Spfg 185259268Spfg * langhooks-def.h (LANG_HOOKS_GENERIC_TYPE_P): Define. 186259268Spfg (LANG_HOOKS_FOR_TYPES_INITIALIZER): Add. 187259268Spfg This hook indicates if a type is generic. Set it by default 188259268Spfg to "never generic". 189259268Spfg * langhooks.h (struct lang_hooks_for_types): Add a new hook 190259268Spfg to determine if a struct type is generic or not. 191259268Spfg * cp/cp-tree.h (class_tmpl_impl_spec_p): Declare a C++ hook. 192259268Spfg * cp/tree.c (class_tmpl_impl_spec_p): Implement the C++ hook. 193259268Spfg * cp/cp-lang.c (LANG_HOOKS_GENERIC_TYPE_P): Override null C hook 194259268Spfg with live C++ hook. 195259268Spfg 196259268Spfg * flags.h (enum debug_info_usage): Add an enumeration to describe 197259268Spfg a program's use of a structure type. 198259268Spfg * dwarf2out.c (gen_struct_or_union_type_die): Add a new parameter 199259268Spfg to indicate the program's usage of the type. Filter structs based 200259268Spfg on the -femit-struct-debug-... specification. 201259268Spfg (gen_type_die): Split into two routines, gen_type_die and 202259268Spfg gen_type_die_with_usage. gen_type_die is now a wrapper 203259268Spfg that assumes direct usage. 204259268Spfg (gen_type_die_with_usage): Replace calls to gen_type_die 205259268Spfg with gen_type_die_with_usage adding the program usage of 206259268Spfg the referenced type. 207259268Spfg (dwarf2out_imported_module_or_decl): Suppress struct debug 208259268Spfg information using should_emit_struct_debug when appropriate. 209259268Spfg 210259563Spfg2007-04-16 Ian Lance Taylor <iant@google.com> (r123906) 211259563Spfg 212259563Spfg * tree-ssa-propagate.c (cfg_blocks_add): Insert blocks with fewer 213259563Spfg predecessors at head rather than tail. 214259563Spfg 215259563Spfg 216237406Spfg2007-04-12 Richard Guenther <rguenther@suse.de> (r123736) 217237406Spfg 218237406Spfg PR tree-optimization/24689 219237406Spfg PR tree-optimization/31307 220237406Spfg * fold-const.c (operand_equal_p): Compare INTEGER_CST array 221237406Spfg indices by value. 222237406Spfg * gimplify.c (canonicalize_addr_expr): To be consistent with 223237406Spfg gimplify_compound_lval only set operands two and three of 224237406Spfg ARRAY_REFs if they are not gimple_min_invariant. This makes 225237406Spfg it never at this place. 226237406Spfg * tree-ssa-ccp.c (maybe_fold_offset_to_array_ref): Likewise. 227237406Spfg 228221282Smm2007-04-07 H.J. Lu <hongjiu.lu@intel.com> (r123639) 229221282Smm 230221282Smm * config/i386/i386.c (ix86_handle_option): Handle SSSE3. 231221282Smm 232251212Spfg2007-03-28 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com> (r123313) 233251212Spfg 234251212Spfg * config.gcc: Accept barcelona as a variant of amdfam10. 235251212Spfg * config/i386/i386.c (override_options): Likewise. 236251212Spfg * doc/invoke.texi: Likewise. 237251212Spfg 238259694Spfg2007-03-12 Seongbae Park <seongbae.park@gmail.com> (r122851) 239259268Spfg 240259268Spfg * c-decl.c (warn_variable_length_array): New function. 241259268Spfg Refactored from grokdeclarator to handle warn_vla 242259268Spfg and handle unnamed array case. 243259268Spfg (grokdeclarator): Refactored VLA warning case. 244259268Spfg * c.opt (Wvla): New flag. 245259268Spfg 246259268Spfg2007-03-11 Ian Lance Taylor <iant@google.com> (r122831 - partial) 247259268Spfg 248259268Spfg * tree-vrp.c (vrp_int_const_binop): Handle PLUS_EXPR and 249259268Spfg the *_DIV_EXPR codes correctly with overflow infinities. 250259268Spfg 251251212Spfg2007-02-09 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com> (r121763) 252251212Spfg 253251212Spfg * config/i386/driver-i386.c: Turn on -mtune=native for AMDFAM10. 254251212Spfg (bit_SSE4a): New. 255251212Spfg 256221282Smm2007-02-08 Harsha Jagasia <harsha.jagasia@amd.com> (r121726) 257221282Smm 258221282Smm * config/i386/xmmintrin.h: Make inclusion of emmintrin.h 259221282Smm conditional to __SSE2__. 260221282Smm (Entries below should have been added to first ChangeLog 261221282Smm entry for amdfam10 dated 2007-02-05) 262221282Smm * config/i386/emmintrin.h: Generate #error if __SSE2__ is not 263221282Smm defined. 264221282Smm * config/i386/pmmintrin.h: Generate #error if __SSE3__ is not 265221282Smm defined. 266221282Smm * config/i386/tmmintrin.h: Generate #error if __SSSE3__ is not 267221282Smm defined. 268221282Smm 269221282Smm2007-02-07 Jakub Jelinek <jakub@redhat.com> (r121687) 270221282Smm 271221282Smm * config/i386/i386.c (override_options): Set PTA_SSSE3 for core2. 272221282Smm 273251212Spfg2007-02-05 Harsha Jagasia <harsha.jagasia@amd.com> (r121625) 274251212Spfg 275251212Spfg * config/i386/athlon.md (athlon_fldxf_k8, athlon_fld_k8, 276251212Spfg athlon_fstxf_k8, athlon_fst_k8, athlon_fist, athlon_fmov, 277251212Spfg athlon_fadd_load, athlon_fadd_load_k8, athlon_fadd, athlon_fmul, 278251212Spfg athlon_fmul_load, athlon_fmul_load_k8, athlon_fsgn, 279251212Spfg athlon_fdiv_load, athlon_fdiv_load_k8, athlon_fdiv_k8, 280251212Spfg athlon_fpspc_load, athlon_fpspc, athlon_fcmov_load, 281251212Spfg athlon_fcmov_load_k8, athlon_fcmov_k8, athlon_fcomi_load_k8, 282251212Spfg athlon_fcomi, athlon_fcom_load_k8, athlon_fcom): Added amdfam10. 283251212Spfg 284251212Spfg2007-02-05 Harsha Jagasia <harsha.jagasia@amd.com> (r121625) 285251212Spfg 286251212Spfg * config/i386/i386.md (x86_sahf_1, cmpfp_i_mixed, cmpfp_i_sse, 287251212Spfg cmpfp_i_i387, cmpfp_iu_mixed, cmpfp_iu_sse, cmpfp_iu_387, 288251212Spfg swapsi, swaphi_1, swapqi_1, swapdi_rex64, fix_truncsfdi_sse, 289251212Spfg fix_truncdfdi_sse, fix_truncsfsi_sse, fix_truncdfsi_sse, 290251212Spfg x86_fldcw_1, floatsisf2_mixed, floatsisf2_sse, floatdisf2_mixed, 291251212Spfg floatdisf2_sse, floatsidf2_mixed, floatsidf2_sse, 292251212Spfg floatdidf2_mixed, floatdidf2_sse, muldi3_1_rex64, mulsi3_1, 293251212Spfg mulsi3_1_zext, mulhi3_1, mulqi3_1, umulqihi3_1, mulqihi3_insn, 294251212Spfg umulditi3_insn, umulsidi3_insn, mulditi3_insn, mulsidi3_insn, 295251212Spfg umuldi3_highpart_rex64, umulsi3_highpart_insn, 296251212Spfg umulsi3_highpart_zext, smuldi3_highpart_rex64, 297251212Spfg smulsi3_highpart_insn, smulsi3_highpart_zext, x86_64_shld, 298251212Spfg x86_shld_1, x86_64_shrd, sqrtsf2_mixed, sqrtsf2_sse, 299251212Spfg sqrtsf2_i387, sqrtdf2_mixed, sqrtdf2_sse, sqrtdf2_i387, 300251212Spfg sqrtextendsfdf2_i387, sqrtxf2, sqrtextendsfxf2_i387, 301251212Spfg sqrtextenddfxf2_i387): Added amdfam10_decode. 302251212Spfg 303251212Spfg * config/i386/athlon.md (athlon_idirect_amdfam10, 304251212Spfg athlon_ivector_amdfam10, athlon_idirect_load_amdfam10, 305251212Spfg athlon_ivector_load_amdfam10, athlon_idirect_both_amdfam10, 306251212Spfg athlon_ivector_both_amdfam10, athlon_idirect_store_amdfam10, 307251212Spfg athlon_ivector_store_amdfam10): New define_insn_reservation. 308251212Spfg (athlon_idirect_loadmov, athlon_idirect_movstore): Added 309251212Spfg amdfam10. 310251212Spfg 311251212Spfg2007-02-05 Harsha Jagasia <harsha.jagasia@amd.com> (r121625) 312251212Spfg 313251212Spfg * config/i386/athlon.md (athlon_call_amdfam10, 314251212Spfg athlon_pop_amdfam10, athlon_lea_amdfam10): New 315251212Spfg define_insn_reservation. 316251212Spfg (athlon_branch, athlon_push, athlon_leave_k8, athlon_imul_k8, 317251212Spfg athlon_imul_k8_DI, athlon_imul_mem_k8, athlon_imul_mem_k8_DI, 318251212Spfg athlon_idiv, athlon_idiv_mem, athlon_str): Added amdfam10. 319251212Spfg 320251212Spfg2007-02-05 Harsha Jagasia <harsha.jagasia@amd.com> (r121625) 321251212Spfg 322251212Spfg * config/i386/athlon.md (athlon_sseld_amdfam10, 323251212Spfg athlon_mmxld_amdfam10, athlon_ssest_amdfam10, 324251212Spfg athlon_mmxssest_short_amdfam10): New define_insn_reservation. 325251212Spfg 326251212Spfg2007-02-05 Harsha Jagasia <harsha.jagasia@amd.com> (r121625) 327251212Spfg 328251212Spfg * config/i386/athlon.md (athlon_sseins_amdfam10): New 329251212Spfg define_insn_reservation. 330251212Spfg * config/i386/i386.md (sseins): Added sseins to define_attr type 331251212Spfg and define_attr unit. 332251212Spfg * config/i386/sse.md: Set type attribute to sseins for insertq 333251212Spfg and insertqi. 334251212Spfg 335251212Spfg2007-02-05 Harsha Jagasia <harsha.jagasia@amd.com> (r121625) 336251212Spfg 337251212Spfg * config/i386/athlon.md (sselog_load_amdfam10, sselog_amdfam10, 338251212Spfg ssecmpvector_load_amdfam10, ssecmpvector_amdfam10, 339251212Spfg ssecomi_load_amdfam10, ssecomi_amdfam10, 340251212Spfg sseaddvector_load_amdfam10, sseaddvector_amdfam10): New 341251212Spfg define_insn_reservation. 342251212Spfg (ssecmp_load_k8, ssecmp, sseadd_load_k8, seadd): Added amdfam10. 343251212Spfg 344251212Spfg2007-02-05 Harsha Jagasia <harsha.jagasia@amd.com> (r121625) 345251212Spfg 346251212Spfg * config/i386/athlon.md (cvtss2sd_load_amdfam10, 347251212Spfg cvtss2sd_amdfam10, cvtps2pd_load_amdfam10, cvtps2pd_amdfam10, 348251212Spfg cvtsi2sd_load_amdfam10, cvtsi2ss_load_amdfam10, 349251212Spfg cvtsi2sd_amdfam10, cvtsi2ss_amdfam10, cvtsd2ss_load_amdfam10, 350251212Spfg cvtsd2ss_amdfam10, cvtpd2ps_load_amdfam10, cvtpd2ps_amdfam10, 351251212Spfg cvtsX2si_load_amdfam10, cvtsX2si_amdfam10): New 352251212Spfg define_insn_reservation. 353251212Spfg 354251212Spfg * config/i386/sse.md (cvtsi2ss, cvtsi2ssq, cvtss2si, 355251212Spfg cvtss2siq, cvttss2si, cvttss2siq, cvtsi2sd, cvtsi2sdq, 356251212Spfg cvtsd2si, cvtsd2siq, cvttsd2si, cvttsd2siq, 357251212Spfg cvtpd2dq, cvttpd2dq, cvtsd2ss, cvtss2sd, 358251212Spfg cvtpd2ps, cvtps2pd): Added amdfam10_decode attribute. 359251212Spfg 360251212Spfg2007-02-05 Harsha Jagasia <harsha.jagasia@amd.com> (r121625) 361251212Spfg 362251212Spfg * config/i386/athlon.md (athlon_ssedivvector_amdfam10, 363251212Spfg athlon_ssedivvector_load_amdfam10, athlon_ssemulvector_amdfam10, 364251212Spfg athlon_ssemulvector_load_amdfam10): New define_insn_reservation. 365251212Spfg (athlon_ssediv, athlon_ssediv_load_k8, athlon_ssemul, 366251212Spfg athlon_ssemul_load_k8): Added amdfam10. 367251212Spfg 368251212Spfg2007-02-05 Harsha Jagasia <harsha.jagasia@amd.com> (r121625) 369251212Spfg 370251212Spfg * config/i386/i386.h (TARGET_SSE_UNALIGNED_MOVE_OPTIMAL): New macro. 371251212Spfg (x86_sse_unaligned_move_optimal): New variable. 372251212Spfg 373251212Spfg * config/i386/i386.c (x86_sse_unaligned_move_optimal): Enable for 374251212Spfg m_AMDFAM10. 375251212Spfg (ix86_expand_vector_move_misalign): Add code to generate movupd/movups 376251212Spfg for unaligned vector SSE double/single precision loads for AMDFAM10. 377251212Spfg 378251212Spfg2007-02-05 Harsha Jagasia <harsha.jagasia@amd.com> (r121625) 379251212Spfg 380251212Spfg * config/i386/i386.h (TARGET_AMDFAM10): New macro. 381251212Spfg (TARGET_CPU_CPP_BUILTINS): Add code for amdfam10. 382251212Spfg Define TARGET_CPU_DEFAULT_amdfam10. 383251212Spfg (TARGET_CPU_DEFAULT_NAMES): Add amdfam10. 384251212Spfg (processor_type): Add PROCESSOR_AMDFAM10. 385251212Spfg 386251212Spfg * config/i386/i386.md: Add amdfam10 as a new cpu attribute to match 387251212Spfg processor_type in config/i386/i386.h. 388251212Spfg Enable imul peepholes for TARGET_AMDFAM10. 389251212Spfg 390251212Spfg * config.gcc: Add support for --with-cpu option for amdfam10. 391251212Spfg 392251212Spfg * config/i386/i386.c (amdfam10_cost): New variable. 393251212Spfg (m_AMDFAM10): New macro. 394251212Spfg (m_ATHLON_K8_AMDFAM10): New macro. 395251212Spfg (x86_use_leave, x86_push_memory, x86_movx, x86_unroll_strlen, 396251212Spfg x86_cmove, x86_3dnow_a, x86_deep_branch, x86_use_simode_fiop, 397251212Spfg x86_promote_QImode, x86_integer_DFmode_moves, 398251212Spfg x86_partial_reg_dependency, x86_memory_mismatch_stall, 399251212Spfg x86_accumulate_outgoing_args, x86_arch_always_fancy_math_387, 400251212Spfg x86_sse_partial_reg_dependency, x86_sse_typeless_stores, 401251212Spfg x86_use_ffreep, x86_use_incdec, x86_four_jump_limit, 402251212Spfg x86_schedule, x86_use_bt, x86_cmpxchg16b, x86_pad_returns): 403251212Spfg Enable/disable for amdfam10. 404251212Spfg (override_options): Add amdfam10_cost to processor_target_table. 405251212Spfg Set up PROCESSOR_AMDFAM10 for amdfam10 entry in 406251212Spfg processor_alias_table. 407251212Spfg (ix86_issue_rate): Add PROCESSOR_AMDFAM10. 408251212Spfg (ix86_adjust_cost): Add code for amdfam10. 409251212Spfg 410251212Spfg2007-02-05 Harsha Jagasia <harsha.jagasia@amd.com> (r121625) 411251212Spfg 412251212Spfg * config/i386/i386.opt: Add new Advanced Bit Manipulation (-mabm) 413251212Spfg instruction set feature flag. Add new (-mpopcnt) flag for popcnt 414251212Spfg instruction. Add new SSE4A (-msse4a) instruction set feature flag. 415251212Spfg * config/i386/i386.h: Add builtin definition for SSE4A. 416251212Spfg * config/i386/i386.md: Add support for ABM instructions 417251212Spfg (popcnt and lzcnt). 418251212Spfg * config/i386/sse.md: Add support for SSE4A instructions 419251212Spfg (movntss, movntsd, extrq, insertq). 420251212Spfg * config/i386/i386.c: Add support for ABM and SSE4A builtins. 421251212Spfg Add -march=amdfam10 flag. 422251212Spfg * config/i386/ammintrin.h: Add support for SSE4A intrinsics. 423251212Spfg * doc/invoke.texi: Add documentation on flags for sse4a, abm, popcnt 424251212Spfg and amdfam10. 425251212Spfg * doc/extend.texi: Add documentation for SSE4A builtins. 426251212Spfg 427251212Spfg2007-01-24 Jakub Jelinek <jakub@redhat.com> (r121140) 428251212Spfg 429251212Spfg * config/i386/i386.h (x86_cmpxchg16b): Remove const. 430251212Spfg (TARGET_CMPXCHG16B): Define to x86_cmpxchg16b. 431251212Spfg * config/i386/i386.c (x86_cmpxchg16b): Remove const. 432251212Spfg (override_options): Add PTA_CX16 flag. Set x86_cmpxchg16b 433251212Spfg for CPUs that have PTA_CX16 set. 434251212Spfg 435260139Spfg2007-01-18 Josh Conner <jconner@apple.com> (r120902) 436260139Spfg 437260139Spfg PR target/30485 438260139Spfg * config/rs6000/rs6000.c (rs6000_emit_vector_compare): Add 439260139Spfg support for UNLE, UNLT, UNGE, and UNGT. 440260139Spfg 441221282Smm2007-01-17 Eric Christopher <echristo@apple.com> (r120846) 442221282Smm 443221282Smm * config.gcc: Support core2 processor. 444221282Smm 445260074Spfg2007-01-11 Joseph Myers <joseph@codesourcery.com> (r120688) 446260074Spfg 447260074Spfg * c-common.c (vector_types_convertible_p): Treat opaque types as 448260074Spfg always convertible if they have the same size, but not otherwise. 449260074Spfg 450259947Spfg2007-01-08 Geoffrey Keating <geoffk@apple.com> (r120611) 451260074Spfg 452259947Spfg * target.h (struct gcc_target): New field library_rtti_comdat. 453259947Spfg * target-def.h (TARGET_CXX_LIBRARY_RTTI_COMDAT): New. 454259947Spfg (TARGET_CXX): Add TARGET_CXX_LIBRARY_RTTI_COMDAT. 455259947Spfg * doc/tm.texi (C++ ABI): Document TARGET_CXX_LIBRARY_RTTI_COMDAT. 456259947Spfg * config/darwin.h (TARGET_CXX_LIBRARY_RTTI_COMDAT): Define. 457259947Spfg 458260074Spfg2007-01-08 Mark Shinwell <shinwell@codesourcery.com> (r120572) 459260074Spfg 460260074Spfg * c.opt: Add -flax-vector-conversions. 461260074Spfg * c-typeck.c (convert_for_assignment): Pass flag to 462260074Spfg vector_types_convertible_p to allow emission of note. 463260074Spfg (digest_init): Likewise. 464260074Spfg * c-opts.c: Handle -flax-vector-conversions. 465260074Spfg * c-common.c (flag_lax_vector_conversions): New. 466260074Spfg (vector_types_convertible_p): Unless -flax-vector conversions 467260074Spfg has been passed, disallow conversions between vectors with 468260074Spfg differing numbers of subparts and/or element types. If such 469260074Spfg a conversion is disallowed, possibly emit a note on the first 470260074Spfg occasion only to inform the user of -flax-vector-conversions. 471260074Spfg The new last argument specifies this. 472260074Spfg * c-common.h (flag_lax_vector_conversions): New. 473260074Spfg (vector_types_convertible_p): Add extra argument. 474260074Spfg * config/i386/i386.c (ix86_init_mmx_sse_builtins): Use 475260074Spfg char_type_node for V*QI type vectors. 476260074Spfg * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): 477260074Spfg Update to satisfy new typechecking rules. 478260074Spfg * config/rs6000/altivec.h (vec_cmple): Use vec_cmpge, for both 479260074Spfg C and C++ variants. 480260074Spfg * doc/invoke.texi (C Dialect Options): Document 481260074Spfg -flax-vector-conversions. 482260074Spfg 483259694Spfg2007-01-05 Manuel Lopez-Ibanez <manu@gcc.gnu.org> (r120505) 484259584Spfg 485259584Spfg PR c/19978 486259584Spfg * tree.h (TREE_OVERFLOW_P): New. 487259584Spfg * c-typeck.c (parser_build_unary_op): Warn only if result 488259584Spfg overflowed and operands did not. 489259584Spfg (parser_build_binary_op): Likewise. 490259584Spfg (convert_for_assignment): Remove redundant overflow_warning. 491259584Spfg * c-common.c (overflow_warning): Don't check or set TREE_OVERFLOW. 492259584Spfg 493259268Spfg2006-12-13 Ian Lance Taylor <iant@google.com> (r119855) 494259268Spfg 495259268Spfg PR c++/19564 496259268Spfg PR c++/19756 497259268Spfg * c-typeck.c (parser_build_binary_op): Move parentheses warnings 498259268Spfg to warn_about_parentheses in c-common.c. 499259268Spfg * c-common.c (warn_about_parentheses): New function. 500259268Spfg * c-common.h (warn_about_parentheses): Declare. 501259268Spfg * doc/invoke.texi (Warning Options): Update -Wparentheses 502259268Spfg description. 503259268Spfg 504259563Spfg2006-12-12 Geoffrey Keating <geoffk@apple.com> (r119820) 505259563Spfg 506259563Spfg * mips-tdump.c: Replace CROSS_COMPILE with 507259563Spfg CROSS_DIRECTORY_STRUCTURE. 508259563Spfg * mips-tfile.c: Likewise. 509259563Spfg * gcc.c: Likewise. 510259563Spfg * configure.ac: Likewise. 511259563Spfg * cppdefault.c: Likewise. 512259563Spfg * Makefile.in: Likewise. 513259563Spfg * config/alpha/osf.h: Likewise. 514259563Spfg * config/i386/cygwin.h: Likewise. 515259563Spfg * config/i386/beos-elf.h: Likewise. 516259563Spfg * config/i386/nto.h: Likewise. 517259563Spfg * config/svr4.h: Likewise. 518259563Spfg * config/rs6000/aix.h: Likewise. 519259563Spfg * config/rs6000/sysv4.h: Likewise. 520259563Spfg * collect2.c: Likewise. 521259563Spfg * configure: Regenerate. 522259563Spfg 523259563Spfg * doc/tm.texi (Alignment Output): Document that ASM_OUTPUT_SKIP 524259563Spfg actually takes an unsigned HOST_WIDE_INT for its second parameter. 525259563Spfg 526221282Smm2006-12-02 H.J. Lu <hongjiu.lu@intel.com> (r119454 - partial) 527221282Smm 528221282Smm PR target/30040 529221282Smm * config/i386/driver-i386.c (bit_SSSE3): New. 530221282Smm 531251212Spfg2006-11-27 Uros Bizjak <ubizjak@gmail.com> (r119260) 532251212Spfg 533251212Spfg * config/i386/i386.c (x86_ext_80387_constants): Add m_K8, m_CORE2 534251212Spfg and m_GENERIC64. 535251212Spfg 536221282Smm2006-11-18 Vladimir Makarov <vmakarov@redhat.com> (r118973) 537221282Smm 538221282Smm * doc/invoke.texi (core2): Add item. 539221282Smm 540221282Smm * config/i386/i386.h (TARGET_CORE2, TARGET_CPU_DEFAULT_core2): New 541221282Smm macros. 542221282Smm (TARGET_CPU_CPP_BUILTINS): Add code for core2. 543221282Smm (TARGET_CPU_DEFAULT_generic): Change value. 544221282Smm (TARGET_CPU_DEFAULT_NAMES): Add core2. 545221282Smm (processor_type): Add new constant PROCESSOR_CORE2. 546221282Smm 547221282Smm * config/i386/i386.md (cpu): Add core2. 548221282Smm 549221282Smm * config/i386/i386.c (core2_cost): New initialized variable. 550221282Smm (m_CORE2): New macro. 551221282Smm (x86_use_leave, x86_push_memory, x86_movx, x86_unroll_strlen, 552221282Smm x86_deep_branch, x86_partial_reg_stall, x86_use_simode_fiop, 553221282Smm x86_use_cltd, x86_promote_QImode, x86_sub_esp_4, x86_sub_esp_8, 554221282Smm x86_add_esp_4, x86_add_esp_8, x86_integer_DFmode_moves, 555221282Smm x86_partial_reg_dependency, x86_memory_mismatch_stall, 556221282Smm x86_accumulate_outgoing_args, x86_prologue_using_move, 557221282Smm x86_epilogue_using_move, x86_arch_always_fancy_math_387, 558221282Smm x86_sse_partial_reg_dependency, x86_rep_movl_optimal, 559221282Smm x86_use_incdec, x86_four_jump_limit, x86_schedule, 560221282Smm x86_pad_returns): Add m_CORE2. 561221282Smm (override_options): Add entries for Core2. 562221282Smm (ix86_issue_rate): Add case for Core2. 563221282Smm 564260395Spfg2006-11-14 Caroline Tice <ctice@apple.com> (r118826) 565260395Spfg 566260395Spfg * dwarf2out.c (debug_pubtypes_section): New static global variable. 567260395Spfg (pubname_entry): Add DEF_VEC_O and DEF_VEC_ALLOC_O statements for 568260395Spfg this type. 569260395Spfg (pubname_table): Redefine as a vector. 570260395Spfg (pubtype_table): New static global variable, defined as a vector. 571260395Spfg (pubname_table_allocated): Remove static global variable. 572260395Spfg (pubname_table_in_use): Remove static global variable. 573260395Spfg (PUBNAME_TABLE_INCREMENT): Remove constant. 574260395Spfg (size_of_pubnames): Add parameter to deal with either pubnames or 575260395Spfg pubtypes, and change code to deal with table being a vector. 576260395Spfg (add_pubname): Change to deal with table being a vector. 577260395Spfg (add_pubtype): New function. 578260395Spfg (output_pubnames): Add parameter to deal with either pubnames or 579260395Spfg pubtypes, and change code to deal with table being a vector. 580260395Spfg (gen_array_type_die): Add call to add_pubtype. 581260395Spfg (gen_enumeration_type_die): Add call to add_pubtype. 582260395Spfg (gen_struct_or_union_type_die): Add call to add_pubtype. 583260395Spfg (gen_subroutine_type_die): Add call to add_pubtype. 584260395Spfg (gen_typedef_die): Add call to add_pubtype. 585260395Spfg (dwarf2out_init): Add code to initialize pubname_table and 586260395Spfg pubtype_table vectors; also initialize debug_pubtypes_section. 587260395Spfg (prune_unused_types): Change to deal with pubnames being a vector. 588260395Spfg (dwarf2out_finish): Change to deal with pubnames being a vector; add 589260395Spfg pubnames table to call to output_pubnames; Add code to output pubtypes 590260395Spfg table if DEBUG_PUBTYPES_SECTION is defined. 591260395Spfg * config/darwin.c (darwin_file_start): Add DEBUG_PUBTYPES_SECTION to 592260395Spfg debugnames. 593260395Spfg * config/darwin.h (DEBUG_PUBTYPES_SECTION): Define new global variable. 594260395Spfg 595259563Spfg2006-11-07 Eric Christopher <echristo@apple.com> (r118576) 596259563Spfg 597259563Spfg * libgcc2.c (__bswapdi2): Rename from bswapDI2. 598259563Spfg (__bswapsi2): Ditto. 599259563Spfg * libgcc2.h: Remove transformation of bswap routines. 600259563Spfg * config/i386/i386.md (bswapsi2): New. 601259563Spfg (bswapdi2): Ditto. 602259563Spfg 603260455Spfg2006-11-03 Paul Brook <paul@codesourcery.com> (r118461) 604260455Spfg 605260455Spfg gcc/ 606260455Spfg * config/arm/arm.c (arm_file_start): New function. 607260455Spfg (TARGET_ASM_FILE_START): Define. 608260455Spfg (arm_default_cpu): New variable. 609260455Spfg (arm_override_options): Set arm_default_cpu. 610260455Spfg 611259563Spfg2006-10-31 Geoffrey Keating <geoffk@apple.com> (r118360) 612259563Spfg 613259563Spfg * coverage.c (coverage_checksum_string): Update comment. 614259563Spfg * dwarf2out.c (switch_to_eh_frame_section): Update for removal 615259563Spfg of get_file_function_name. 616259563Spfg * cgraphunit.c (cgraph_build_static_cdtor): Update for rename 617259563Spfg of get_file_function_name_long. 618259563Spfg * tree.c (get_file_function_name): Rename from 619259563Spfg get_file_function_name_long; improve comment; handle 'I' and 'D' 620259563Spfg specially when the target has ctor/dtor support; remove special 621259563Spfg handling for 'F'. 622259563Spfg (get_file_function_name): Remove. 623259563Spfg * tree.h (get_file_function_name): Rename from 624259563Spfg get_file_function_name_long. 625259563Spfg (get_file_function_name): Remove prototype. 626259563Spfg 627259268Spfg2006-10-31 Geoffrey Keating <geoffk@apple.com> (r118356) 628259268Spfg 629259268Spfg * c-decl.c (grokdeclarator): Don't set DECL_EXTERNAL on 630259268Spfg inline static functions in c99 mode. 631259268Spfg 632259268Spfg PR 16622 633259268Spfg * doc/extend.texi (Inline): Update. 634259268Spfg * c-tree.h (struct language_function): Remove field 'extern_inline'. 635259268Spfg * c-decl.c (current_extern_inline): Delete. 636259268Spfg (pop_scope): Adjust test for an undefined nested function. 637259268Spfg Add warning about undeclared inline function. 638259268Spfg (diagnose_mismatched_decls): Update comments. Disallow overriding 639259268Spfg of inline functions in a translation unit in C99. Allow inline 640259268Spfg declarations in C99 at any time. 641259268Spfg (merge_decls): Boolize variables. Handle C99 'extern inline' 642259268Spfg semantics. 643259268Spfg (grokdeclarator): Set DECL_EXTERNAL here for functions. Handle 644259268Spfg C99 inline semantics. 645259268Spfg (start_function): Don't clear current_extern_inline. Don't set 646259268Spfg DECL_EXTERNAL. 647259268Spfg (c_push_function_context): Don't push current_extern_inline. 648259268Spfg (c_pop_function_context): Don't restore current_extern_inline. 649259268Spfg 650259268Spfg PR 11377 651259268Spfg * c-typeck.c (build_external_ref): Warn about static variables 652259268Spfg used in extern inline functions. 653259268Spfg * c-decl.c (start_decl): Warn about static variables declared 654259268Spfg in extern inline functions. 655259268Spfg 656221282Smm2006-10-27 Vladimir Makarov <vmakarov@redhat.com> (r118090) 657221282Smm 658221282Smm * config/i386/i386.h (TARGET_GEODE): 659221282Smm (TARGET_CPU_CPP_BUILTINS): Add code for geode. 660221282Smm (TARGET_CPU_DEFAULT_geode): New macro. 661221282Smm (TARGET_CPU_DEFAULT_k6, TARGET_CPU_DEFAULT_k6_2, 662221282Smm TARGET_CPU_DEFAULT_k6_3, TARGET_CPU_DEFAULT_athlon, 663221282Smm TARGET_CPU_DEFAULT_athlon_sse, TARGET_CPU_DEFAULT_k8, 664221282Smm TARGET_CPU_DEFAULT_pentium_m, TARGET_CPU_DEFAULT_prescott, 665221282Smm TARGET_CPU_DEFAULT_nocona, TARGET_CPU_DEFAULT_generic): Increase 666221282Smm the macro values. 667221282Smm (TARGET_CPU_DEFAULT_NAMES): Add geode. 668221282Smm (processor_type): Add PROCESSOR_GEODE. 669221282Smm 670221282Smm * config/i386/i386.md: Include geode.md. 671221282Smm (cpu): Add geode. 672221282Smm 673221282Smm * config/i386/i386.c (geode_cost): New initialized global 674221282Smm variable. 675221282Smm (m_GEODE, m_K6_GEODE): New macros. 676221282Smm (x86_use_leave, x86_push_memory, x86_deep_branch, x86_use_sahf, 677221282Smm x86_use_himode_fiop, x86_promote_QImode, x86_add_esp_4, 678221282Smm x86_add_esp_8, x86_rep_movl_optimal, x86_ext_80387_constants, 679221282Smm x86_schedule): Use m_K6_GEODE instead of m_K6. 680221282Smm (x86_movx, x86_cmove): Set up m_GEODE. 681221282Smm (x86_integer_DFmode_moves): Clear m_GEODE. 682221282Smm (processor_target_table): Add entry for geode. 683221282Smm (processor_alias_table): Ditto. 684221282Smm 685221282Smm * config/i386/geode.md: New file. 686221282Smm 687221282Smm * doc/invoke.texi: Add entry about geode processor. 688237021Spfg 689237406Spfg2006-10-24 Richard Guenther <rguenther@suse.de> (r118001) 690228756Spfg 691228756Spfg PR middle-end/28796 692228756Spfg * builtins.c (fold_builtin_classify): Use HONOR_INFINITIES 693228756Spfg and HONOR_NANS instead of MODE_HAS_INFINITIES and MODE_HAS_NANS 694228756Spfg for deciding optimizations in consistency with fold-const.c 695228756Spfg (fold_builtin_unordered_cmp): Likewise. 696228756Spfg 697221282Smm2006-10-22 H.J. Lu <hongjiu.lu@intel.com> (r117958) 698221282Smm 699221282Smm * config.gcc (i[34567]86-*-*): Add tmmintrin.h to extra_headers. 700221282Smm (x86_64-*-*): Likewise. 701221282Smm 702221282Smm * config/i386/i386.c (pta_flags): Add PTA_SSSE3. 703221282Smm (override_options): Check SSSE3. 704221282Smm (ix86_builtins): Add IX86_BUILTIN_PHADDW, IX86_BUILTIN_PHADDD, 705221282Smm IX86_BUILTIN_PHADDSW, IX86_BUILTIN_PHSUBW, IX86_BUILTIN_PHSUBD, 706221282Smm IX86_BUILTIN_PHSUBSW, IX86_BUILTIN_PMADDUBSW, 707221282Smm IX86_BUILTIN_PMULHRSW, IX86_BUILTIN_PSHUFB, 708221282Smm IX86_BUILTIN_PSIGNB, IX86_BUILTIN_PSIGNW, IX86_BUILTIN_PSIGND, 709221282Smm IX86_BUILTIN_PALIGNR, IX86_BUILTIN_PABSB, IX86_BUILTIN_PABSW, 710221282Smm IX86_BUILTIN_PABSD, IX86_BUILTIN_PHADDW128, 711221282Smm IX86_BUILTIN_PHADDD128, IX86_BUILTIN_PHADDSW128, 712221282Smm IX86_BUILTIN_PHSUBW128, IX86_BUILTIN_PHSUBD128, 713221282Smm IX86_BUILTIN_PHSUBSW128, IX86_BUILTIN_PMADDUBSW128, 714221282Smm IX86_BUILTIN_PMULHRSW128, IX86_BUILTIN_PSHUFB128, 715221282Smm IX86_BUILTIN_PSIGNB128, IX86_BUILTIN_PSIGNW128, 716221282Smm IX86_BUILTIN_PSIGND128, IX86_BUILTIN_PALIGNR128, 717221282Smm IX86_BUILTIN_PABSB128, IX86_BUILTIN_PABSW128 and 718221282Smm IX86_BUILTIN_PABSD128. 719221282Smm (bdesc_2arg): Add SSSE3. 720221282Smm (bdesc_1arg): Likewise. 721221282Smm (ix86_init_mmx_sse_builtins): Support SSSE3. 722221282Smm (ix86_expand_builtin): Likewise. 723221282Smm * config/i386/i386.h (TARGET_CPU_CPP_BUILTINS): Likewise. 724221282Smm 725221282Smm * config/i386/i386.md (UNSPEC_PSHUFB): New. 726221282Smm (UNSPEC_PSIGN): Likewise. 727221282Smm (UNSPEC_PALIGNR): Likewise. 728221282Smm Include mmx.md before sse.md. 729221282Smm 730221282Smm * config/i386/i386.opt: Add -mssse3. 731221282Smm 732221282Smm * config/i386/sse.md (ssse3_phaddwv8hi3): New pattern for SSSE3. 733221282Smm (ssse3_phaddwv4hi3): Likewise. 734221282Smm (ssse3_phadddv4si3): Likewise. 735221282Smm (ssse3_phadddv2si3): Likewise. 736221282Smm (ssse3_phaddswv8hi3): Likewise. 737221282Smm (ssse3_phaddswv4hi3): Likewise. 738221282Smm (ssse3_phsubwv8hi3): Likewise. 739221282Smm (ssse3_phsubwv4hi3): Likewise. 740221282Smm (ssse3_phsubdv4si3): Likewise. 741221282Smm (ssse3_phsubdv2si3): Likewise. 742221282Smm (ssse3_phsubswv8hi3): Likewise. 743221282Smm (ssse3_phsubswv4hi3): Likewise. 744221282Smm (ssse3_pmaddubswv8hi3): Likewise. 745221282Smm (ssse3_pmaddubswv4hi3): Likewise. 746221282Smm (ssse3_pmulhrswv8hi3): Likewise. 747221282Smm (ssse3_pmulhrswv4hi3): Likewise. 748221282Smm (ssse3_pshufbv16qi3): Likewise. 749221282Smm (ssse3_pshufbv8qi3): Likewise. 750221282Smm (ssse3_psign<mode>3): Likewise. 751221282Smm (ssse3_psign<mode>3): Likewise. 752221282Smm (ssse3_palignrti): Likewise. 753221282Smm (ssse3_palignrdi): Likewise. 754221282Smm (abs<mode>2): Likewise. 755221282Smm (abs<mode>2): Likewise. 756221282Smm 757221282Smm * config/i386/tmmintrin.h: New file. 758221282Smm 759221282Smm * doc/extend.texi: Document SSSE3 built-in functions. 760221282Smm 761221282Smm * doc/invoke.texi: Document -mssse3/-mno-ssse3 switches. 762233923Spfg 763251212Spfg2006-10-22 H.J. Lu <hongjiu.lu@intel.com> (r117959) 764250550Spfg 765250550Spfg * config/i386/tmmintrin.h: Remove the duplicated content. 766250550Spfg 767237406Spfg2006-10-21 Richard Guenther <rguenther@suse.de> (r117932) 768233923Spfg 769237406Spfg PR tree-optimization/3511 770237406Spfg * tree-ssa-pre.c (phi_translate): Fold CALL_EXPRs that 771237406Spfg got new invariant arguments during PHI translation. 772237406Spfg 773237406Spfg2006-10-21 Richard Guenther <rguenther@suse.de> (r117929) 774237406Spfg 775233923Spfg * builtins.c (fold_builtin_classify): Fix typo. 776233923Spfg 777259563Spfg2006-09-07 Eric Christopher <echristo@apple.com> (r118361) 778259563Spfg Falk Hueffner <falk@debian.org> 779259563Spfg 780259563Spfg * doc/extend.texi (__builtin_bswap32): Document. 781259563Spfg (__builtin_bswap64): Ditto. 782259563Spfg * doc/libgcc.texi (bswapsi2): Document. 783259563Spfg (bswapdi2): Ditto. 784259563Spfg * doc/rtl.texi (bswap): Document. 785259563Spfg * optabs.c (expand_unop): Don't widen a bswap. 786259563Spfg (init_optabs): Init bswap. Set libfuncs explicitly 787259563Spfg for bswapsi2 and bswapdi2. 788259563Spfg * optabs.h (OTI_bswap): New. 789259563Spfg (bswap_optab): Ditto. 790259563Spfg * genopinit.c (optabs): Handle bswap_optab. 791259563Spfg * tree.h (tree_index): Add TI_UINT32_TYPE and 792259563Spfg TI_UINT64_TYPE. 793259563Spfg (uint32_type_node): New. 794259563Spfg (uint64_type_node): Ditto. 795259563Spfg * tree.c (build_common_tree_nodes_2): Initialize 796259563Spfg uint32_type_node and uint64_type_node. 797259563Spfg * builtins.c (expand_builtin_bswap): New. 798259563Spfg (expand_builtin): Call. 799259563Spfg (fold_builtin_bswap): New. 800259563Spfg (fold_builtin_1): Call. 801259563Spfg * fold-const.c (tree_expr_nonnegative_p): Return true 802259563Spfg for bswap. 803259563Spfg * builtin-types.def (BT_UINT32): New. 804259563Spfg (BT_UINT64): Ditto. 805259563Spfg (BT_FN_UINT32_UINT32): Ditto. 806259563Spfg (BT_FN_UINT64_UINT64): Ditto. 807259563Spfg * builtins.def (BUILT_IN_BSWAP32): New. 808259563Spfg (BUILT_IN_BSWAP64): Ditto. 809259563Spfg * rtl.def (BSWAP): New. 810259563Spfg * genattrtab.c (check_attr_value): New. 811259563Spfg * libgcc2.c (__bswapSI2): New. 812259563Spfg (__bswapDI2): Ditto. 813259563Spfg * libgcc2.h (__bswapSI2): Declare. 814259563Spfg (__bswapDI2): Ditto. 815259563Spfg * mklibgcc.in (lib2funcs): Add _bswapsi2 and _bswapdi2. 816259563Spfg * simplify-rtx.c (simplify_const_unary_operation): Return 817259563Spfg 0 for BSWAP. 818259563Spfg * libgcc-std.ver (__bwapsi2): Add. 819259563Spfg (__bswapdi2): Ditto. 820259563Spfg * reload1.c (eliminate_regs_1): Add bswap. 821259563Spfg (elimination_effects): Ditto. 822259563Spfg * config/i386/i386.h (x86_bswap): New. 823259563Spfg (TARGET_BSWAP): Use. 824259563Spfg * config/i386/i386.c (x86_bswap): Set. 825