aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
AgeCommit message (Collapse)AuthorFilesLines
2006-05-09hpux-unwind.h (pa_fallback_frame_state): Handle return parameter relocation ↵John David Anglin1-0/+36
and relocation stubs. * hpux-unwind.h (pa_fallback_frame_state): Handle return parameter relocation and relocation stubs. From-SVN: r113640
2006-05-08re PR target/27277 (standard i387 constant loading insns (fldz, fld1) are ↵Uros Bizjak1-1/+16
not generated anymore) PR target/27277 * config/i386/i386.c (ix86_rtx_costs) [FLOAT_EXTEND]: For standard 80387 constants, raise the cost to prevent compress_float_constant() to generate load from memory. From-SVN: r113622
2006-05-08Remove the svn:mime-type property.Kazu Hirata1-1/+1
From-SVN: r113619
2006-05-07re PR target/24879 ([4.1]: SSE3 monitor intrinsic doesn't work in 64bit)H.J. Lu2-9/+19
gcc/ 2006-05-07 H.J. Lu <hongjiu.lu@intel.com> PR target/24879 * config/i386/pmmintrin.h (_mm_monitor): Remove macro. Use inline function. (_mm_mwait): Likewise. * config/i386/sse.md (sse3_mwait): Replace "mwait\t%0, %1" with "mwait". (sse3_monitor): Make it 32bit only. (sse3_monitor64): New. 64bit monitor. gcc/testsuite/ 2006-05-07 H.J. Lu <hongjiu.lu@intel.com> PR target/24879 * gcc.target/i386/monitor.c: New file. From-SVN: r113617
2006-05-07re PR target/27421 (ICE with invalid array in struct)Volker Reichelt1-0/+3
PR target/27421 * config/i386/i386.c (classify_argument): Skip fields with invalid types. * gcc.dg/array-9.c: New test. From-SVN: r113609
2006-05-06r113612@merlin: rearnsha | 2006-05-07 00:19:18 +0100Richard Earnshaw3-117/+191
r113612@merlin: rearnsha | 2006-05-07 00:19:18 +0100 * genpeep.c (main): Make insn-peep.c depend on flags.h. * arm/constraints.md: New file. * arm.h (REG_CLASS_FROM_LETTER_P): Delete. (CONST_OK_FOR_ARM_LETTER, CONST_OK_FOR_THUMB_LETTER) (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_ARM_LETTER) (CONST_DOUBLE_OK_FOR_LETTER_P, EXTRA_CONSTRAINT_STR_ARM) (CONSTRAINT_LEN, EXTRA_CONSTRAINT_THUMB, EXTRA_CONSTRAINT_STR) (EXTRA_MEMORY_CONSTRAINT): Likewise. * arm.md: Include constraints.md. (thumb_movsi_insn): Use satisfies_constraint_J. (movhi, movqi): Use satisfies_constraint_I. From-SVN: r113588
2006-05-07avr.h (CRT_BINUTILS_SPECS): Fixed crt* file name for atmega645 device.Anatoly Sokolov1-1/+1
* config/avr/avr.h (CRT_BINUTILS_SPECS): Fixed crt* file name for atmega645 device. From-SVN: r113585
2006-05-05rs6000.md: Mark all "X" constraints for clobbered scratch with output modifier.David Edelsohn1-11/+11
* config/rs6000/rs6000.md: Mark all "X" constraints for clobbered scratch with output modifier. From-SVN: r113555
2006-05-04re PR target/26481 (ICE with -mcpu=power and struct passing)David Edelsohn1-6/+6
PR target/26481 * config/rs6000/rs6000.md (stmsi_power): Mark clobber constraint with output modifier. From-SVN: r113539
2006-05-04re PR target/26765 (ICE in in extract_insn with __thread and optimization)Kazu Hirata1-8/+6
gcc/ PR target/26765 * config/mips/mips.c (mips_symbolic_address_p): Return true for SYMBOL_TLSGD, SYMBOL_TLSLDM, SYMBOL_DTPREL, SYMBOL_TPREL, SYMBOL_GOTTPREL, and SYMBOL_TLS. gcc/testsuite/ PR target/26765 * gcc.target/mips/pr26765.c: New. From-SVN: r113536
2006-05-04* config/mips/linux64.h (DWARF_OFFSET_SIZE): Remove.Joseph Myers1-5/+0
From-SVN: r113524
2006-05-04bfin.c: Include "optabs.h".Bernd Schmidt2-1/+462
* config/bfin/bfin.c: Include "optabs.h". (bfin_rtx_costs): Some costs for vector operations, to allow combine to do more work. (enum bfin_builtins): Add a number of fractional and vector builtins. (bfin_init_builtins): Likewise. (struct builtin_description, bdesc_2arg, bdesc_1arg): New. (safe_vector_operand, bfin_expand_binop_builtin, bfin_expand_unop_builtin): New functions. (bfin_expand_builtin): Handle the new builtins. * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): Define __ADSPBLACKFIN__. From-SVN: r113521
2006-05-04predicates.md (const01_rtx): Tell generator programs that this only matches ↵Bernd Schmidt2-25/+26
CONST_INTs. * config/bfin/predicates.md (const01_rtx): Tell generator programs that this only matches CONST_INTs. All users changed to VOIDmode operands. From-SVN: r113520
2006-05-02re PR target/27387 (Thumb thunk is not PIC)Kazu Hirata1-1/+32
gcc/ PR target/27387 * arm.c (arm_output_mi_thunk): Use pc-relative addressing when -mthumb -fPIC are used. testsuite/ PR target/27387 * gcc.target/arm/arm.exp: New. * gcc.target/arm/pr27387.C: Likewise. From-SVN: r113467
2006-05-02re PR target/25871 (TRAMPOLINE_TEMPLATE uses 32bit moves on 64bit code)Stanislaw Skowronek1-5/+10
2006-05-02 Joshua Kinard <kumba@gentoo.org> PR target/25871 * gcc/config/mips/mips.h (TRAMPOLINE_TEMPLATE): Avoid 32-bit moves with 64-bit pointers. From-SVN: r113460
2006-05-02arm.c (add_minipool_forward_ref): Check if insn and pool overlap.Paul Brook1-11/+20
2006-05-02 Paul Brook <paul@codesourcery.com> * config/arm/arm.c (add_minipool_forward_ref): Check if insn and pool overlap. (create_fix_barrier): Check that a suitable barrier location is found. (arm_reorg): Include ftmp->address in allowable range of addresses. From-SVN: r113459
2006-05-01re PR target/27374 (*arm_movdi_vfp in config/arm/vfp.md has wrong output ↵Kazu Hirata1-2/+2
templates) PR target/27374 * config/arm/vfp.md (*arm_movdi_vfp): Correct the output templates for case 3 and 4. From-SVN: r113436
2006-04-30rs6000.c (rs6000_override_options): Enable TARGET_NO_FP_IN_TOC for section ↵David Edelsohn1-1/+12
anchors. * config/rs6000/rs6000.c (rs6000_override_options): Enable TARGET_NO_FP_IN_TOC for section anchors. (optimization_options): Enable section anchors for all non-"Objective" languages. From-SVN: r113395
2006-04-28darwin-c.c (darwin_ms_struct): Move thisEric Christopher3-18/+21
2006-04-28 Eric Christopher <echristo@apple.com> * config/darwin-c.c (darwin_ms_struct): Move this (darwin_set_default_type_attributes): and this... * config/darwin.c: ... here. * config/darwin.h (darwin_ms_struct): Declare. From-SVN: r113358
2006-04-27target-def.h (TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Bracket with #ifndef/#endif.Eric Christopher5-19/+68
2006-04-27 Eric Christopher <echristo@apple.com> * target-def.h (TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Bracket with #ifndef/#endif. * config/darwin-c.c (darwin_ms_struct): New. (darwin_pragma_ms_struct): Ditto. (darwin_set_default_type_attributes): Ditto. * config/darwin-protos.h (darwin_pragma_ms_struct): Declare. * config/darwin.h (DARWIN_REGISTER_TARGET_PRAGMAS): Register ms_struct pragma. * config/i386/darwin.h (REGISTER_TARGET_PRAGMAS): Declare. (TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Ditto. * config/rs6000/rs6000.c (rs6000_set_default_type_attributes): Call darwin_set_default_type_attributes if TARGET_MACHO. 2006-04-27 Eric Christopher <echristo@apple.com> * gcc.dg/pragma-ms_struct.c: New. From-SVN: r113327
2006-04-27t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New.Stuart Hastings4-23/+24
* config/rs6000/t-darwin (DARWIN_EXTRA_CRT_BUILD_CFLAGS): New. * config/t-darwin (crt3.o): Use it. * config/rs6000/rs6000.c (rs6000_initialize_trampoline): Remove 'pmode', use Pmode instead of SImode for SYMBOL_REF. * config/rs6000/rs6000.md (call_indirect_nonlocal_sysv, call_nonlocal_sysv, call_value_indirect_nonlocal_sysv, call_value_nonlocal_sysv): Suffix with the "P" macro for 32/64 support. From-SVN: r113319
2006-04-27xmmintrin.h (_mm_shuffle_pi16): make available for SSE.Dirk Mueller1-2/+0
2006-04-27 Dirk Mueller <dmueller@suse.de> * config/i386/xmmintrin.h (_mm_shuffle_pi16): make available for SSE. * testsuite/gcc.target/i386/sse-7.c: build with -msse. From-SVN: r113297
2006-04-26expmed.c (store_bit_field): Also check whether the bitsize is valid for the ↵Roger Sayle2-7/+12
machine's "insv" instruction... * expmed.c (store_bit_field): Also check whether the bitsize is valid for the machine's "insv" instruction before moving the target into a pseudo for use with the insv. * config/i386/predicates.md (const8_operand): New predicate. * config/i386/i386.md (extv, extzv, insv): Use the new const8_operand predicate where appropriate. From-SVN: r113265
2006-04-25genmodes.c (make_vector_mode): Allow making VECTOR_MODE_INT of a ↵Bernd Schmidt5-26/+1012
MODE_PARTIAL_INT mode. * genmodes.c (make_vector_mode): Allow making VECTOR_MODE_INT of a MODE_PARTIAL_INT mode. * config/bfin/bfin-modes.def: Add V2PDI and V2SI. * config/bfin/bfin.c (print_operand): Add macflag and mac/msu modifiers for CONST_INTs. (hard_regno_mode_ok): V2PDImode is ok for accumulators. * config/bfin/bfin.h (CLASS_MAX_NREGS, HARD_REGNO_NREGS): Handle V2PDImode. * config/bfin/predicates.md (const01_operand, vec_shift_operand): New predicates. * config/bfin/bfin.md (UNSPEC_MUL_WITH_FLAG, UNSPEC_MAC_WITH_FLAG): New constants. (MACFLAG_NONE, MACFLAG_T, MACFLAG_FU, MACFLAG_TFU, MACFLAG_IS, MACFLAG_IU, MACFLAG_W32, MACFLAG_M, MACFLAG_S2RND, MACFLAG_ISS2, MACFLAG_IH): Likewise. (movstricthi_1): Renamed from "*movstricthi". (load_accumulator, load_accumulator_pair, movsi_insv, insv, ssaddsi3, sssubsi3, ssnegsi2, signbitssi2, smaxhi3, sminhi3, abshi2, neghi2, ssneghi2, signbitshi2, movhi_low2high, movhi_high2high, movhi_low2low, movhi_high2low, movhiv2hi_low, movhiv2hi_high, composev2hi, movv2hi_hi, movv2hi_hi_low, movv2hi_hi_high, ssaddhi3, sssubhi3, ssaddv2hi3, sssubv2hi3, addsubv2hi3, subaddv2hi3, ssaddsubv2hi3, sssubaddv2hi3, sublohiv2hi3, subhilov2hi3, sssublohiv2hi3, sssubhilov2hi3, addlohiv2hi3, addhilov2hi3, ssaddlohiv2hi3, ssaddhilov2hi3, mulhisi_ll, mulhisi_lh, mulhisi_hl, mulhisi_hh, ssnegv2hi2, ssashiftv2hi3, ssashifthi3, lshiftv2hi3, lshifthi3, packv2hi, flag_mulhi, flag_mulhisi_parts, flag_machi, flag_machi_acconly, flag_macinithi, flag_macinit1hi, flag_mulv2hi, flag_mulv2hi_parts, flag_macv2hi_parts, flag_macv2hi_parts_acconly, flag_macinitv2hi_parts, flag_macinit1v2hi_parts): New patterns. From-SVN: r113245
2006-04-23re PR target/21283 (ICE with doubles)Roger Sayle1-1/+3
PR target/21283 * config/fr30/fr30.md (define_split): Avoid calling gen_lowpart on a SImode SUBREG of a floating point register after no_new_pseudos. From-SVN: r113198
2006-04-23fr30.md (addsi_small_int): Use REGNO_PTR_FRAME_P to identify potentially ↵Roger Sayle1-6/+6
eliminable registers to... * config/fr30/fr30.md (addsi_small_int): Use REGNO_PTR_FRAME_P to identify potentially eliminable registers to additionally catch VIRTUAL_INCOMING_ARGS_REGNUM. (addsi3): Update the conditions on when to use addsi_small_int. From-SVN: r113197
2006-04-23re PR target/16641 (fr30-elf-gcc compiler error when building newlib-1.12.0)Roger Sayle1-6/+9
PR target/16641 * config/fr30/fr30.h (GO_IF_LEGITIMATE_ADDRESS): Check REGNO for STACK_POINTER_RTX and FRAME_POINTER_RTX instead of comparing the rtx to stack_pointer_rtx or frame_pointer_rtx directly. From-SVN: r113196
2006-04-22revert: op-common.h: Fix a typo.Kazu Hirata1-1/+1
Revert: * config/soft-fp/op-common.h: Fix a typo. From-SVN: r113180
2006-04-22op-common.h, [...]: Fix comment typos.Kazu Hirata1-1/+1
* config/soft-fp/op-common.h, double-int.h, tree-ssa-dom.c: Fix comment typos. * doc/tm.texi: Fix a typo. From-SVN: r113178
2006-04-22decl.c: Fix typo in function name.Eric Christopher1-10/+10
2006-04-21 Eric Christopher <echristo@apple.com> * decl.c: Fix typo in function name. 2006-04-21 Eric Christopher <echristo@apple.com> * df-core.c, tree-outof-ssa.c, config/i386/i386.c: Fix typos in comments and function names. From-SVN: r113167
2006-04-21* config/pa/t-pa64: Add dependencies on $(GCC_PASSES).Steve Ellcey1-4/+4
From-SVN: r113141
2006-04-21arm.c (arm_override_options): Error on iWMMXt and hardware floating point.Paul Brook1-0/+6
2006-04-21 Paul Brook <paul@codesourcery.com> gcc/ * config/arm/arm.c (arm_override_options): Error on iWMMXt and hardware floating point. gcc/testsuite/ * gcc.dg/arm-vfp1.c: Skip on iWMMXt cpus. From-SVN: r113138
2006-04-21rs6000.h (REG_CLASS_CONTENTS): Add sfp to NON_FLOAT_REGS.David Edelsohn1-1/+1
* config/rs6000/rs6000.h (REG_CLASS_CONTENTS): Add sfp to NON_FLOAT_REGS. From-SVN: r113136
2006-04-21* config/sh/t-elf (EXTRA_MULTILIB_PARTS): Include OPT_EXTRA_PARTS.Nick Clifton1-1/+1
From-SVN: r113135
2006-04-21re PR target/27230 (many obj-c++.dg tests ICE in ↵Alan Modra1-3/+5
rs6000_output_function_epilogue) PR target/27230 * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Use C++ lang type in traceback table for Objective-C++. * config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Update comment. From-SVN: r113130
2006-04-20i386.c (asm_preferred_eh_data_format): Reformat.H.J. Lu1-1/+1
2006-04-20 H.J. Lu <hongjiu.lu@intel.com> * config/i386/i386.c (asm_preferred_eh_data_format): Reformat. From-SVN: r113122
2006-04-20rs6000.c (rs6000_gimplify_va_arg): Consume all fp regs if the last fp arg ↵Alan Modra1-1/+1
doesn't fit in regs. * config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Consume all fp regs if the last fp arg doesn't fit in regs. From-SVN: r113111
2006-04-20re PR target/27182 (SH: wrong-code generation)Kaz Kojima1-0/+2
PR target/27182 * config/sh/sh.md (movsicc_true+3): Tweak condition for the case that the last insn has the REG_INC note. From-SVN: r113109
2006-04-19s390.md: Add comments with the instructions emitted by an insn pattern if ↵Andreas Krebbel1-12/+96
macros are used. 2006-04-19 Andreas Krebbel <krebbel1@de.ibm.com> * config/s390/s390.md: Add comments with the instructions emitted by an insn pattern if macros are used. From-SVN: r113071
2006-04-18soft-fp: New directory.Joseph Myers75-30/+7352
* config/soft-fp: New directory. From glibc. * config/soft-fp/t-softfp: New. * config/soft-fp/README: New. * mklibgcc.in: Handle LIB2FUNCS_EXCLUDE. * Makefile.in (LIB2FUNCS_EXCLUDE, SFP_MACHINE): New. (libgcc.mk): Pass LIB2FUNCS_EXCLUDE. (LIBGCC_DEPS): Add $(SFP_MACHINE). * config.gcc: Use rs6000/t-fprules-fpbit or rs6000/t-fprules-softfp and soft-fp/t-softfp together with rs6000/t-fprules. * config/rs6000/sfp-machine.h: New. Based on glibc. * config/rs6000/t-fprules-fpbit, config/rs6000/t-fprules-softfp: New. * config/rs6000/t-fprules: Remove fp-bit rules. * config/rs6000/t-ppccomm (LIB2FUNCS_EXTRA): Use +=. * config/rs6000/t-linux64: Likewise. Remove duplicates from LIB2FUNCS_EXTRA. Remove fp-bit rules. (softfp_wrap_start, softfp_wrap_end): New. From-SVN: r113056
2006-04-18* config/m32c/m32c.h (PTRDIFF_TYPE): Define.DJ Delorie1-0/+3
From-SVN: r113054
2006-04-18t-symbian: Add rule to build sh-c.oNick Clifton2-3/+7
* config/sh/t-symbian: Add rule to build sh-c.o * config/sh/symbian.c (sh_symbian_mark_dllexport): Replace use of DECL_NON_ADDR_CONST_P with DECL_DLLIMPORT_P. (sh_symbian_encode_section_info): Likewise. From-SVN: r113042
2006-04-18* config/mmix/mmix.h (OPTIMIZATION_OPTIONS): Remove reference to ↵Nick Clifton1-1/+0
flag_strength_reduce. From-SVN: r113028
2006-04-17target.h (struct gcc_target): Add mode_rep_extended.Adam Nemet1-0/+14
* target.h (struct gcc_target): Add mode_rep_extended. * rtlanal.c (num_sign_bit_copies_in_rep): New global. (init_num_sign_bit_copies_in_rep): Initialize it using mode_rep_extended. (truncate_to_mode): Use it. (init_rtlanal): Call init_num_sign_bit_copies_in_rep. * targhooks.h (default_mode_rep_extended): Declare it. * targhooks.c (default_mode_rep_extended): Define it. * target-def.h (TARGET_MODE_REP_EXTENDED): New macro. Default to default_mode_rep_extended. (TARGET_INITIALIZER): Include it. * doc/tm.texi (Misc): Document it. * config/mips/mips.c (TARGET_TRUNCATED_TO_MODE): Override it. (mips_truncated_to_mode): New function. From-SVN: r112998
2006-04-16re PR target/24076 ((vector char){x, x, x, x, x, x, x, x, x, x, x, x, x, x, ↵Roger Sayle1-0/+55
x, x} code gen is not that good) 2006-04-15 Roger Sayle <roger@eyesopen.com> Andrew Pinski <pinskia@gcc.gnu.org> Dale Johannesen <dalej@apple.com> PR target/24076 * config/i386/i386.c (ix86_expand_vector_init_duplicate): Add special case code to implement V8HImode and V16QImode with SSE2. * gcc.target/i386/vecinit-3.c: New testcase. * gcc.target/i386/vecinit-4.c: Likewise. * gcc.target/i386/sse-18.c: Likewise. * gcc.target/i386/sse-19.c: Likewise. Co-Authored-By: Andrew Pinski <pinskia@gcc.gnu.org> Co-Authored-By: Dale Johannesen <dalej@apple.com> From-SVN: r112990
2006-04-16i386.c (ix86_va_start): Ensure all integer constant trees are constructed ↵Roger Sayle1-10/+15
with a suitable tree type. * config/i386/i386.c (ix86_va_start): Ensure all integer constant trees are constructed with a suitable tree type. From-SVN: r112982
2006-04-15cfgcleanup.c, [...]: Fix comment typos.Kazu Hirata1-1/+1
* cfgcleanup.c, config/dfp-bit.c, expr.c, fold-const.c, jump.c, mips-tfile.c, omp-low.c, sched-int.h, tree-ssa-loop-prefetch.c, tree-vrp.c: Fix comment typos. From-SVN: r112971
2006-04-15pa.md (output_bb patterns): Shorten long branch alternatives by 4.John David Anglin2-75/+77
* pa.md (output_bb patterns): Shorten long branch alternatives by 4. (output_bvb patterns): Likewise. * pa.c (output_bb): Use 'bb' insn for long branch case. (output_bvb): Likewise use '{bvb|bb}' for long branch case. (output_dbra): Use '{comb|cmpb}' for long branch case for alternative 1. Correct length operand for alternatives 1 and 2. (output_movb): Use '{comb|cmpb}' for long branch case for alternatives 1, 2 and 3. Correct length operand for alternatives 1, 2 and 3. From-SVN: r112970
2006-04-14sparc.c (emit_and_preserve): Allocate space for the register save area.Alexey Starovoytov1-6/+14
* config/sparc/sparc.c (emit_and_preserve): Allocate space for the register save area. Co-Authored-By: Eric Botcazou <ebotcazou@libertysurf.fr> From-SVN: r112950
2006-04-13re PR target/27006 (Invalid altivec constant loading code)Paolo Bonzini1-1/+2
2006-04-13 Paolo Bonzini <bonzini@gnu.org> Ulrich Weigand <uweigand@de.ibm.com> PR target/27006 * config/rs6000/rs6000.h (EASY_VECTOR_15_ADD_SELF): Require n to be even. PR target/27006 * gcc.dg/vmx/pr27006.c: New testcase. Co-Authored-By: Ulrich Weigand <uweigand@de.ibm.com> From-SVN: r112923