Commit Graph

137952 Commits

Author SHA1 Message Date
GCC Administrator
6b534c5e3a Daily bump.
From-SVN: r222974
2015-05-10 00:16:19 +00:00
Marc Glisse
441898b206 re PR tree-optimization/64454 (optimize (x%5)%5)
2015-05-09  Marc Glisse  <marc.glisse@inria.fr>

	PR tree-optimization/64454
gcc/
	* tree-vrp.c (extract_range_from_binary_expr_1) <TRUNC_MOD_EXPR>:
	Rewrite.
gcc/testsuite/
	* gcc.dg/tree-ssa/vrp97.c: New file.
	* gcc.dg/vect/slp-perm-7.c: Update.

From-SVN: r222970
2015-05-09 15:40:05 +00:00
Aldy Hernandez
a31765efbf re PR bootstrap/66085 (Revision r222934 breaks bootstrap on darwin.)
PR bootstrap/66085
	* decl2.c (note_mangling_alias): Declare arguments as unused.

From-SVN: r222969
2015-05-09 13:50:21 +00:00
Mikael Morin
14aeb3cd27 Fix fortran/65894 elemental procedures wrong-code
gcc/fortran/
2015-05-09  Mikael Morin  <mikael@gcc.gnu.org>

	PR fortran/65894
	* trans-array.h (gfc_scalar_elemental_arg_saved_as_reference):
	New prototype.
	* trans-array.c (gfc_scalar_elemental_arg_saved_as_reference):
	New function.
	(gfc_add_loop_ss_code): Use gfc_scalar_elemental_arg_saved_as_reference
	as conditional.
	(gfc_walk_elemental_function_args): Set the dummy_arg field.
	* trans.h (gfc_ss_info): New subfield dummy_arg.
	* trans-expr.c (gfc_conv_procedure_call): Revert the change
	of revision 222361.
	(gfc_conv_expr): Use gfc_scalar_elemental_arg_saved_as_reference
	as conditional.

gcc/testsuite/
2015-05-09  Andre Vehreschild  <vehre@gmx.de>

	PR fortran/65894
	* gfortran.dg/elemental_subroutine_11.f90: New test.

From-SVN: r222968
2015-05-09 13:36:14 +00:00
Eric Botcazou
1f0e2688af utils.c (gnat_write_global_declarations): Use type_decl method instead of global_decl for TYPE_DECLs.
* gcc-interface/utils.c (gnat_write_global_declarations): Use type_decl
	method instead of global_decl for TYPE_DECLs.

From-SVN: r222967
2015-05-09 11:31:21 +00:00
Jason Merrill
1be0899d94 openacc.h (__GOACC_NOTHROW): Fix noexcept syntax.
* openacc.h (__GOACC_NOTHROW): Fix noexcept syntax.

	* testsuite/libgomp.oacc-c-c++-common/reduction-4.c (main): Use
	_Complex.

