Joern Rennecke
dff1289d12
* rtl.def (ADDR_DIFF_VEC): Fix comment typo.
...
From-SVN: r192654
2012-10-21 15:15:29 +01:00
Hans-Peter Nilsson
286177b236
* gcc.dg/webizer.c (main): Add missing exit call.
...
From-SVN: r192652
2012-10-21 13:00:03 +00:00
Eric Botcazou
a3a720d0d7
re PR rtl-optimization/44194 (struct returned by value generates useless stores)
...
PR rtl-optimization/44194
* calls.c (expand_call): Allow sibling calls in the PARALLEL case.
From-SVN: r192651
2012-10-21 12:36:16 +00:00
Tobias Burnus
ce86ad58a4
re PR fortran/54725 (cross gfortran always searches host paths (e.g. /usr/include))
...
gcc/
2012-10-21 Tobias Burnus <burnus@net-b.de>
PR fortran/54725
* Makefile.in (TARGET_SYSTEM_ROOT_DEFINE): New.
gcc/fortran
2012-10-21 Tobias Burnus <burnus@net-b.de>
PR fortran/54725
* Make-lang.in (CFLAGS-cpp.o): Use TARGET_SYSTEM_ROOT_DEFINE.
* cpp.o (gfc_cpp_init_options): Use it for
setting gfc_cpp_option.sysroot.
From-SVN: r192650
2012-10-21 12:51:26 +02:00
Thomas Koenig
72ac1c070c
re PR fortran/54465 (Implement -Wextra for Fortran)
...
2012-10-21 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/54465
* lang.opt (Wextra): Add.
* invoke.texi: Document that -Wc-binding-type, -Wconversion
and -Wline-truncation are implied by -Wall. Document that
-Wcompare-reals is implied by -Wextra. Document -Wextra.
* options.c (set_Wextra): New function.
(gfc_handle_option): Handle -Wextra.
2012-10-21 Thomas Koenig <tkoenig@gcc.gnu.org>
PR fortran/54465
* gfortran.dg/wextra_1.f: New test.
From-SVN: r192649
2012-10-21 10:32:02 +00:00
Chung-Lin Tang
699ae4b585
xtensa.c (xtensa_expand_builtin): Remove unused 'arg' variable.
...
2012-10-21 Chung-Lin Tang <cltang@codesourcery.com>
* config/xtensa/xtensa.c (xtensa_expand_builtin): Remove unused 'arg'
variable.
From-SVN: r192648
2012-10-21 06:08:23 +00:00
Hans-Peter Nilsson
836e938574
45713.cc: Skip for mmix-*-*.
...
* testsuite/23_containers/bitset/45713.cc: Skip for mmix-*-*.
Tweak sizetype-related comment.
From-SVN: r192647
2012-10-21 04:52:54 +00:00
Hans-Peter Nilsson
8a740f0731
crti.S: Mark program and data addresses using PRELD.
...
* config/mmix/crti.S: Mark program and data addresses using PRELD.
Remove typo'd and unnecessary alignment-LOC for .data. Remove
no-longer-needed LDBU insns.
From-SVN: r192646
2012-10-21 03:16:47 +00:00
GCC Administrator
ada750d42e
Daily bump.
...
From-SVN: r192644
2012-10-21 00:17:53 +00:00
Eric Botcazou
929634d86b
re PR middle-end/54315 (unnecessary copy of return value for union)
...
PR rtl-optimization/54315
* calls.c (expand_call): Don't deal specifically with BLKmode values
returned in naked registers.
* expr.h (copy_blkmode_from_reg): Adjust prototype.
* expr.c (copy_blkmode_from_reg): Rename first parameter into TARGET and
make it required. Assert that SRCREG hasn't BLKmode. Add a couple of
short-circuits for common cases and be prepared for sub-word registers.
(expand_assignment): Call copy_blkmode_from_reg for BLKmode values
returned in naked registers.
(store_expr): Likewise.
(store_field): Likewise.
From-SVN: r192641
2012-10-20 21:00:23 +00:00
Jan Hubicka
e598c332d8
unroll-1.c: New testcase.
...
* gcc.dg/tree-prof/unroll-1.c: New testcase.
* loop-unroll.c (decide_unroll_constant_iterations): Don't
perform unrolling for loops with low iterations bounds or estimates.
From-SVN: r192638
2012-10-20 15:51:16 +00:00
Jan Hubicka
bcd8d322db
loop-iv.c (iv_number_of_iterations): Record the upper bound only if there are no further conditions on it.
...
* loop-iv.c (iv_number_of_iterations): Record the upper bound
only if there are no further conditions on it.
From-SVN: r192636
2012-10-20 14:19:12 +00:00
Manuel López-Ibáñez
4a0ae68e1c
re PR c/53063 (encode group options in the .opt files)
...
2012-10-20 Manuel López-Ibáñez <manu@gcc.gnu.org>
PR c/53063
PR c/40989
c-family/
* c.opt (Waddress,Wchar-subscripts,Wsign-conversion,Wimplicit,
Wimplicit-function-declaration,Wimplicit-int,Wsizeof-pointer-memaccess,
Wnarrowing,Wparentheses,Wpointer-sign,Wreturn-type,Wsequence-point,
Wsign-compare,Wuninitialized,Wmaybe-uninitialized,Wunused,
Wvolatile-register-var): Add LangEnabledBy or EnabledBy.
* c-opts.c (c_common_handle_option): Remove explicit handling from
here.
(c_common_post_options): Likewise.
gcc/
* opts.c (finish_options): Remove explicit handling from here.
From-SVN: r192635
2012-10-20 14:17:08 +00:00
Joern Rennecke
f6df08e637
final.c (shorten_branches): When optimizing...
...
* final.c (shorten_branches): When optimizing, start with small
length and increase from there, and don't decrease lengths.
Co-Authored-By: Richard Sandiford <rdsandiford@googlemail.com>
From-SVN: r192634
2012-10-20 14:46:07 +01:00
Joern Rennecke
8e38384964
emit-rtl.c (copy_delay_slot_insn): New function.
...
2012-10-20 Joern Rennecke <joern.rennecke@embecosm.com>
Richard Sandiford <rdsandiford@googlemail.com>
* emit-rtl.c (copy_delay_slot_insn): New function.
* emit-rtl.h (copy_delay_slot_insn): Declare.
* reorg.c: Include "emit-rtl.h".
(steal_delay_list_from_target): Use copy_delay_slot_insn.
(fill_slots_from_thread, fill_simple_delay_slots): Likewise.
Co-Authored-By: Richard Sandiford <rdsandiford@googlemail.com>
From-SVN: r192633
2012-10-20 12:37:27 +01:00
Jan Hubicka
4d84e22c4b
builtins.def (BUILT_IN_UNREACHABLE): Make ATTR_CONST_NORETURN_NOTHROW_LEAF_LIST.
...
* builtins.def (BUILT_IN_UNREACHABLE): Make ATTR_CONST_NORETURN_NOTHROW_LEAF_LIST.
* builtin-attrs.def (ATTR_CONST_NORETURN_NOTHROW_LEAF_LIST): Define.
From-SVN: r192632
2012-10-20 10:12:36 +00:00
Jonathan Wakely
ae40b500d2
* include/std/scoped_allocator: Avoid badname.
...
From-SVN: r192629
2012-10-20 03:08:37 +01:00
GCC Administrator
8ddc008379
Daily bump.
...
From-SVN: r192628
2012-10-20 00:18:42 +00:00
Michael Meissner
ad1a0853e6
rs6000-cpus.def (POWERPC_MASKS): Don't assume OPTION_MASK_STRICT_ALIGN is defined.
...
[gcc]
2012-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
Dominique Dhumieres <dominiq@lps.ens.fr>
* config/rs6000/rs6000-cpus.def (POWERPC_MASKS): Don't assume
OPTION_MASK_STRICT_ALIGN is defined.
(MASK_STRICT_ALIGN): If OPTION_MASK_STRICT_ALIGN is not defined,
define this to 0 for the 3 ports that use it.
* config/rs6000/rs6000.c (OPTION_MASK_STRICT_ALIGN): Don't do
check for ports not having -mstrict-align here, move test to
rs6000-cpus.def.
(MASK_STRICT_ALIGN): Likewise.
(rs6000_debug_reg_global): Print out correct target flag words if
-mdebug=reg.
[libobjc]
2012-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
* encoding.c (TARGET_VSX): Provide definitions based on the
current compilation options, and not based off the target options
structure.
(TARGET_ALTIVEC): Likewise.
(TARGET_64BIT): Likewise.
Co-Authored-By: Dominique d'Humieres <dominiq@lps.ens.fr>
From-SVN: r192623
2012-10-19 19:10:03 +00:00
Janus Weil
704fc8502f
re PR fortran/54224 (Warn for unused internal procedures)
...
2012-10-19 Janus Weil <janus@gcc.gnu.org>
PR fortran/54224
* trans-expr.c (conv_function_val): Set TREE_USED.
2012-10-19 Janus Weil <janus@gcc.gnu.org>
PR fortran/54224
* gfortran.dg/warn_unused_function.f90: New.
From-SVN: r192620
2012-10-19 19:14:46 +02:00
Marek Polacek
af89bd042d
re PR middle-end/54945 (Too strong non-aliasing analysis?)
...
PR54945
From-SVN: r192617
2012-10-19 16:53:39 +00:00
Jonathan Wakely
db2415a9a1
* doc/xml/manual/status_cxx2011.xml: Update.
...
From-SVN: r192616
2012-10-19 17:53:32 +01:00
Greta Yorsh
cf5607f85a
target-supports.exp (check_effective_target_arm_prefer_ldrd_strd): New procedure.
...
2012-10-19 Greta Yorsh <Greta.Yorsh@arm.com>
gcc/testsuite/
* gcc.target/arm/target-supports.exp (check_effective_target_arm_prefer_ldrd_strd):
New procedure.
gcc/
* doc/sourcebuild.texi (Effective-Target Keywords): Document
new effective target keyword arm_prefer_ldrd_strd.
From-SVN: r192615
2012-10-19 17:33:28 +01:00
Jonathan Wakely
644b2e4c0d
scoped_allocator (__outermost_alloc_traits): Define.
...
* include/std/scoped_allocator (__outermost_alloc_traits): Define.
(scoped_allocator_adaptor::destroy): Use it.
(scoped_allocator_adaptor::construct): Likewise. Overload for
piecewise construction of std::pair objects.
* testsuite/20_util/scoped_allocator/2.cc: New.
* doc/xml/manual/status_cxx2011.xml: Update.
From-SVN: r192613
2012-10-19 17:16:11 +01:00
Richard Guenther
e665269ada
re PR tree-optimization/54981 (Different code generated with / without `-g')
...
2012-10-19 Richard Guenther <rguenther@suse.de>
PR tree-optimization/54981
* tree-loop-distribution.c (ssa_name_has_uses_outside_loop_p):
Do not consider debug stmts as uses.
* gcc.dg/pr54981.c: New testcase.
From-SVN: r192612
2012-10-19 13:05:40 +00:00
Richard Biener
dfc2e2acc9
re PR tree-optimization/54976 (FAIL: gcc.dg/torture/pr47975.c (internal compiler error))
...
2012-10-19 Richard Biener <rguenther@suse.de>
PR tree-optimization/54976
* tree-vect-stmts.c (get_vectype_for_scalar_type_and_size):
Robustify against odd inner_mode inputs.
From-SVN: r192611
2012-10-19 10:32:29 +00:00
Zhenqiang Chen
57fc62cb32
re PR target/54892 (, ICE in extract_insn, at recog.c:2123)
...
gcc/ChangeLog
PR target/54892
* config/arm/arm.c (arm_expand_compare_and_swap): Use SImode to make
sure the mode is correct when falling through from above cases.
gcc/testsuite/ChangeLog
PR target/54892
* gcc.target/arm/pr54892.c: New.
From-SVN: r192609
2012-10-19 09:24:39 +00:00
Jan Hubicka
c8379865b3
cunroll-1.c: New testcase.
...
* gcc.dg/tree-ssa/cunroll-1.c: New testcase.
* gcc.dg/tree-ssa/cunroll-2.c: New testcase.
* gcc.dg/tree-ssa/cunroll-3.c: New testcase.
* gcc.dg/tree-ssa/cunroll-4.c: New testcase.
* gcc.dg/tree-ssa/cunroll-5.c: New testcase.
From-SVN: r192608
2012-10-19 09:17:06 +00:00
Bin Cheng
b11f0116d6
common.opt (flag_ira_hoist_pressure): New.
...
gcc/ChangeLog
* common.opt (flag_ira_hoist_pressure): New.
* doc/invoke.texi (-fira-hoist-pressure): Describe.
* ira-costs.c (ira_set_pseudo_classes): New parameter.
* ira.h: Update copyright dates.
(ira_set_pseudo_classes): Update prototype.
* haifa-sched.c (sched_init): Update call.
* ira.c (ira): Update call.
* regmove.c: Update copyright dates.
(regmove_optimize): Update call.
* loop-invariant.c: Update copyright dates.
(move_loop_invariants): Update call.
* gcse.c: (struct bb_data): New structure.
(BB_DATA): New macro.
(curr_bb, curr_reg_pressure): New static variables.
(should_hoist_expr_to_dom): Rename from hoist_expr_reaches_here_p.
Change parameter expr_index to expr.
New parameters pressure_class, nregs and hoisted_bbs.
Use reg pressure to determine the distance expr can be hoisted.
(hoist_code): Use reg pressure to direct the hoist process.
(get_regno_pressure_class, get_pressure_class_and_nregs)
(change_pressure, calculate_bb_reg_pressure): New.
(one_code_hoisting_pass): Calculate register pressure. Allocate
and free data.
gcc/testsuite/ChangeLog
* testsuite/gcc.dg/hoist-register-pressure.c: New test.
From-SVN: r192604
2012-10-19 05:42:24 +00:00
Bin Cheng
8cba9a0536
gcse.c: Update copyright dates.
...
* gcse.c: Update copyright dates.
(hoist_expr_reaches_here_p): Change parameter type from char *
to sbitmap.
From-SVN: r192603
2012-10-19 05:34:44 +00:00
Sebastian Huber
0524295766
config.host (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename "arm*-*-rtemseabi*" to "arm*-*-rtems*".
...
2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
* config.host
(arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
"arm*-*-rtemseabi*" to "arm*-*-rtems*".
From-SVN: r192600
2012-10-19 01:18:36 +00:00
Sebastian Huber
153c839726
config.host (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename "arm*-*-rtemseabi*" to "arm*-*-rtems*".
...
2012-10-18 Sebastian Huber <sebastian.huber@embedded-brains.de>
* config.host
(arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtemseabi*): Rename
"arm*-*-rtemseabi*" to "arm*-*-rtems*".
From-SVN: r192599
2012-10-19 01:17:53 +00:00
GCC Administrator
31f63cfa42
Daily bump.
...
From-SVN: r192598
2012-10-19 00:18:48 +00:00
Alan Modra
38e1b75fc8
configure.ac (HAVE_LD_NO_DOT_SYMS): Set if using gold.
...
* configure.ac (HAVE_LD_NO_DOT_SYMS): Set if using gold.
(HAVE_LD_LARGE_TOC): Likewise.
* configure: Regenerate.
From-SVN: r192593
2012-10-19 09:32:25 +10:30
Paolo Carlini
69e3fb7d12
re PR c++/54501 (infinite recursion on illegal code)
...
/cp
2012-10-18 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/54501
* decl.c (reshape_init_array_1): Avoid infinite loops.
/testsuite
2012-10-18 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/54501
* g++.dg/init/array30.C: New.
* g++.dg/init/array31.C: Likewise.
From-SVN: r192592
2012-10-18 22:48:35 +00:00
Alan Modra
abe6d88d4a
predicates.md (splat_input_operand): Don't call input_operand for MEMs.
...
* config/rs6000/predicates.md (splat_input_operand): Don't call
input_operand for MEMs. Instead check for volatile and call
memory_address_addr_space_p with modified mode.
From-SVN: r192590
2012-10-19 09:03:15 +10:30
Uros Bizjak
13299a8e75
i386.md (rdpmc): Remove expander.
...
* config/i386/i386.md (rdpmc): Remove expander.
(rdtsc): Ditto.
(rdtscp): Ditto.
(rdpmc): Rename from *rdpmc.
(rdpmc_rex64): Rename from *rdpmc_rex64.
(rdtsc): Rename from *rdtsc.
(rdtsc_rex64): Rename from *rdtsc_rex64.
(rdtscp): Rename from *rdtscp.
(rdtscp_rex64): Rename from *rdtscp_rex64.
* config/i386/i386.c (struct builtin_description bdesc_special_args)
<IX86_BUILTIN_RDTSC>: Use CODE_FOR_NOTHING.
<IX86_BUILTIN_RDTSCP>: Ditto.
(struct builtin_description bdesc__args) <IX86_BUILTIN_RDPMC>: Ditto.
(ix86_expand_builtin) <IX86_BUILTIN_{RDPMC,RDTSC,RDTSCP}>: Handle here.
From-SVN: r192589
2012-10-18 23:46:52 +02:00
Jonathan Wakely
7aad1ae2b2
forward_list.h: Add C++11 allocator support.
...
* include/bits/forward_list.h: Add C++11 allocator support.
* include/bits/forward_list.tcc: Likewise.
* doc/xml/manual/status_cxx2011.xml: Update.
* testsuite/23_containers/forward_list/allocator/copy.cc: New.
* testsuite/23_containers/forward_list/allocator/copy_assign.cc: New.
* testsuite/23_containers/forward_list/allocator/minimal.cc: New.
* testsuite/23_containers/forward_list/allocator/move_assign.cc: New.
* testsuite/23_containers/forward_list/allocator/noexcept.cc: New.
* testsuite/23_containers/forward_list/allocator/swap.cc: New.
From-SVN: r192588
2012-10-18 22:06:21 +01:00
François Dumont
14cbb5d84c
formatter.h (_Debug_msg_id): Add __msg_valid_load_factor.
...
2012-10-18 François Dumont <fdumont@gcc.gnu.org>
* include/debug/formatter.h (_Debug_msg_id): Add
__msg_valid_load_factor.
* include/debug/macros.h (__glibcxx_check_max_load_factor): New.
* include/debug/unordered_set
(unordered_set<>::max_load_factor(float)): Check max load factor
is positive.
(unordered_multiset<>::max_load_factor(float)): Likewise.
* include/debug/unordered_map
(unordered_map<>::max_load_factor(float)): Likewise.
(unordered_multimap<>::max_load_factor(float)): Likewise.
* testsuite/23_containers/unordered_map/debug/max_load_factor_neg.cc:
New.
* testsuite/23_containers/unordered_multimap/debug/
max_load_factor_neg.cc: New.
* testsuite/23_containers/unordered_set/debug/max_load_factor_neg.cc:
New.
* testsuite/23_containers/unordered_multiset/debug/
max_load_factor_neg.cc: New.
From-SVN: r192575
2012-10-18 19:50:37 +00:00
Eric Botcazou
67e4210bf1
c-ada-spec.c (LOCATION_COL): Delete.
...
* c-ada-spec.c (LOCATION_COL): Delete.
(compare_location): New function.
(compare_node): Use it.
(compare_comment): Likewise.
From-SVN: r192574
2012-10-18 18:47:23 +00:00
Jan-Benedict Glaw
21a11667fc
Changelog: Fix whitespace.
...
2012-10-18 Jan-Benedict Glaw <jbglaw@lug-owl.de>
gcc/
* Changelog: Fix whitespace.
From-SVN: r192573
2012-10-18 18:07:17 +00:00
Jan-Benedict Glaw
86cf62b8b5
sh.c: Fix comment to silence warning.
...
2012-10-18 Jan-Benedict Glaw <jbglaw@lug-owl.de>
gcc/
* config/sh/sh.c: Fix comment to silence warning.
From-SVN: r192572
2012-10-18 17:59:37 +00:00
Tobias Burnus
fd0611850d
re PR fortran/54884 (Externally used PRIVATE module procedure wrongly marked as TREE_PUBLIC()=0)
...
2012-10-18 Tobias Burnus <burnus@net-b.de>
PR fortran/54884
* resolve.c (specification_expr): Change to bool.
(resolve_formal_arglist, resolve_symbol): Set
specification_expr to true before resolving the array spec.
(resolve_variable, resolve_charlen, resolve_fl_variable):
Properly reset specification_expr.
(resolve_function): Set public_use when used in
a specification expr.
2012-10-18 Tobias Burnus <burnus@net-b.de>
PR fortran/54884
* gfortran.dg/public_private_module_7.f90: New.
From-SVN: r192571
2012-10-18 19:09:13 +02:00
Paolo Carlini
0fb2e99454
re PR c++/29633 (syntax error in do/while condition with templates reports incorrect line number)
...
2012-10-18 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/29633
* g++.dg/template/pr29633.C: New.
From-SVN: r192570
2012-10-18 17:02:10 +00:00
Matthew Gretton-Dann
855828f1b1
A15 neon description.
...
2012-10-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
Sameera Deshpande <sameera.deshpande@arm.com>
* config/arm/cortex-a15-neon.md: New file.
* config/arm/cortex-a15.md (cortex_a15_call): Adjust reservation.
(cortex_a15_load1): Likewise.
(cortex_a15_load3): Likewise.
(cortex_a15_store1): Likewise.
(cortex_a15_store3): Likewise.
(cortex-a15-neon.md): Include.
Co-Authored-By: Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
Co-Authored-By: Sameera Deshpande <sameera.deshpande@arm.com>
From-SVN: r192569
2012-10-18 16:43:15 +00:00
Segher Boessenkool
1ba24090f6
altivec.md (altivec_lvsl, [...]): Add mode.
...
gcc/
* config/rs6000/altivec.md (altivec_lvsl, altivec_lvsr): Add mode.
(altivec_vsumsws_nomode): Delete.
(reduc_splus_<mode>, reduc_uplus_<mode>): Call gen_altivec_vsumsws
instead of gen_altivec_vsumsws_nomode.
(altivec_lvlx, altivec_lvlxl, altivec_lvrx, altivec_lvrxl):
Add mode.
* config/rs6000/rs6000.md (probe_stack): Rename to...
(probe_stack_<mode>): ... this. Add mode. Change pattern to
use std instead of stw when appropriate.
(probe_stack): New expander.
(move_from_CR_ov_bit): Add mode.
(splitter for compare_plus_ne0_<mode>, splitter for
compare_plus_ne0_<mode>_1): Remove constraints.
* config/rs6000/sync.md (loadsync): Rename to...
(loadsync_<mode>): ... this. Add mode.
(atomic_load<mode>): Adjust.
From-SVN: r192568
2012-10-18 18:35:07 +02:00
Eric Botcazou
1a17bd3504
loop-invariant.c: Include target.h.
...
* loop-invariant.c: Include target.h.
(check_dependency): Return false for an uninitialized argument register
that is likely to be spilled.
* Makefile.in (loop-invariant.o): Add $(TARGET_H).
From-SVN: r192566
2012-10-18 15:46:04 +00:00
Eric Botcazou
27a9462d4f
* except.c (sjlj_emit_function_enter): Remove unused variable.
...
From-SVN: r192565
2012-10-18 15:38:26 +00:00
Matthew Gretton-Dann
c42163885f
Add support for fma intrinsics for ARM.
...
Correct dates in changelog from earlier commit.
2012-10-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
* config/arm/arm.c (neon_builtin_data): Add vfma and vfms
builtins.
* config/arm/neon-docgen.ml (intrinsic_groups): Add
fused-multiply-* groups.
* config/neon-gen.ml (print_feature_test_start): New function.
(print_feature_test_end): Likewise.
(print_variant): Print feature test macros.
* config/arm/neon-testgen.ml (emit_prologue): Allow different
tests to require different effective targets.
(effective_target): New function.
(test_intrinsic): Specify correct effective targets.
* gcc/config/arm/neon.md (fma<VCVTF:mode>4_intrinsic): New pattern.
(fmsub<VCVTF:mode>4_intrinsic): Likewise.
(neon_vfma<VCVFT:mode>): New expand.
(neon_vfms<VCVFT:mode>): Likewise.
* config/neon.ml (opcode): Add Vfma and Vfms.
(features): Add Requires_feature.
(ops): Add VFMA and VFMS intrinsics.
* config/arm/arm_neon.h: Regenerate.
* doc/arm-neon-intrinsics.texi: Likewise.
2012-10-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
* gcc.target/arm/neon/vfmaQf32.c: New testcase.
* gcc.target/arm/neon/vfmaf32.c: Likewise.
* gcc.target/arm/neon/vfmsQf32.c: Likewise.
* gcc.target/arm/neon/vfmsf32.c: Likewise.
Co-Authored-By: Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
From-SVN: r192560
2012-10-18 12:02:01 +00:00
Richard Guenther
c61f8c3b79
lto-streamer.h (enum LTO_tags): Add LTO_integer_cst.
...
2012-10-18 Richard Guenther <rguenther@suse.de>
* lto-streamer.h (enum LTO_tags): Add LTO_integer_cst.
* lto-streamer-in.c (lto_input_tree): Use it.
* lto-streamer-out.c (lto_output_tree): Likewise, for
!TREE_OVERFLOW integer constants only.
* tree-streamer-in.c (unpack_ts_int_cst_value_fields): New function.
(unpack_value_fields): Call it.
(streamer_read_integer_cst): Simplify.
* tree-streamer-out.c (pack_ts_int_cst_value_fields): New function.
(streamer_pack_tree_bitfields): Call it.
(streamer_write_integer_cst): Adjust.
From-SVN: r192559
2012-10-18 10:59:55 +00:00