Age | Commit message (Collapse) | Author | Files | Lines |
|
* config/rs6000/sysv4.h (SHARED_LIB_SUPPORT): Remove conditional.
(NO_SHARED_LIB_SUPPORT): Remove.
(LINK_SHLIB_SPEC): Remove one conditional definition.
From-SVN: r169025
|
|
* config/mips/linux64.h (LINK_SPEC): Remove %{non_shared}
%{call_shared}.
* config/mips/mips.h (LINK_SPEC): Remove %{non_shared}.
* config/mips/netbsd.h (LINK_SPEC): Remove %{call_shared}.
* config/mips/openbsd.h (LINK_SPEC): Remove %{non_shared}
%{call_shared} and conditionals on these options not being passed.
* config/mips/sde.h (LINK_SPEC): Remove %{non_shared}
%{call_shared}.
From-SVN: r169024
|
|
From-SVN: r169017
|
|
From-SVN: r169015
|
|
Via expander, pre- and post-reload patterns. The pre-reload
pattern is defined to allow lower_subregs totally split the
DImode values.
From-SVN: r169014
|
|
Now that we properly track the life of MDR, we can emit
the RETF instruction if MDR has not been modified. This
insn is 3-4 cycles faster since the return address is
already loaded.
From-SVN: r169013
|
|
There's little reason to greatly complicate things by splitting
the pic_load patterns and using complex rtl to make it work out.
Instead, use the %= marker to generate unique numbers and emit
the entire load_pic sequence at once.
At the same time, collect all references to outgoing_args_size
into mn10300_frame_size, and all computations of register save
area size into mn10300_initial_offset.
From-SVN: r169012
|
|
For addition and logicals, define an operation-plus-flags update pattern
in preparation for compare elimination. In addition, clean up the way
we compare and validate CC_MODEs. Define NEG in terms of NOT; this is
smaller and allows a non-clobbering destination alternative.
From-SVN: r169010
|
|
Note that the mulsidi3_internal pattern is structured so
as to let the lower-subregs pass fully split the result.
From-SVN: r169008
|
|
Note that nothing uses the "z" constraint yet except the one
move pattern; this merely defines the register class properly.
From-SVN: r169007
|
|
Allow REG+REG and POST_MODIFY addressing for AM33. Fix AM33 base and
index register classes. Remove a bunch of register class combinations
that aren't really useful after this cleanup.
From-SVN: r169006
|
|
Handles output reloads for QI/HImode properly; previously we were
only handing input reloads properly.
Handles reloads involving the stack pointer better; note that the
AM33 allows copying SP to DATA_REGS as well as ADDRESS and EXTENDED.
From-SVN: r169005
|
|
Use the "D" and "A" constraints, and the enabled attribute to
unify all ofthe integer move patterns. Delete the fake double
word move patterns; let the middle-end generate subregs as required.
Unfortunately, this somehow exposes a register pressure problem
with the udivmod pattern. This is properly fixed with subsequent
patches that expose the MDR register.
In the meantime it is highly desirable to to preserve bisect-ability
of the patch series, so disable this pattern for AM30.
From-SVN: r169004
|
|
(big-endian))
PR target/46997
* ia64.c (ia64_expand_unpack): Fix code for TARGET_BIG_ENDIAN.
(a64_expand_widen_sum): Ditto.
* vect.md (mulv2si3): Disable for TARGET_BIG_ENDIAN.
(vec_extract_evenodd_help): Ditto.
(vec_extract_evenv4hi): Ditto.
(vec_extract_oddv4hi): Ditto.
(vec_extract_evenv2si): Ditto.
(vec_extract_oddv2si): Ditto.
(vec_extract_evenv2sf): Ditto.
(vec_extract_oddv2sf): Ditto.
(vec_pack_trunc_v4hi: Ditto.
(vec_pack_trunc_v2si): Ditto.
(vec_interleave_lowv8qi): Fix for TARGET_BIG_ENDIAN.
(vec_interleave_highv8qi): Ditto.
(mix1_r): Ditto.
(vec_extract_oddv8qi): Ditto.
(vec_interleave_lowv4hi): Ditto.
(vec_interleave_highv4hi): Ditto.
(vec_interleave_lowv2si): Ditto.
(vec_interleave_highv2si): Ditto.
From-SVN: r168970
|
|
* doc/extend.texi: Mention __float128 support on hppa HP-UX.
* config/pa/pa-hpux.h (HPUX_LONG_DOUBLE_LIBRARY): Define to 1.
* config/pa/pa.c (pa_expand_builtin): New. Include "langhooks.h".
(pa_c_mode_for_suffix): New.
(TARGET_EXPAND_BUILTIN): Define.
(TARGET_C_MODE_FOR_SUFFIX): Define.
(pa_builtins): Define.
(pa_init_builtins): Register __float128 type and init new support
builtins.
* config/pa/pa.h (HPUX_LONG_DOUBLE_LIBRARY): Define if not defined.
* config/pa/quadlib.c (_U_Qfcopysign): New.
From-SVN: r168969
|
|
PR tree-optimization/47179
* config/spu/spu.c (spu_ref_may_alias_errno): New function.
(TARGET_REF_MAY_ALIAS_ERRNO): Define.
From-SVN: r168961
|
|
2011-01-18 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
* config/arm/cortex-a9.md (cortex-a9-neon.md): Actually
include.
(cortex_a9_dp): Handle neon types correctly.
From-SVN: r168950
|
|
The formulation of the pre-reload pattern allows the lower_subreg
pass to properly split the patterns. This also required re-writing
rx_source_operand and related predicates to accept subregs.
From-SVN: r168929
|
|
A standalone __builtin_rx_sat isn't implementable due to needing
to keep the flags live before reload. Instead provide a saturating
add pattern, which hopefully will be pattern-matched by high-level
optimizations.
From-SVN: r168928
|
|
The patterns represented with ashift 1 canonically need to have
the ashift as the first operand of the logical operation.
Leave insv represented as a zero_extract store.
Implement a variable store to a 1 bit field as tst+bmne.
Implement a variable store of a condition into a 1 bit field with bmcc.
From-SVN: r168927
|
|
From-SVN: r168926
|
|
SET should always have VOIDmode. A number of places used
SImode or QImode for the mode of the SET rtx itself.
From-SVN: r168925
|
|
All arithmetic should only clobber the flags by default;
setting the flags to a useful value should be done by a
separate pattern.
From-SVN: r168924
|
|
From-SVN: r168923
|
|
This was delayed until all compare+operate patterns were converted.
From-SVN: r168922
|
|
This will allow elimination of the compare.
From-SVN: r168921
|
|
This will allow elimination of the compare.
From-SVN: r168920
|
|
Use match_operator, not code_iterators. Use a new helper function,
rx_split_cbranch. Get the modes right on the comparisons. Distinguish
fp comparisons with CC_Fmode.
From-SVN: r168919
|
|
To be replaced by the generic compare_elim pass, but we need to disable
this before fiddling with the arrangement of the arithmetic instructions,
as required by the generic pass.
From-SVN: r168916
|
|
Rewrite to look at comparison codes, not arithmetic codes.
From-SVN: r168915
|
|
* config/sparc/sparc.c (sparc_sr_alias_set): Don't define.
(struct_value_alias_set): Don't define.
(sparc_option_override): Don't set sparc_sr_alias_set and
struct_value_alias_set.
(save_or_restore_regs): Use gen_frame_mem rather than calling
set_mem_alias_set.
(sparc_struct_value_rtx): Likewise.
From-SVN: r168901
|
|
gcc/
2011-01-17 H.J. Lu <hongjiu.lu@intel.com>
PR target/47318
* config/i386/avxintrin.h (_mm_maskload_pd): Change mask to
__m128i.
(_mm_maskstore_pd): Likewise.
(_mm_maskload_ps): Likewise.
(_mm_maskstore_ps): Likewise.
(_mm256_maskload_pd): Change mask to __m256i.
(_mm256_maskstore_pd): Likewise.
(_mm256_maskload_ps): Likewise.
(_mm256_maskstore_ps): Likewise.
* config/i386/i386-builtin-types.def: Updated.
(ix86_expand_special_args_builtin): Likewise.
* config/i386/i386.c (bdesc_special_args): Update
__builtin_ia32_maskloadpd, __builtin_ia32_maskloadps,
__builtin_ia32_maskloadpd256, __builtin_ia32_maskloadps256,
__builtin_ia32_maskstorepd, __builtin_ia32_maskstoreps,
__builtin_ia32_maskstorepd256 and __builtin_ia32_maskstoreps256.
* config/i386/sse.md (avx_maskload<ssemodesuffix><avxmodesuffix>):
Use <avxpermvecmode> on mask register.
(avx_maskstore<ssemodesuffix><avxmodesuffix>): Likewise.
gcc/testsuite/
2011-01-17 H.J. Lu <hongjiu.lu@intel.com>
PR target/47318
* gcc.target/i386/avx-vmaskmovpd-1.c: New.
* gcc.target/i386/avx-vmaskmovpd-2.c: Likewise.
* gcc.target/i386/avx-vmaskmovps-1.c: Likewise.
* gcc.target/i386/avx-vmaskmovps-1.c: Likewise.
* gcc.target/i386/avx-vmaskmovpd-256-1.c (avx_test): Load mask
as __m256i.
* gcc.target/i386/avx-vmaskmovpd-256-2.c (avx_test): Likewise.
* gcc.target/i386/avx-vmaskmovps-256-1.c (avx_test): Likewise.
* gcc.target/i386/avx-vmaskmovps-256-2.c (avx_test): Likewise.
From-SVN: r168899
|
|
labels.
gcc/
* config/mips/mips.c (mips_classify_symbol): Don't return
SYMBOL_PC_RELATIVE for nonlocal labels.
From-SVN: r168874
|
|
From-SVN: r168845
|
|
* config/i386/i386.h (CC1_CPU_SPEC_1): Don't handle -msse5.
* config/i386/i386.opt (msse5): New Alias.
From-SVN: r168821
|
|
* config/sparc/linux.h (CC1_SPEC): Remove %{sun4:} %{target:}.
* config/sparc/linux64.h (CC1_SPEC): Likewise.
* config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.
* config/sparc/sparc.h (CC1_SPEC): Likewise.
From-SVN: r168820
|
|
* config/sparc/linux.h (CC1_SPEC): Don't handle old equivalents of
-mcpu options.
* config/sparc/linux64.h (CC1_SPEC): Likewise.
* config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.
* config/sparc/sol2-bi.h (CPP_CPU_SPEC, CC1_SPEC): Likewise.
* config/sparc/sparc.h (CPP_CPU_SPEC, CC1_SPEC, ASM_CPU_SPEC):
Likewise.
* config/sparc/t-elf (MULTILIB_MATCHES): Don't handle -mv8.
From-SVN: r168819
|
|
* config/rs6000/vxworks.h (CC1_SPEC): Don't handle -fvec or
-fvec-eabi.
From-SVN: r168818
|
|
* config/alpha/alpha.md (umk_mismatch_args): Don't put a mode on set.
* config/fr30/fr30.md: Likweise
(movsi_push): Likewise.
(movsi_pop): Likewise.
(enter_func): Likewise.
* config/moxie/moxie.md (movsi_push): Likewise.
(movsi_pop): Likewise.
From-SVN: r168817
|
|
* config/mips/linux64.h (LINK_SPEC): Remove %{bestGnum}
%{no_archive} %{exact_version}.
* config/mips/mips.h (LINK_SPEC): Remove %{bestGnum}.
* config/mips/netbsd.h (LINK_SPEC): Remove %{bestGnum}
%{no_archive} %{exact_version}.
* config/mips/openbsd.h (LINK_SPEC): Likewise.
* config/mips/sde.h (LINK_SPEC): Remove %{bestGnum}.
* config/mips/vxworks.h: Likewise.
From-SVN: r168813
|
|
* config/microblaze/microblaze.h (ASM_SPEC): Remove
%{microblaze1}.
From-SVN: r168812
|
|
* config/m32r/little.h (CPP_ENDIAN_SPEC, CC1_ENDIAN_SPEC,
ASM_ENDIAN_SPEC, LINK_ENDIAN_SPEC): Remove.
From-SVN: r168810
|
|
* config/i386/nwld.h (LINK_SPEC): Check -nodefaultlibs not
-nodefaultlib.
From-SVN: r168809
|
|
* config/cris/cris.h (ASM_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check
for mcpu not cpu.
* config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC,
CRIS_CC1_SUBTARGET_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check for mcpu
not cpu.
(CRIS_LINK_SUBTARGET_SPEC): Don't generate -rpath-link options.
Don't handle -shlib.
From-SVN: r168808
|
|
* config/avr/avr.h (CPP_SPEC): Don't handle -posix.
(CC1_SPEC): Don't handle -profile.
From-SVN: r168807
|
|
* config/microblaze/microblaze.h (CC1_SPEC): Remove -gline spec.
* config/mips/mips.h (CC1_SPEC): Likewise.
From-SVN: r168805
|
|
* config/microblaze/microblaze.h (CC1_SPEC): Remove %{save-temps: }.
* config/mips/mips.h (CC1_SPEC): Likewise.
From-SVN: r168803
|
|
* config/i386/linux.h (LINK_SPEC): Don't use %{!ibcs:} conditional.
* config/m32r/linux.h (LINK_SPEC): Likewise.
* config/mips/linux.h (LINK_SPEC): Likewise.
* config/mips/linux64.h (LINK_SPEC): Likewise.
* config/sparc/linux.h (LINK_SPEC): Likewise.
* config/sparc/linux64.h (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC,
LINK_SPEC): Likewise.
* config/xtensa/linux.h (LINK_SPEC): Likewise.
From-SVN: r168802
|
|
* config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove
%{version:-v}.
* config/lm32/uclinux-elf.h (LINK_SPEC): Likewise.
From-SVN: r168801
|
|
* config/sparc/sp-elf.h (ASM_SPEC): Remove %{v:-V}.
* config/sparc/sp64-elf.h (ASM_SPEC): Likewise.
From-SVN: r168799
|