From-SVN: r222966
2015-05-09 00:50:35 -04:00
Jason Merrill
f8356d52f2 std_c++0x_neg.cc: Add -std=c++98.
* testsuite/19_diagnostics/headers/system_error/std_c++0x_neg.cc: Add -std=c++98.
	* testsuite/20_util/auto_ptr/1.cc: Add -std=c++98.
	* testsuite/20_util/auto_ptr/2.cc: Add -std=c++98.
	* testsuite/20_util/auto_ptr/3.cc: Add -std=c++98.
	* testsuite/20_util/auto_ptr/4.cc: Add -std=c++98.
	* testsuite/20_util/auto_ptr/5.cc: Add -std=c++98.
	* testsuite/20_util/auto_ptr/6.cc: Add -std=c++98.
	* testsuite/20_util/auto_ptr/7.cc: Add -std=c++98.
	* testsuite/20_util/auto_ptr/3946.cc: Add -std=c++98.
	* testsuite/20_util/auto_ptr/assign_neg.cc: Add -std=c++98.
	* testsuite/20_util/auto_ptr/requirements/explicit_instantiation/1.cc: Likewise.
	* testsuite/20_util/headers/functional/synopsis.cc: Add -Wno-deprecated.
	* testsuite/23_containers/deque/requirements/dr438/assign_neg.cc: Adjust expected errors.
	* testsuite/23_containers/deque/requirements/dr438/constructor_1_neg.cc: Likewise.
	* testsuite/23_containers/deque/requirements/dr438/constructor_2_neg.cc: Likewise.
	* testsuite/23_containers/deque/requirements/dr438/insert_neg.cc: Likewise.
	* testsuite/23_containers/list/requirements/dr438/assign_neg.cc: Likewise.
	* testsuite/23_containers/list/requirements/dr438/constructor_1_neg.cc: Likewise.
	* testsuite/23_containers/list/requirements/dr438/constructor_2_neg.cc: Likewise.
	* testsuite/23_containers/list/requirements/dr438/insert_neg.cc: Likewise.
	* testsuite/23_containers/vector/requirements/dr438/assign_neg.cc: Likewise.
	* testsuite/23_containers/vector/requirements/dr438/constructor_1_neg.cc: Likewise.
	* testsuite/23_containers/vector/requirements/dr438/constructor_2_neg.cc: Likewise.
	* testsuite/23_containers/vector/requirements/dr438/insert_neg.cc:  Likewise.
	* testsuite/ext/array_allocator/1.cc: Add -Wno-deprecated.
	* testsuite/ext/array_allocator/2.cc: Add -Wno-deprecated.
	* testsuite/ext/array_allocator/26875.cc: Add -Wno-deprecated.
	* testsuite/ext/array_allocator/3.cc: Add -Wno-deprecated.
	* testsuite/ext/array_allocator/check_allocate_max_size.cc: Add -Wno-deprecated.
	* testsuite/ext/array_allocator/check_deallocate_null.cc: Add -Wno-deprecated.
	* testsuite/ext/array_allocator/check_delete.cc: Add -Wno-deprecated.
	* testsuite/ext/array_allocator/check_new.cc: Add -Wno-deprecated.
	* testsuite/ext/profile/mutex_extensions_neg.cc: Prune follow-on error.
	* testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr.cc: Add -std=c++98.
	* testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr_neg.cc: Add -std=c++98.
	* testsuite/tr1/2_general_utilities/shared_ptr/assign/auto_ptr_rvalue_neg.cc: Add -std=c++98.
	* testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Add -std=c++98 -fno-show-column.
	* testsuite/tr1/2_general_utilities/shared_ptr/cons/auto_ptr.cc: Add -std=c++98.
	* testsuite/tr1/2_general_utilities/shared_ptr/cons/auto_ptr_neg.cc: Add -std=c++98.
	* testsuite/tr1/6_containers/utility/pair.cc: Add -std=c++98.
	* testsuite/tr1/8_c_compatibility/cmath/pow_cmath.cc: Add -std=c++98.

From-SVN: r222965
2015-05-09 00:50:30 -04:00
Jason Merrill
6cd9cb89eb Makefile.am (AM_CXXFLAGS): Add -std=gnu++98.
* src/c++98/Makefile.am (AM_CXXFLAGS): Add -std=gnu++98.
	* src/c++98/Makefile.in: Regenerate.
	* src/Makefile.am (AM_CXXFLAGS): Add -std=gnu++98.
	* src/Makefile.in: Regenerate.

From-SVN: r222964
2015-05-09 00:50:23 -04:00
Jason Merrill
045a58e455 memcmp-1.c: Fix narrowing.
gcc/testsuite/
	* c-c++-common/asan/memcmp-1.c: Fix narrowing.
	* c-c++-common/asan/no-asan-stack.c: Fix narrowing.
	* c-c++-common/torture/vector-shift1.c: Fix narrowing.
	* c-c++-common/torture/vshuf-2.inc: Fix narrowing.
	* g++.dg/torture/pr33572.C: Compile with -std=c++98.

From-SVN: r222963
2015-05-09 00:50:19 -04:00
Jason Merrill
765189ff60 c.opt (Wc++11-compat): Make primary.
gcc/c-family/
	* c.opt (Wc++11-compat): Make primary.  Rename var warn_cxx11_compat.
	* c-opts.c: Adjust.
gcc/cp/
	* cp-gimplify.c, parser.c: Adjust.

From-SVN: r222962
2015-05-09 00:50:15 -04:00
Jason Merrill
fe191308dd lex.c (lex_string): Add -Wc++11-compat warning.
libcpp/
	* lex.c (lex_string): Add -Wc++11-compat warning.
	* include/cpplib.h: Add CPP_W_CXX11_COMPAT.
	(struct cpp_options): Add cpp_warn_cxx11_compat.
	* init.c (cpp_create_reader): Initialize it.
gcc/c-family/
	* c.opt (Wc++0x-compat): Set it.

From-SVN: r222961
2015-05-09 00:50:10 -04:00
Jason Merrill
1699809426 bitmap.c, [...]: Add space between string literal and macro name.
* bitmap.c, c/c-aux-info.c, cfg.c, cfghooks.c, cgraph.c,
	config/aarch64/aarch64.md config/alpha/vms.h, config/darwin.c,
	config/darwin.h, config/darwin9.h, config/elfos.h,
	config/i386/bsd.h, config/ia64/ia64.c, config/lm32/lm32.h,
	config/microblaze/microblaze.h, config/mips/mips.h,
	config/mmix/mmix.c, config/msp430/msp430.c, config/nios2/nios2.h,
	config/nvptx/nvptx.c, config/nvptx/nvptx.h, config/pa/pa.c,
	config/pa/pa.h, config/rs6000/rs6000.c, config/rs6000/sysv4.h,
	config/rs6000/xcoff.h, config/rx/rx.h, config/s390/s390.h,
	config/sparc/sol2.h, config/sparc/sparc.h, config/visium/visium.h,
	cppbuiltin.c, defaults.h, doc/invoke.texi, dwarf2cfi.c,
	dwarf2out.c, final.c, gcc.c, gcov-dump.c, gcov.c, ipa-cp.c,
	ipa-inline.c, ipa-polymorphic-call.c, ipa-profile.c, ipa-prop.c,
	ira-color.c, ira.c, loop-doloop.c, loop-iv.c, mcf.c,
	modulo-sched.c, predict.c, profile.c, stor-layout.c, toplev.c,
	tree-ssa-reassoc.c, value-prof.c, wide-int-print.cc: Add space
	between string literal and macro name.

From-SVN: r222960
2015-05-09 00:50:05 -04:00
Trevor Saunders
5c8d98af4f redirect_jump* can take a rtx_insn *
gcc/ChangeLog:

2015-05-08  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>

	* jump.c: Change argument types to rtx_insn *.
	* rtl.h: Adjust.

From-SVN: r222959
2015-05-09 04:17:49 +00:00
Trevor Saunders
743b410dea setup_next_usage_insn can take a rtx_insn *
gcc/ChangeLog:

2015-05-08  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>

	* lra-constraints.c: Change argument type to rtx_insn *.

From-SVN: r222958
2015-05-09 04:17:44 +00:00
Trevor Saunders
537469f6a0 rtx_insn * in df-problems.c
gcc/ChangeLog:

2015-05-08  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>

	* df-problems.c: Change argument type to rtx_insn *.

From-SVN: r222957
2015-05-09 04:17:38 +00:00
Trevor Saunders
203933e1a7 rtx_insn * in combine.c
gcc/ChangeLog:

2015-05-08  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>

	* combine.c: Change argument type to rtx_insn *.

From-SVN: r222956
2015-05-09 04:17:33 +00:00
Trevor Saunders
fd769c943d find_all_hard_reg_sets can take a rtx_insn *
gcc/ChangeLog:

2015-05-08  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>

	* rtl.h: Adjust.
	* rtlanal.c: Change argument type to rtx_insn *.

From-SVN: r222955
2015-05-09 04:17:28 +00:00
Trevor Saunders
df8379e7c4 more rtx_insn * in sched-deps.c
gcc/ChangeLog:

2015-05-08  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>

	* sched-deps.c: Change argument types to rtx_insn *.
	* sched-int.h: Adjust.

From-SVN: r222954
2015-05-09 04:17:22 +00:00
Trevor Saunders
23f57f5a35 notice_args_size can take a rtx_insn *
gcc/ChangeLog:

2015-05-08  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>

	* dwarf2cfi.c: Change argument type to rtx_insn *.

From-SVN: r222953
2015-05-09 04:17:17 +00:00
Trevor Saunders
7da26277f8 more rtx_insn * in recog.c
gcc/ChangeLog:

2015-05-08  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>

	* ira.c (decrease_live_ranges_number): Changetype of local
	variable to rtx_insn *.
	* recog.c: Change argument types to rtx_insn *.
	* recog.h: Adjust.

From-SVN: r222952
2015-05-09 04:17:12 +00:00
Trevor Saunders
1d415e65ef use rtx_insn * more in reorg.c
gcc/ChangeLog:

2015-05-08  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>

	* reorg.c: Change argument types to rtx_insn *.

From-SVN: r222951
2015-05-09 04:17:05 +00:00
Trevor Saunders
8c797f816b change more argument types to rtx_insn *
gcc/ChangeLog:

2015-05-08  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>

	* ira-color.c: Change argument types to rtx_insn *.
	* lra-eliminations.c: Likewise.
	* ira.h: Adjust.

From-SVN: r222950
2015-05-09 04:17:00 +00:00
Trevor Saunders
170065c992 pass rtx_insn * more in gcse.c
gcc/ChangeLog:

2015-05-08  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>

	* gcse.c: Change argument types to rtx_insn *.

From-SVN: r222949
2015-05-09 04:16:54 +00:00
Trevor Saunders
88bdcd3d65 cse_change_cc0_mode can take a rtx_insn *
gcc/ChangeLog:

2015-05-08  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>

	* cse.c (cse_change_cc0_mode): Change argument type to rtx_insn *.

From-SVN: r222948
2015-05-09 04:16:49 +00:00
Trevor Saunders
3a6216b099 make emit_debug_insn_before take a rtx_insn *
gcc/ChangeLog:

2015-05-08  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>

	* emit-rtl.c (emit_debug_insn_before): Change argument type to
	rtx_insn *.
	* rtl.h: Adjust.

From-SVN: r222947
2015-05-09 04:16:43 +00:00
Trevor Saunders
89b6250dd6 emit_note_before can take a rtx_insn *
gcc/ChangeLog:

2015-05-08  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>

	* emit-rtl.c (emit_note_before): Change argument type to rtx_insn *.
	* rtl.h: Adjust.

From-SVN: r222946
2015-05-09 04:16:38 +00:00
Trevor Saunders
589e43f905 emit_note_after can take a rtx_insn *
gcc/ChangeLog:

2015-05-08  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>

	* emit-rtl.c (emit_note_after): Change argument type to rtx_insn *.
	* rtl.h: Adjust.

From-SVN: r222945
2015-05-09 04:16:33 +00:00
Trevor Saunders
5c8db5b4bf prev_cc0_setter can take a rtx_insn *
gcc/ChangeLog:

2015-05-08  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>

	* emit-rtl.c (prev_cc0_setter): Change argument type to rtx_insn *.
	* rtl.h: Adjust.

From-SVN: r222944
2015-05-09 04:16:27 +00:00
Trevor Saunders
8a1b6388da make noop_move_p take a rtx_insn *
gcc/ChangeLog:

2015-05-08  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>

	* rtlanal.c (noop_move_p): Change argument type to rtx_insn *.
	* rtl.h: Adjust.

From-SVN: r222943
2015-05-09 04:16:19 +00:00
Trevor Saunders
9b8d3c60b6 make add_shallow_copy_of_reg_note take an rtx_insn *
gcc/ChangeLog:

2015-05-08  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>

	* rtlanal.c (add_shallow_copy_of_reg_note): Change argument type
	to rtx_insn *.
	* rtl.h: Adjust.

From-SVN: r222942
2015-05-09 04:16:13 +00:00
Trevor Saunders
4353459548 make remove_reg_equal_equiv_notes take an rtx_insn *
gcc/ChangeLog:

2015-05-08  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>

	* rtlanal.c (remove_reg_equal_equiv_notes): Change argument type
	to rtx_insn *.
	* rtl.h: Likewise.

From-SVN: r222941
2015-05-09 04:16:08 +00:00
Trevor Saunders
d8c1e9b62d can_nonlocal_goto can take a rtx_insn *
gcc/ChangeLog:

2015-05-08  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>

	* except.c (can_nonlocal_goto): Change type of argument to
	rtx_insn *.
	* rtl.h: Adjust.

From-SVN: r222940
2015-05-09 04:16:03 +00:00
Trevor Saunders
63bd63246e computed_jump_p takes a rtx_insn *
gcc/ChangeLog:

2015-05-08  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>

	* rtlanal.c (computed_jump_p): Cange argument type to rtx_insn *.
	* rtl.h: Adjust.

From-SVN: r222939
2015-05-09 04:15:57 +00:00
Trevor Saunders
0d53e74ecf change in_expr_list_p to in_insn_list_p
gcc/ChangeLog:

2015-05-08  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>

	* rtlanal.c (in_insn_list_p): Renamed from in_expr_list_p.
	* cfgrtl.c (can_delete_label_p): Adjust.
	* rtl.h: likewise.

From-SVN: r222938
2015-05-09 04:15:52 +00:00
Trevor Saunders
ecb44bc9a2 make stop_search_p take a rtx_insn *
gcc/ChangeLog:

2015-05-08  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>

	* reorg.c (stop_search_p): Change argument to rtx_insn *.

From-SVN: r222937
2015-05-09 04:15:46 +00:00
Trevor Saunders
84f16edb6a make make_reg_eh_region_note and friend take rtx_insn *
gcc/ChangeLog:

2015-05-08  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>

	* except.c (make_reg_eh_region_note): Change argument to
	rtx_insn *.
	(make_reg_eh_region_note_nothrow_nononlocal): Likewise.
	* except.h: Adjust.

From-SVN: r222936
2015-05-09 04:15:41 +00:00
Trevor Saunders
f4701c96bc use rtx_insn * as the type of a local variable in mode-switching.c
gcc/ChangeLog:

2015-05-08  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>

	* mode-switching.c (commit_mode_sets): Change type of local
	variable from rtx to rtx_insn *.

From-SVN: r222935
2015-05-09 04:15:35 +00:00
Jason Merrill
613aba20e5 decl2.c (mangling_aliases): New variable.
* decl2.c (mangling_aliases): New variable.
	(note_mangling_alias, generate_mangling_aliases): New.
	(cp_write_global_declarations): Call generate_mangling_aliases.
	(generate_mangling_alias): Split out from...
	* mangle.c (mangle_decl): ...here.
	* cp-tree.h: Declare note_mangling_alias.

From-SVN: r222934
2015-05-09 03:28:52 +00:00
Aldy Hernandez
09c5f835e7 decl2.c (collect_candidates_for_java_method_aliases): Remove.
* decl2.c (collect_candidates_for_java_method_aliases): Remove.
	(build_java_method_aliases): Adapt to use create_same_body_alias
	instead of assemble_alias.  Move variable declarations to
	definition and tidy up.
	(cp_write_global_declarations): Call build_java_method_aliases
	instead of collecting candidates first.

From-SVN: r222933
2015-05-09 03:28:40 +00:00
GCC Administrator
9c330d029c Daily bump.
From-SVN: r222931
2015-05-09 00:16:19 +00:00
Jim Wilson
6fedd529b9 install.texi (--enable-languages): Add missing jit and lto info.
* doc/install.texi (--enable-languages): Add missing jit and lto info.
Add ^ to grep command.
* doc/match-and-simplify.texi (GIMPLE API): Add missing fourth tree
arg to last gimple_simplify declaration.  Add missing gimple_build
declaration for built-in function case with four tree args.

From-SVN: r222923
2015-05-08 12:56:13 -07:00
Joel Brobecker
f5e7f5900b libiberty/mkstemps.c: Include <time.h> if <sys/time.h> not available.
libiberty/ChangeLog:

        * mkstemps.c: #include <time.h> if HAVE_TIME_H is defined
        but not HAVE_SYS_TIME_H.

(fixes a build failure on LynxOS-178)

From-SVN: r222918
2015-05-08 17:14:26 +00:00
Gregor Richards
6bc5949358 [PATCH 6/13] mips musl support
2015-05-08  Gregor Richards  <gregor.richards@uwaterloo.ca>
	    Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* config/mips/linux.h (MUSL_DYNAMIC_LINKER32): Define.
	(MUSL_DYNAMIC_LINKER64, MUSL_DYNAMIC_LINKERN32): Define.
	(GNU_USER_DYNAMIC_LINKERN32): Update.

Co-Authored-By: Szabolcs Nagy <szabolcs.nagy@arm.com>

From-SVN: r222915
2015-05-08 15:16:50 +00:00
Richard Biener
7b5fc413c1 re PR tree-optimization/66036 (strided group loads are not vectorized)
2015-05-08  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/66036
	* tree-vect-data-refs.c (vect_compute_data_ref_alignment):
	Handle strided group loads.
	(vect_verify_datarefs_alignment): Likewise.
	(vect_enhance_data_refs_alignment): Likewise.
	(vect_analyze_group_access): Likewise.
	(vect_analyze_data_ref_access): Likewise.
	(vect_analyze_data_ref_accesses): Likewise.
	* tree-vect-stmts.c (vect_model_load_cost): Likewise.
	(vectorizable_load): Likewise.

	* gcc.dg/vect/slp-41.c: New testcase.

From-SVN: r222914
2015-05-08 15:13:55 +00:00
Mikael Morin
4a8108f0ab trans-array.c (gfc_walk_elemental_function_args): Don't skip the advance to the next dummy argument when...
gcc/fortran/
	* trans-array.c (gfc_walk_elemental_function_args):
	Don't skip the advance to the next dummy argument when skipping
	absent optional args.
gcc/testsuite/
	* gfortran.dg/elemental_optional_args_7.f90: New.

From-SVN: r222913
2015-05-08 14:53:20 +00:00
Segher Boessenkool
2a812183d6 rs6000.md: Require operand inequality in one of the peepholes.
* config/rs6000/rs6000.md: Require operand inequality in one
	of the peepholes.

From-SVN: r222912
2015-05-08 16:34:11 +02:00
Richard Sandiford
7d54bea5b9 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
gcc/
2015-05-08  Richard Sandiford  <richard.sandiford@arm.com>
	    Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>

	* config/i386/i386.md (<mode>_ldx, *<mode>_ldx): Remove mode
	from (set ...).
	* config/rx/rx.md (movdi, movdf): Likewise.
	Likewise for define_peephole2s.

Co-Authored-By: Franz Sirl <Franz.Sirl-kernel@lauterbach.com>

From-SVN: r222911
2015-05-08 14:04:12 +00:00
Alan Lawrence
a8105959bd [AArch64] Idiomatic 64x1 comparisons in arm_neon.h
gcc/:
 
	* config/aarch64/arm_neon.h (vceq_s64, vceq_u64, vceqz_s64, vceqz_u64,
	vcge_s64, vcge_u64, vcgez_s64, vcgt_s64, vcgt_u64, vcgtz_s64, vcle_s64,
	vcle_u64, vclez_s64, vclt_s64, vclt_u64, vcltz_s64, vtst_s64,
	vtst_u64): Rewrite using gcc vector extensions.

gcc/testsuite/:

	* gcc.target/aarch64/singleton_intrinsics_1.c: Generalize regex to
	allow cmlt or sshr.

From-SVN: r222909
2015-05-08 12:00:10 +00:00
Alan Lawrence
8b5190aba0 [AArch64] Add vcond(u?)didi pattern
* config/aarch64/aarch64-simd.md (aarch64_vcond_internal<mode><mode>,
	vcond<mode><mode>, vcondu<mode><mode>): Add DImode variant.

From-SVN: r222908
2015-05-08 11:49:02 +00:00
Alan Lawrence
938fb83d2c optabs.c: Make vector_compare_rtx cope with VOID mode constants (e.g. const0_rtx)
* optabs.c (vector_compare_rtx): Handle RTL operands having VOIDmode.

From-SVN: r222907
2015-05-08 11:40:33 +00:00