Commit Graph

134857 Commits

Author SHA1 Message Date
Andrew Stubbs
7fb3968c14 Revert r215321.
2014-12-03  Andrew Stubbs  <ams@codesourcery.com>

	Revert:

	2014-09-17  Andrew Stubbs  <ams@codesourcery.com>
       * config/arm/arm.c (arm_option_override): Reject -mfpu=neon
       when architecture is older than ARMv7.

From-SVN: r218319
2014-12-03 14:59:06 +00:00
Richard Biener
edd7ae68b0 builtins.c (target_percent_c): Export.
2014-12-03  Richard Biener  <rguenther@suse.de>

	* builtins.c (target_percent_c): Export.
	(fold_builtin_fprintf): Move to gimple-fold.c.
	(fold_builtin_2): Do not fold fprintf functions.
	(fold_builtin_3): Likewise.
	(fold_builtin_4): Remove.
	(fold_builtin_n): Do not call fold_builtin_4.
	* builtins.h (target_percent_c): Declare.
	* gimple-fold.c (gimple_fold_builtin_fprintf): Move from
	builtins.c and gimplify.
	(gimple_fold_builtin): Fold fprintf, fprintf_unlocked, vfprintf,
	fprintf_chk and vfprintf_chk here.

From-SVN: r218317
2014-12-03 14:08:07 +00:00
Martin Jambor
2f35958cd5 re PR ipa/64153 (r218205 miscompiles libgomp)
2014-12-03  Martin Jambor  <mjambor@suse.cz>

	PR ipa/64153
	* ipa-inline-analysis.c (evaluate_conditions_for_known_args): Check
	type sizes before view_converting.

From-SVN: r218316
2014-12-03 15:05:51 +01:00
Uros Bizjak
68bc92704f configure.tgt (x86_64): Tune -m32 multilib to generic.
libitm/ChangeLog:

	* configure.tgt (x86_64): Tune -m32 multilib to generic.

libgomp/ChangeLog:

	* configure.tgt (x86_64-*-linux*): Tune -m32 multilib to generic.

From-SVN: r218315
2014-12-03 14:58:07 +01:00
Petr Murzin
36176be5b4 avx512bw-kunpckdq-1.c: Fix regexps for assembler scanning.
gcc/testsuite/

2014-12-03  Petr Murzin  <petr.murzin@intel.com>

	* gcc.target/i386/avx512bw-kunpckdq-1.c: Fix regexps for assembler
	scanning.
	* gcc.target/i386/avx512bw-kunpckwd-1.c: Ditto.
	* gcc.target/i386/avx512bw-vdbpsadbw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vmovdqu16-1.c: Ditto.
	* gcc.target/i386/avx512bw-vmovdqu8-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpabsb-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpabsw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpackssdw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpacksswb-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpackusdw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpackuswb-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpaddb-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpaddsb-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpaddsw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpaddusb-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpaddusw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpaddw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpalignr-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpavgb-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpavgw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpblendmb-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpblendmw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpbroadcastb-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpbroadcastw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpcmpb-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpcmpeqb-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpcmpequb-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpcmpequw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpcmpeqw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpcmpgeb-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpcmpgeub-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpcmpgeuw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpcmpgew-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpcmpgtb-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpcmpgtub-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpcmpgtuw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpcmpgtw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpcmpleb-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpcmpleub-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpcmpleuw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpcmplew-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpcmpltb-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpcmpltub-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpcmpltuw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpcmpltw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpcmpneqb-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpcmpnequb-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpcmpnequw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpcmpneqw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpcmpub-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpcmpuw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpcmpw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpermi2w-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpermt2w-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpermw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpmaddubsw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpmaddwd-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpmaxsb-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpmaxsw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpmaxub-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpmaxuw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpminsb-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpminsw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpminub-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpminuw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpmovb2m-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpmovm2b-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpmovm2w-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpmovswb-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpmovsxbw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpmovuswb-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpmovw2m-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpmovwb-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpmovzxbw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpmulhrsw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpmulhuw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpmulhw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpmullw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpshufb-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpshufhw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpshuflw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpslldq-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpsllvw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpsllw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpsllwi-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpsravw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpsraw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpsrawi-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpsrldq-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpsrlvw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpsrlw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpsrlwi-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpsubb-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpsubsb-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpsubsw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpsubusb-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpsubusw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpsubw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vptestmb-1.c: Ditto.
	* gcc.target/i386/avx512bw-vptestmw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vptestnmb-1.c: Ditto.
	* gcc.target/i386/avx512bw-vptestnmw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpunpckhbw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpunpckhwd-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpunpcklbw-1.c: Ditto.
	* gcc.target/i386/avx512bw-vpunpcklwd-1.c: Ditto.
	* gcc.target/i386/avx512cd-vpbroadcastmb2q-1.c: Ditto.
	* gcc.target/i386/avx512cd-vpbroadcastmw2d-1.c: Ditto.
	* gcc.target/i386/avx512cd-vpconflictd-1.c: Ditto.
	* gcc.target/i386/avx512cd-vpconflictq-1.c: Ditto.
	* gcc.target/i386/avx512cd-vplzcntd-1.c: Ditto.
	* gcc.target/i386/avx512cd-vplzcntq-1.c: Ditto.
	* gcc.target/i386/avx512dq-vandnpd-1.c: Ditto.
	* gcc.target/i386/avx512dq-vandnps-1.c: Ditto.
	* gcc.target/i386/avx512dq-vandpd-1.c: Ditto.
	* gcc.target/i386/avx512dq-vandps-1.c: Ditto.
	* gcc.target/i386/avx512dq-vbroadcastf32x2-1.c: Ditto.
	* gcc.target/i386/avx512dq-vbroadcastf32x8-1.c: Ditto.
	* gcc.target/i386/avx512dq-vbroadcastf64x2-1.c: Ditto.
	* gcc.target/i386/avx512dq-vbroadcasti32x2-1.c: Ditto.
	* gcc.target/i386/avx512dq-vbroadcasti32x8-1.c: Ditto.
	* gcc.target/i386/avx512dq-vbroadcasti64x2-1.c: Ditto.
	* gcc.target/i386/avx512dq-vcvtpd2qq-1.c: Ditto.
	* gcc.target/i386/avx512dq-vcvtpd2uqq-1.c: Ditto.
	* gcc.target/i386/avx512dq-vcvtps2qq-1.c: Ditto.
	* gcc.target/i386/avx512dq-vcvtps2uqq-1.c: Ditto.
	* gcc.target/i386/avx512dq-vcvtqq2pd-1.c: Ditto.
	* gcc.target/i386/avx512dq-vcvtqq2ps-1.c: Ditto.
	* gcc.target/i386/avx512dq-vcvttpd2qq-1.c: Ditto.
	* gcc.target/i386/avx512dq-vcvttpd2uqq-1.c: Ditto.
	* gcc.target/i386/avx512dq-vcvttps2qq-1.c: Ditto.
	* gcc.target/i386/avx512dq-vcvttps2uqq-1.c: Ditto.
	* gcc.target/i386/avx512dq-vcvtuqq2pd-1.c: Ditto.
	* gcc.target/i386/avx512dq-vcvtuqq2ps-1.c: Ditto.
	* gcc.target/i386/avx512dq-vextractf32x8-1.c: Ditto.
	* gcc.target/i386/avx512dq-vextractf64x2-1.c: Ditto.
	* gcc.target/i386/avx512dq-vextracti32x8-1.c: Ditto.
	* gcc.target/i386/avx512dq-vextracti64x2-1.c: Ditto.
	* gcc.target/i386/avx512dq-vfpclasspd-1.c: Ditto.
	* gcc.target/i386/avx512dq-vfpclassps-1.c: Ditto.
	* gcc.target/i386/avx512dq-vfpclasssd-1.c: Ditto.
	* gcc.target/i386/avx512dq-vfpclassss-1.c: Ditto.
	* gcc.target/i386/avx512dq-vinsertf32x8-1.c: Ditto.
	* gcc.target/i386/avx512dq-vinsertf64x2-1.c: Ditto.
	* gcc.target/i386/avx512dq-vinserti32x8-1.c: Ditto.
	* gcc.target/i386/avx512dq-vinserti64x2-1.c: Ditto.
	* gcc.target/i386/avx512dq-vorpd-1.c: Ditto.
	* gcc.target/i386/avx512dq-vorps-1.c: Ditto.
	* gcc.target/i386/avx512dq-vpmovd2m-1.c: Ditto.
	* gcc.target/i386/avx512dq-vpmovm2d-1.c: Ditto.
	* gcc.target/i386/avx512dq-vpmovm2q-1.c: Ditto.
	* gcc.target/i386/avx512dq-vpmovq2m-1.c: Ditto.
	* gcc.target/i386/avx512dq-vpmullq-1.c: Ditto.
	* gcc.target/i386/avx512dq-vrangepd-1.c: Ditto.
	* gcc.target/i386/avx512dq-vrangeps-1.c: Ditto.
	* gcc.target/i386/avx512dq-vrangesd-1.c: Ditto.
	* gcc.target/i386/avx512dq-vrangess-1.c: Ditto.
	* gcc.target/i386/avx512dq-vreducepd-1.c: Ditto.
	* gcc.target/i386/avx512dq-vreduceps-1.c: Ditto.
	* gcc.target/i386/avx512dq-vreducesd-1.c: Ditto.
	* gcc.target/i386/avx512dq-vreducess-1.c: Ditto.
	* gcc.target/i386/avx512dq-vxorpd-1.c: Ditto.
	* gcc.target/i386/avx512dq-vxorps-1.c: Ditto.
	* gcc.target/i386/avx512er-vexp2pd-1.c: Ditto.
	* gcc.target/i386/avx512er-vexp2ps-1.c: Ditto.
	* gcc.target/i386/avx512er-vrcp28pd-1.c: Ditto.
	* gcc.target/i386/avx512er-vrcp28ps-1.c: Ditto.
	* gcc.target/i386/avx512er-vrcp28sd-1.c: Ditto.
	* gcc.target/i386/avx512er-vrcp28ss-1.c: Ditto.
	* gcc.target/i386/avx512er-vrsqrt28pd-1.c: Ditto.
	* gcc.target/i386/avx512er-vrsqrt28ps-1.c: Ditto.
	* gcc.target/i386/avx512er-vrsqrt28sd-1.c: Ditto.
	* gcc.target/i386/avx512er-vrsqrt28ss-1.c: Ditto.
	* gcc.target/i386/avx512f-broadcast-gpr-1.c: Ditto.
	* gcc.target/i386/avx512f-ceil-sfix-vec-2.c: Ditto.
	* gcc.target/i386/avx512f-floor-sfix-vec-2.c: Ditto.
	* gcc.target/i386/avx512f-gather-5.c: Ditto.
	* gcc.target/i386/avx512f-i32gatherd512-1.c: Ditto.
	* gcc.target/i386/avx512f-i32gatherpd512-1.c: Ditto.
	* gcc.target/i386/avx512f-i32gatherps512-1.c: Ditto.
	* gcc.target/i386/avx512f-i32gatherq512-1.c: Ditto.
	* gcc.target/i386/avx512f-i32scatterd512-1.c: Ditto.
	* gcc.target/i386/avx512f-i32scatterpd512-1.c: Ditto.
	* gcc.target/i386/avx512f-i32scatterps512-1.c: Ditto.
	* gcc.target/i386/avx512f-i32scatterq512-1.c: Ditto.
	* gcc.target/i386/avx512f-i64gatherd512-1.c: Ditto.
	* gcc.target/i386/avx512f-i64gatherpd512-1.c: Ditto.
	* gcc.target/i386/avx512f-i64gatherps512-1.c: Ditto.
	* gcc.target/i386/avx512f-i64gatherq512-1.c: Ditto.
	* gcc.target/i386/avx512f-i64scatterd512-1.c: Ditto.
	* gcc.target/i386/avx512f-i64scatterpd512-1.c: Ditto.
	* gcc.target/i386/avx512f-i64scatterps512-1.c: Ditto.
	* gcc.target/i386/avx512f-i64scatterq512-1.c: Ditto.
	* gcc.target/i386/avx512f-kandnw-1.c: Ditto.
	* gcc.target/i386/avx512f-kandw-1.c: Ditto.
	* gcc.target/i386/avx512f-kmovw-1.c: Ditto.
	* gcc.target/i386/avx512f-knotw-1.c: Ditto.
	* gcc.target/i386/avx512f-kortestw-1.c: Ditto.
	* gcc.target/i386/avx512f-korw-1.c: Ditto.
	* gcc.target/i386/avx512f-kunpckbw-1.c: Ditto.
	* gcc.target/i386/avx512f-kxnorw-1.c: Ditto.
	* gcc.target/i386/avx512f-kxorw-1.c: Ditto.
	* gcc.target/i386/avx512f-vaddpd-1.c: Ditto.
	* gcc.target/i386/avx512f-vaddps-1.c: Ditto.
	* gcc.target/i386/avx512f-vaddsd-1.c: Ditto.
	* gcc.target/i386/avx512f-vaddss-1.c: Ditto.
	* gcc.target/i386/avx512f-valignd-1.c: Ditto.
	* gcc.target/i386/avx512f-valignq-1.c: Ditto.
	* gcc.target/i386/avx512f-vblendmpd-1.c: Ditto.
	* gcc.target/i386/avx512f-vblendmps-1.c: Ditto.
	* gcc.target/i386/avx512f-vbroadcastf32x4-1.c: Ditto.
	* gcc.target/i386/avx512f-vbroadcastf64x4-1.c: Ditto.
	* gcc.target/i386/avx512f-vbroadcasti32x4-1.c: Ditto.
	* gcc.target/i386/avx512f-vbroadcasti64x4-1.c: Ditto.
	* gcc.target/i386/avx512f-vbroadcastsd-1.c: Ditto.
	* gcc.target/i386/avx512f-vbroadcastss-1.c: Ditto.
	* gcc.target/i386/avx512f-vcmppd-1.c: Ditto.
	* gcc.target/i386/avx512f-vcmpps-1.c: Ditto.
	* gcc.target/i386/avx512f-vcmpsd-1.c: Ditto.
	* gcc.target/i386/avx512f-vcmpss-1.c: Ditto.
	* gcc.target/i386/avx512f-vcomisd-1.c: Ditto.
	* gcc.target/i386/avx512f-vcomiss-1.c: Ditto.
	* gcc.target/i386/avx512f-vcompresspd-1.c: Ditto.
	* gcc.target/i386/avx512f-vcompressps-1.c: Ditto.
	* gcc.target/i386/avx512f-vcvtdq2pd-1.c: Ditto.
	* gcc.target/i386/avx512f-vcvtdq2ps-1.c: Ditto.
	* gcc.target/i386/avx512f-vcvtpd2dq-1.c: Ditto.
	* gcc.target/i386/avx512f-vcvtpd2ps-1.c: Ditto.
	* gcc.target/i386/avx512f-vcvtpd2udq-1.c: Ditto.
	* gcc.target/i386/avx512f-vcvtph2ps-1.c: Ditto.
	* gcc.target/i386/avx512f-vcvtps2dq-1.c: Ditto.
	* gcc.target/i386/avx512f-vcvtps2pd-1.c: Ditto.
	* gcc.target/i386/avx512f-vcvtps2ph-1.c: Ditto.
	* gcc.target/i386/avx512f-vcvtps2udq-1.c: Ditto.
	* gcc.target/i386/avx512f-vcvtsd2si-1.c: Ditto.
	* gcc.target/i386/avx512f-vcvtsd2si64-1.c: Ditto.
	* gcc.target/i386/avx512f-vcvtsd2ss-1.c: Ditto.
	* gcc.target/i386/avx512f-vcvtsd2usi-1.c: Ditto.
	* gcc.target/i386/avx512f-vcvtsd2usi64-1.c: Ditto.
	* gcc.target/i386/avx512f-vcvtsi2sd64-1.c: Ditto.
	* gcc.target/i386/avx512f-vcvtsi2ss-1.c: Ditto.
	* gcc.target/i386/avx512f-vcvtsi2ss64-1.c: Ditto.
	* gcc.target/i386/avx512f-vcvtss2sd-1.c: Ditto.
	* gcc.target/i386/avx512f-vcvtss2si-1.c: Ditto.
	* gcc.target/i386/avx512f-vcvtss2si64-1.c: Ditto.
	* gcc.target/i386/avx512f-vcvtss2usi-1.c: Ditto.
	* gcc.target/i386/avx512f-vcvtss2usi64-1.c: Ditto.
	* gcc.target/i386/avx512f-vcvttpd2dq-1.c: Ditto.
	* gcc.target/i386/avx512f-vcvttpd2udq-1.c: Ditto.
	* gcc.target/i386/avx512f-vcvttps2dq-1.c: Ditto.
	* gcc.target/i386/avx512f-vcvttps2udq-1.c: Ditto.
	* gcc.target/i386/avx512f-vcvttsd2si-1.c: Ditto.
	* gcc.target/i386/avx512f-vcvttsd2si64-1.c: Ditto.
	* gcc.target/i386/avx512f-vcvttsd2usi-1.c: Ditto.
	* gcc.target/i386/avx512f-vcvttsd2usi64-1.c: Ditto.
	* gcc.target/i386/avx512f-vcvttss2si-1.c: Ditto.
	* gcc.target/i386/avx512f-vcvttss2si64-1.c: Ditto.
	* gcc.target/i386/avx512f-vcvttss2usi-1.c: Ditto.
	* gcc.target/i386/avx512f-vcvttss2usi64-1.c: Ditto.
	* gcc.target/i386/avx512f-vcvtudq2pd-1.c: Ditto.
	* gcc.target/i386/avx512f-vcvtudq2ps-1.c: Ditto.
	* gcc.target/i386/avx512f-vcvtusi2sd-1.c: Ditto.
	* gcc.target/i386/avx512f-vcvtusi2sd64-1.c: Ditto.
	* gcc.target/i386/avx512f-vcvtusi2ss-1.c: Ditto.
	* gcc.target/i386/avx512f-vcvtusi2ss64-1.c: Ditto.
	* gcc.target/i386/avx512f-vdivpd-1.c: Ditto.
	* gcc.target/i386/avx512f-vdivps-1.c: Ditto.
	* gcc.target/i386/avx512f-vdivsd-1.c: Ditto.
	* gcc.target/i386/avx512f-vdivss-1.c: Ditto.
	* gcc.target/i386/avx512f-vec-init.c: Ditto.
	* gcc.target/i386/avx512f-vexpandpd-1.c: Ditto.
	* gcc.target/i386/avx512f-vexpandps-1.c: Ditto.
	* gcc.target/i386/avx512f-vextractf32x4-1.c: Ditto.
	* gcc.target/i386/avx512f-vextractf64x4-1.c: Ditto.
	* gcc.target/i386/avx512f-vextracti32x4-1.c: Ditto.
	* gcc.target/i386/avx512f-vextracti64x4-1.c: Ditto.
	* gcc.target/i386/avx512f-vfixupimmpd-1.c: Ditto.
	* gcc.target/i386/avx512f-vfixupimmps-1.c: Ditto.
	* gcc.target/i386/avx512f-vfixupimmsd-1.c: Ditto.
	* gcc.target/i386/avx512f-vfixupimmss-1.c: Ditto.
	* gcc.target/i386/avx512f-vfmaddXXXpd-1.c: Ditto.
	* gcc.target/i386/avx512f-vfmaddXXXps-1.c: Ditto.
	* gcc.target/i386/avx512f-vfmaddXXXsd-1.c: Ditto.
	* gcc.target/i386/avx512f-vfmaddXXXss-1.c: Ditto.
	* gcc.target/i386/avx512f-vfmaddsubXXXpd-1.c: Ditto.
	* gcc.target/i386/avx512f-vfmaddsubXXXps-1.c: Ditto.
	* gcc.target/i386/avx512f-vfmsubXXXpd-1.c: Ditto.
	* gcc.target/i386/avx512f-vfmsubXXXps-1.c: Ditto.
	* gcc.target/i386/avx512f-vfmsubXXXsd-1.c: Ditto.
	* gcc.target/i386/avx512f-vfmsubXXXss-1.c: Ditto.
	* gcc.target/i386/avx512f-vfmsubaddXXXpd-1.c: Ditto.
	* gcc.target/i386/avx512f-vfmsubaddXXXps-1.c: Ditto.
	* gcc.target/i386/avx512f-vfnmaddXXXpd-1.c: Ditto.
	* gcc.target/i386/avx512f-vfnmaddXXXps-1.c: Ditto.
	* gcc.target/i386/avx512f-vfnmaddXXXsd-1.c: Ditto.
	* gcc.target/i386/avx512f-vfnmaddXXXss-1.c: Ditto.
	* gcc.target/i386/avx512f-vfnmsubXXXpd-1.c: Ditto.
	* gcc.target/i386/avx512f-vfnmsubXXXps-1.c: Ditto.
	* gcc.target/i386/avx512f-vfnmsubXXXsd-1.c: Ditto.
	* gcc.target/i386/avx512f-vfnmsubXXXss-1.c: Ditto.
	* gcc.target/i386/avx512f-vgetexppd-1.c: Ditto.
	* gcc.target/i386/avx512f-vgetexpps-1.c: Ditto.
	* gcc.target/i386/avx512f-vgetexpsd-1.c: Ditto.
	* gcc.target/i386/avx512f-vgetexpss-1.c: Ditto.
	* gcc.target/i386/avx512f-vgetmantpd-1.c: Ditto.
	* gcc.target/i386/avx512f-vgetmantps-1.c: Ditto.
	* gcc.target/i386/avx512f-vgetmantsd-1.c: Ditto.
	* gcc.target/i386/avx512f-vgetmantss-1.c: Ditto.
	* gcc.target/i386/avx512f-vinsertf32x4-1.c: Ditto.
	* gcc.target/i386/avx512f-vinsertf64x4-1.c: Ditto.
	* gcc.target/i386/avx512f-vinserti32x4-1.c: Ditto.
	* gcc.target/i386/avx512f-vinserti64x4-1.c: Ditto.
	* gcc.target/i386/avx512f-vmaxpd-1.c: Ditto.
	* gcc.target/i386/avx512f-vmaxps-1.c: Ditto.
	* gcc.target/i386/avx512f-vmaxsd-1.c: Ditto.
	* gcc.target/i386/avx512f-vmaxss-1.c: Ditto.
	* gcc.target/i386/avx512f-vminpd-1.c: Ditto.
	* gcc.target/i386/avx512f-vminps-1.c: Ditto.
	* gcc.target/i386/avx512f-vminsd-1.c: Ditto.
	* gcc.target/i386/avx512f-vminss-1.c: Ditto.
	* gcc.target/i386/avx512f-vmovapd-1.c: Ditto.
	* gcc.target/i386/avx512f-vmovaps-1.c: Ditto.
	* gcc.target/i386/avx512f-vmovddup-1.c: Ditto.
	* gcc.target/i386/avx512f-vmovdqa32-1.c: Ditto.
	* gcc.target/i386/avx512f-vmovdqa64-1.c: Ditto.
	* gcc.target/i386/avx512f-vmovdqu32-1.c: Ditto.
	* gcc.target/i386/avx512f-vmovdqu64-1.c: Ditto.
	* gcc.target/i386/avx512f-vmovntdq-1.c: Ditto.
	* gcc.target/i386/avx512f-vmovntdqa-1.c: Ditto.
	* gcc.target/i386/avx512f-vmovntpd-1.c: Ditto.
	* gcc.target/i386/avx512f-vmovntps-1.c: Ditto.
	* gcc.target/i386/avx512f-vmovshdup-1.c: Ditto.
	* gcc.target/i386/avx512f-vmovsldup-1.c: Ditto.
	* gcc.target/i386/avx512f-vmovupd-1.c: Ditto.
	* gcc.target/i386/avx512f-vmovups-1.c: Ditto.
	* gcc.target/i386/avx512f-vmulpd-1.c: Ditto.
	* gcc.target/i386/avx512f-vmulps-1.c: Ditto.
	* gcc.target/i386/avx512f-vmulsd-1.c: Ditto.
	* gcc.target/i386/avx512f-vmulss-1.c: Ditto.
	* gcc.target/i386/avx512f-vpabsd512-1.c: Ditto.
	* gcc.target/i386/avx512f-vpabsq512-1.c: Ditto.
	* gcc.target/i386/avx512f-vpaddd-1.c: Ditto.
	* gcc.target/i386/avx512f-vpaddq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpandd-1.c: Ditto.
	* gcc.target/i386/avx512f-vpandnd-1.c: Ditto.
	* gcc.target/i386/avx512f-vpandnq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpandq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpblendmd-1.c: Ditto.
	* gcc.target/i386/avx512f-vpblendmq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpbroadcastd-1.c: Ditto.
	* gcc.target/i386/avx512f-vpbroadcastq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpcmpd-1.c: Ditto.
	* gcc.target/i386/avx512f-vpcmpeqd-1.c: Ditto.
	* gcc.target/i386/avx512f-vpcmpeqq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpcmpequd-1.c: Ditto.
	* gcc.target/i386/avx512f-vpcmpequq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpcmpged-1.c: Ditto.
	* gcc.target/i386/avx512f-vpcmpgeq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpcmpgeud-1.c: Ditto.
	* gcc.target/i386/avx512f-vpcmpgeuq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpcmpgtd-1.c: Ditto.
	* gcc.target/i386/avx512f-vpcmpgtq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpcmpgtud-1.c: Ditto.
	* gcc.target/i386/avx512f-vpcmpgtuq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpcmpled-1.c: Ditto.
	* gcc.target/i386/avx512f-vpcmpleq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpcmpleud-1.c: Ditto.
	* gcc.target/i386/avx512f-vpcmpleuq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpcmpltd-1.c: Ditto.
	* gcc.target/i386/avx512f-vpcmpltq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpcmpltud-1.c: Ditto.
	* gcc.target/i386/avx512f-vpcmpltuq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpcmpneqd-1.c: Ditto.
	* gcc.target/i386/avx512f-vpcmpneqq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpcmpnequd-1.c: Ditto.
	* gcc.target/i386/avx512f-vpcmpnequq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpcmpq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpcmpud-1.c: Ditto.
	* gcc.target/i386/avx512f-vpcmpuq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpcompressd-1.c: Ditto.
	* gcc.target/i386/avx512f-vpcompressq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpermd-1.c: Ditto.
	* gcc.target/i386/avx512f-vpermi2d-1.c: Ditto.
	* gcc.target/i386/avx512f-vpermi2pd-1.c: Ditto.
	* gcc.target/i386/avx512f-vpermi2ps-1.c: Ditto.
	* gcc.target/i386/avx512f-vpermi2q-1.c: Ditto.
	* gcc.target/i386/avx512f-vpermilpd-1.c: Ditto.
	* gcc.target/i386/avx512f-vpermilpdi-1.c: Ditto.
	* gcc.target/i386/avx512f-vpermilps-1.c: Ditto.
	* gcc.target/i386/avx512f-vpermilpsi-1.c: Ditto.
	* gcc.target/i386/avx512f-vpermpd-1.c: Ditto.
	* gcc.target/i386/avx512f-vpermpdi-1.c: Ditto.
	* gcc.target/i386/avx512f-vpermps-1.c: Ditto.
	* gcc.target/i386/avx512f-vpermq-imm-1.c: Ditto.
	* gcc.target/i386/avx512f-vpermq-var-1.c: Ditto.
	* gcc.target/i386/avx512f-vpermt2d-1.c: Ditto.
	* gcc.target/i386/avx512f-vpermt2pd-1.c: Ditto.
	* gcc.target/i386/avx512f-vpermt2ps-1.c: Ditto.
	* gcc.target/i386/avx512f-vpermt2q-1.c: Ditto.
	* gcc.target/i386/avx512f-vpexpandd-1.c: Ditto.
	* gcc.target/i386/avx512f-vpexpandq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpmaxsd-1.c: Ditto.
	* gcc.target/i386/avx512f-vpmaxsq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpmaxud-1.c: Ditto.
	* gcc.target/i386/avx512f-vpmaxuq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpminsd-1.c: Ditto.
	* gcc.target/i386/avx512f-vpminsq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpminud-1.c: Ditto.
	* gcc.target/i386/avx512f-vpminuq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpmovdb-1.c: Ditto.
	* gcc.target/i386/avx512f-vpmovdw-1.c: Ditto.
	* gcc.target/i386/avx512f-vpmovqb-1.c: Ditto.
	* gcc.target/i386/avx512f-vpmovqd-1.c: Ditto.
	* gcc.target/i386/avx512f-vpmovqw-1.c: Ditto.
	* gcc.target/i386/avx512f-vpmovsdb-1.c: Ditto.
	* gcc.target/i386/avx512f-vpmovsdw-1.c: Ditto.
	* gcc.target/i386/avx512f-vpmovsqb-1.c: Ditto.
	* gcc.target/i386/avx512f-vpmovsqd-1.c: Ditto.
	* gcc.target/i386/avx512f-vpmovsqw-1.c: Ditto.
	* gcc.target/i386/avx512f-vpmovsxbd-1.c: Ditto.
	* gcc.target/i386/avx512f-vpmovsxbq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpmovsxdq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpmovsxwd-1.c: Ditto.
	* gcc.target/i386/avx512f-vpmovsxwq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpmovusdb-1.c: Ditto.
	* gcc.target/i386/avx512f-vpmovusdw-1.c: Ditto.
	* gcc.target/i386/avx512f-vpmovusqb-1.c: Ditto.
	* gcc.target/i386/avx512f-vpmovusqd-1.c: Ditto.
	* gcc.target/i386/avx512f-vpmovusqw-1.c: Ditto.
	* gcc.target/i386/avx512f-vpmovzxbd-1.c: Ditto.
	* gcc.target/i386/avx512f-vpmovzxbq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpmovzxdq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpmovzxwd-1.c: Ditto.
	* gcc.target/i386/avx512f-vpmovzxwq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpmuldq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpmulld-1.c: Ditto.
	* gcc.target/i386/avx512f-vpmuludq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpord-1.c: Ditto.
	* gcc.target/i386/avx512f-vporq-1.c: Ditto.
	* gcc.target/i386/avx512f-vprold-1.c: Ditto.
	* gcc.target/i386/avx512f-vprolq-1.c: Ditto.
	* gcc.target/i386/avx512f-vprolvd-1.c: Ditto.
	* gcc.target/i386/avx512f-vprolvq-1.c: Ditto.
	* gcc.target/i386/avx512f-vprord-1.c: Ditto.
	* gcc.target/i386/avx512f-vprorq-1.c: Ditto.
	* gcc.target/i386/avx512f-vprorvd-1.c: Ditto.
	* gcc.target/i386/avx512f-vprorvq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpshufd-1.c: Ditto.
	* gcc.target/i386/avx512f-vpslld-1.c: Ditto.
	* gcc.target/i386/avx512f-vpslldi-1.c: Ditto.
	* gcc.target/i386/avx512f-vpsllq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpsllqi-1.c: Ditto.
	* gcc.target/i386/avx512f-vpsllvd-1.c: Ditto.
	* gcc.target/i386/avx512f-vpsllvq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpsllvq512-1.c: Ditto.
	* gcc.target/i386/avx512f-vpsrad-1.c: Ditto.
	* gcc.target/i386/avx512f-vpsradi-1.c: Ditto.
	* gcc.target/i386/avx512f-vpsraq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpsraqi-1.c: Ditto.
	* gcc.target/i386/avx512f-vpsravd-1.c: Ditto.
	* gcc.target/i386/avx512f-vpsravq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpsravq512-1.c: Ditto.
	* gcc.target/i386/avx512f-vpsrld-1.c: Ditto.
	* gcc.target/i386/avx512f-vpsrldi-1.c: Ditto.
	* gcc.target/i386/avx512f-vpsrlq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpsrlqi-1.c: Ditto.
	* gcc.target/i386/avx512f-vpsrlvd-1.c: Ditto.
	* gcc.target/i386/avx512f-vpsrlvq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpsrlvq512-1.c: Ditto.
	* gcc.target/i386/avx512f-vpsubd-1.c: Ditto.
	* gcc.target/i386/avx512f-vpsubq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpternlogd-1.c: Ditto.
	* gcc.target/i386/avx512f-vpternlogq-1.c: Ditto.
	* gcc.target/i386/avx512f-vptestmd-1.c: Ditto.
	* gcc.target/i386/avx512f-vptestmq-1.c: Ditto.
	* gcc.target/i386/avx512f-vptestnmd-1.c: Ditto.
	* gcc.target/i386/avx512f-vptestnmq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpunpckhdq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpunpckhqdq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpunpckldq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpunpcklqdq-1.c: Ditto.
	* gcc.target/i386/avx512f-vpxord-1.c: Ditto.
	* gcc.target/i386/avx512f-vpxorq-1.c: Ditto.
	* gcc.target/i386/avx512f-vrcp14pd-1.c: Ditto.
	* gcc.target/i386/avx512f-vrcp14ps-1.c: Ditto.
	* gcc.target/i386/avx512f-vrcp14sd-1.c: Ditto.
	* gcc.target/i386/avx512f-vrcp14ss-1.c: Ditto.
	* gcc.target/i386/avx512f-vrndscalepd-1.c: Ditto.
	* gcc.target/i386/avx512f-vrndscaleps-1.c: Ditto.
	* gcc.target/i386/avx512f-vrndscalesd-1.c: Ditto.
	* gcc.target/i386/avx512f-vrndscaless-1.c: Ditto.
	* gcc.target/i386/avx512f-vrsqrt14pd-1.c: Ditto.
	* gcc.target/i386/avx512f-vrsqrt14ps-1.c: Ditto.
	* gcc.target/i386/avx512f-vrsqrt14sd-1.c: Ditto.
	* gcc.target/i386/avx512f-vrsqrt14ss-1.c: Ditto.
	* gcc.target/i386/avx512f-vscalefpd-1.c: Ditto.
	* gcc.target/i386/avx512f-vscalefps-1.c: Ditto.
	* gcc.target/i386/avx512f-vscalefsd-1.c: Ditto.
	* gcc.target/i386/avx512f-vscalefss-1.c: Ditto.
	* gcc.target/i386/avx512f-vshuff32x4-1.c: Ditto.
	* gcc.target/i386/avx512f-vshuff64x2-1.c: Ditto.
	* gcc.target/i386/avx512f-vshufi32x4-1.c: Ditto.
	* gcc.target/i386/avx512f-vshufi64x2-1.c: Ditto.
	* gcc.target/i386/avx512f-vshufpd-1.c: Ditto.
	* gcc.target/i386/avx512f-vshufps-1.c: Ditto.
	* gcc.target/i386/avx512f-vsqrtpd-1.c: Ditto.
	* gcc.target/i386/avx512f-vsqrtps-1.c: Ditto.
	* gcc.target/i386/avx512f-vsqrtsd-1.c: Ditto.
	* gcc.target/i386/avx512f-vsqrtss-1.c: Ditto.
	* gcc.target/i386/avx512f-vsubpd-1.c: Ditto.
	* gcc.target/i386/avx512f-vsubps-1.c: Ditto.
	* gcc.target/i386/avx512f-vsubsd-1.c: Ditto.
	* gcc.target/i386/avx512f-vsubss-1.c: Ditto.
	* gcc.target/i386/avx512f-vucomisd-1.c: Ditto.
	* gcc.target/i386/avx512f-vucomiss-1.c: Ditto.
	* gcc.target/i386/avx512f-vunpckhpd-1.c: Ditto.
	* gcc.target/i386/avx512f-vunpckhps-1.c: Ditto.
	* gcc.target/i386/avx512f-vunpcklpd-1.c: Ditto.
	* gcc.target/i386/avx512f-vunpcklps-1.c: Ditto.
	* gcc.target/i386/avx512f_cond_move.c: Ditto.
	* gcc.target/i386/avx512f_evex_reg_asm-2.c: Ditto.
	* gcc.target/i386/avx512ifma-vpmaddhuq-1.c: Ditto.
	* gcc.target/i386/avx512ifma-vpmaddluq-1.c: Ditto.
	* gcc.target/i386/avx512pf-vgatherpf0dpd-1.c: Ditto.
	* gcc.target/i386/avx512pf-vgatherpf0dps-1.c: Ditto.
	* gcc.target/i386/avx512pf-vgatherpf0qpd-1.c: Ditto.
	* gcc.target/i386/avx512pf-vgatherpf0qps-1.c: Ditto.
	* gcc.target/i386/avx512pf-vgatherpf1dpd-1.c: Ditto.
	* gcc.target/i386/avx512pf-vgatherpf1dps-1.c: Ditto.
	* gcc.target/i386/avx512pf-vgatherpf1qpd-1.c: Ditto.
	* gcc.target/i386/avx512pf-vgatherpf1qps-1.c: Ditto.
	* gcc.target/i386/avx512pf-vscatterpf0dpd-1.c: Ditto.
	* gcc.target/i386/avx512pf-vscatterpf0dps-1.c: Ditto.
	* gcc.target/i386/avx512pf-vscatterpf0qpd-1.c: Ditto.
	* gcc.target/i386/avx512pf-vscatterpf0qps-1.c: Ditto.
	* gcc.target/i386/avx512pf-vscatterpf1dpd-1.c: Ditto.
	* gcc.target/i386/avx512pf-vscatterpf1dps-1.c: Ditto.
	* gcc.target/i386/avx512pf-vscatterpf1qpd-1.c: Ditto.
	* gcc.target/i386/avx512pf-vscatterpf1qps-1.c: Ditto.
	* gcc.target/i386/avx512vbmi-vpermb-1.c: Ditto.
	* gcc.target/i386/avx512vbmi-vpermi2b-1.c: Ditto.
	* gcc.target/i386/avx512vbmi-vpermt2b-1.c: Ditto.
	* gcc.target/i386/avx512vbmi-vpmultishiftqb-1.c: Ditto.
	* gcc.target/i386/avx512vl-i32gatherd-1.c: Ditto.
	* gcc.target/i386/avx512vl-i32gatherpd-1.c: Ditto.
	* gcc.target/i386/avx512vl-i32gatherps-1.c: Ditto.
	* gcc.target/i386/avx512vl-i32gatherq-1.c: Ditto.
	* gcc.target/i386/avx512vl-i32scatterd-1.c: Ditto.
	* gcc.target/i386/avx512vl-i32scatterpd-1.c: Ditto.
	* gcc.target/i386/avx512vl-i32scatterps-1.c: Ditto.
	* gcc.target/i386/avx512vl-i32scatterq-1.c: Ditto.
	* gcc.target/i386/avx512vl-i64gatherd-1.c: Ditto.
	* gcc.target/i386/avx512vl-i64gatherpd-1.c: Ditto.
	* gcc.target/i386/avx512vl-i64gatherps-1.c: Ditto.
	* gcc.target/i386/avx512vl-i64gatherq-1.c: Ditto.
	* gcc.target/i386/avx512vl-i64scatterd-1.c: Ditto.
	* gcc.target/i386/avx512vl-i64scatterpd-1.c: Ditto.
	* gcc.target/i386/avx512vl-i64scatterps-1.c: Ditto.
	* gcc.target/i386/avx512vl-i64scatterq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vaddpd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vaddps-1.c: Ditto.
	* gcc.target/i386/avx512vl-valignd-1.c: Ditto.
	* gcc.target/i386/avx512vl-valignq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vblendmpd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vblendmps-1.c: Ditto.
	* gcc.target/i386/avx512vl-vbroadcastf32x4-1.c: Ditto.
	* gcc.target/i386/avx512vl-vbroadcasti32x4-1.c: Ditto.
	* gcc.target/i386/avx512vl-vbroadcastsd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vbroadcastss-1.c: Ditto.
	* gcc.target/i386/avx512vl-vcmppd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vcmpps-1.c: Ditto.
	* gcc.target/i386/avx512vl-vcompresspd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vcompressps-1.c: Ditto.
	* gcc.target/i386/avx512vl-vcvtdq2pd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vcvtdq2ps-1.c: Ditto.
	* gcc.target/i386/avx512vl-vcvtpd2dq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vcvtpd2ps-1.c: Ditto.
	* gcc.target/i386/avx512vl-vcvtpd2udq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vcvtph2ps-1.c: Ditto.
	* gcc.target/i386/avx512vl-vcvtps2dq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vcvtps2pd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vcvtps2ph-1.c: Ditto.
	* gcc.target/i386/avx512vl-vcvtps2udq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vcvttpd2dq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vcvttpd2udq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vcvttps2dq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vcvttps2udq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vcvtudq2pd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vcvtudq2ps-1.c: Ditto.
	* gcc.target/i386/avx512vl-vdivpd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vdivps-1.c: Ditto.
	* gcc.target/i386/avx512vl-vexpandpd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vexpandps-1.c: Ditto.
	* gcc.target/i386/avx512vl-vextractf32x4-1.c: Ditto.
	* gcc.target/i386/avx512vl-vextracti32x4-1.c: Ditto.
	* gcc.target/i386/avx512vl-vfixupimmpd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vfixupimmps-1.c: Ditto.
	* gcc.target/i386/avx512vl-vfmaddXXXpd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vfmaddXXXps-1.c: Ditto.
	* gcc.target/i386/avx512vl-vfmaddsubXXXpd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vfmaddsubXXXps-1.c: Ditto.
	* gcc.target/i386/avx512vl-vfmsubXXXpd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vfmsubXXXps-1.c: Ditto.
	* gcc.target/i386/avx512vl-vfmsubaddXXXpd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vfmsubaddXXXps-1.c: Ditto.
	* gcc.target/i386/avx512vl-vfnmaddXXXpd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vfnmaddXXXps-1.c: Ditto.
	* gcc.target/i386/avx512vl-vfnmsubXXXpd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vfnmsubXXXps-1.c: Ditto.
	* gcc.target/i386/avx512vl-vgetexppd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vgetexpps-1.c: Ditto.
	* gcc.target/i386/avx512vl-vgetmantpd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vgetmantps-1.c: Ditto.
	* gcc.target/i386/avx512vl-vinsertf32x4-1.c: Ditto.
	* gcc.target/i386/avx512vl-vinserti32x4-1.c: Ditto.
	* gcc.target/i386/avx512vl-vmaxpd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vmaxps-1.c: Ditto.
	* gcc.target/i386/avx512vl-vminpd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vminps-1.c: Ditto.
	* gcc.target/i386/avx512vl-vmovapd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vmovaps-1.c: Ditto.
	* gcc.target/i386/avx512vl-vmovddup-1.c: Ditto.
	* gcc.target/i386/avx512vl-vmovdqa32-1.c: Ditto.
	* gcc.target/i386/avx512vl-vmovdqa64-1.c: Ditto.
	* gcc.target/i386/avx512vl-vmovdqu32-1.c: Ditto.
	* gcc.target/i386/avx512vl-vmovdqu64-1.c: Ditto.
	* gcc.target/i386/avx512vl-vmovntdqa-1.c: Ditto.
	* gcc.target/i386/avx512vl-vmovshdup-1.c: Ditto.
	* gcc.target/i386/avx512vl-vmovsldup-1.c: Ditto.
	* gcc.target/i386/avx512vl-vmovupd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vmovups-1.c: Ditto.
	* gcc.target/i386/avx512vl-vmulpd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vmulps-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpabsd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpabsq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpaddd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpaddq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpandd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpandnd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpandnq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpandq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpblendmd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpblendmq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpbroadcastd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpbroadcastmb2q-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpbroadcastmw2d-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpbroadcastq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpcmpd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpcmpeqd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpcmpeqq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpcmpequd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpcmpequq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpcmpged-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpcmpgeq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpcmpgeud-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpcmpgeuq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpcmpgtd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpcmpgtq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpcmpgtud-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpcmpgtuq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpcmpled-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpcmpleq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpcmpleud-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpcmpleuq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpcmpltd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpcmpltq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpcmpltud-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpcmpltuq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpcmpneqd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpcmpneqq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpcmpnequd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpcmpnequq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpcmpq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpcmpud-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpcmpuq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpcompressd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpcompressq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpconflictd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpconflictq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpermd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpermi2d-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpermi2pd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpermi2ps-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpermi2q-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpermilpd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpermilpdi-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpermilps-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpermilpsi-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpermpd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpermpdi-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpermps-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpermq-imm-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpermq-var-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpermt2d-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpermt2pd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpermt2ps-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpermt2q-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpexpandd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpexpandq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vplzcntd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vplzcntq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpmaxsd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpmaxsq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpmaxud-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpmaxuq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpminsd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpminsq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpminud-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpminuq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpmovdb-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpmovdw-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpmovqb-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpmovqd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpmovqw-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpmovsdb-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpmovsdw-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpmovsqb-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpmovsqd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpmovsqw-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpmovsxbd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpmovsxbq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpmovsxdq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpmovsxwd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpmovsxwq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpmovusdb-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpmovusdw-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpmovusqb-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpmovusqd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpmovusqw-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpmovzxbd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpmovzxbq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpmovzxdq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpmovzxwd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpmovzxwq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpmuldq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpmulld-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpmuludq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpord-1.c: Ditto.
	* gcc.target/i386/avx512vl-vporq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vprold-1.c: Ditto.
	* gcc.target/i386/avx512vl-vprolq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vprolvd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vprolvq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vprord-1.c: Ditto.
	* gcc.target/i386/avx512vl-vprorq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vprorvd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vprorvq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpsadbw-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpshufd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpslld-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpslldi-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpsllq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpsllqi-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpsllvd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpsllvq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpsrad-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpsradi-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpsraq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpsraqi-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpsravd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpsravq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpsrld-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpsrldi-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpsrlq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpsrlqi-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpsrlvd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpsrlvq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpsubd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpsubq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpternlogd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpternlogq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vptestmd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vptestmq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vptestnmd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vptestnmq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpunpckhdq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpunpckhqdq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpunpckldq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpunpcklqdq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpxord-1.c: Ditto.
	* gcc.target/i386/avx512vl-vpxorq-1.c: Ditto.
	* gcc.target/i386/avx512vl-vrcp14pd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vrcp14ps-1.c: Ditto.
	* gcc.target/i386/avx512vl-vrndscalepd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vrndscaleps-1.c: Ditto.
	* gcc.target/i386/avx512vl-vrsqrt14pd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vrsqrt14ps-1.c: Ditto.
	* gcc.target/i386/avx512vl-vscalefpd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vscalefps-1.c: Ditto.
	* gcc.target/i386/avx512vl-vshuff32x4-1.c: Ditto.
	* gcc.target/i386/avx512vl-vshuff64x2-1.c: Ditto.
	* gcc.target/i386/avx512vl-vshufi32x4-1.c: Ditto.
	* gcc.target/i386/avx512vl-vshufi64x2-1.c: Ditto.
	* gcc.target/i386/avx512vl-vshufpd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vshufps-1.c: Ditto.
	* gcc.target/i386/avx512vl-vsqrtpd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vsqrtps-1.c: Ditto.
	* gcc.target/i386/avx512vl-vsubpd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vsubps-1.c: Ditto.
	* gcc.target/i386/avx512vl-vunpckhpd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vunpckhps-1.c: Ditto.
	* gcc.target/i386/avx512vl-vunpcklpd-1.c: Ditto.
	* gcc.target/i386/avx512vl-vunpcklps-1.c: Ditto.

From-SVN: r218313
2014-12-03 16:39:51 +03:00
H.J. Lu
cca81ac8b0 Revert r218266
gcc/

	PR rtl-optimization/64151
	PR rtl-optimization/64156
	* ira-costs.c (scan_one_insn): Revert r218266.

gcc/testsuite/

	PR rtl-optimization/64151
	PR rtl-optimization/64156
	* gcc.target/aarch64/remat1.c: Removed.  Revert r218267.

From-SVN: r218312
2014-12-03 05:16:25 -08:00
Richard Biener
a6a0570f15 builtins.c (fold_builtin_fpclassify): Change to take array of arguments instead of CALL_EXPR tree.
2014-12-03  Richard Biener  <rguenther@suse.de>

	* builtins.c (fold_builtin_fpclassify): Change to take
	array of arguments instead of CALL_EXPR tree.
	(MAX_ARGS_TO_FOLD_BUILTIN): Remove.
	(fold_builtin_n): Dispatch to fold_builtin_varargs.
	(fold_call_expr): Always use fold_builtin_n.
	(fold_builtin_call_array): Change to not build the unfolded call,
	always use fold_builtin_n.
	(fold_builtin_varargs): Change to take array of arguments instead
	of CALL_EXPR tree.
	(fold_call_stmt): Always use fold_builtin_n.
	* tree.c (build_call_expr_loc_array): Use fold_build_call_array_loc.
	* fold-const.c (fold_build_call_array_loc): Build the call
	if fold_builtin_call_array returned NULL_TREE.
	* gimple-fold.c (gimple_fold_stmt_to_constant_1): Do not build
	a CALL_EXPR and use fold_builtin_call_array instead of
	fold_call_expr.

	cp/
	* constexpr.c (cxx_eval_builtin_function_call): Use
	fold_build_call_array_loc.

From-SVN: r218311
2014-12-03 13:10:39 +00:00
Alan Lawrence
a844a69583 [AArch64] Remove/merge redundant iterators
* config/aarch64/aarch64-simd.md (aarch64_simd_dup<mode>, orn<mode>3,
	bic<mode>3, add<mode>3, sub<mode>3, neg<mode>2, abs<mode>2, and<mode>3,
	ior<mode>3, xor<mode>3, one_cmpl<mode>2,
	aarch64_simd_lshr<mode> ,arch64_simd_ashr<mode>,
	aarch64_simd_imm_shl<mode>, aarch64_simd_reg_sshl<mode>,
	aarch64_simd_reg_shl<mode>_unsigned, aarch64_simd_reg_shr<mode>_signed,
	ashl<mode>3, lshr<mode>3, ashr<mode>3, vashl<mode>3,
	reduc_plus_scal_<mode>, aarch64_vcond_internal<mode><mode>,
	vcondu<mode><mode>, aarch64_cm<optab><mode>, aarch64_cmtst<mode>):
	Change VDQ to VDQ_I.

	(mul<mode>3): Change VDQM to VDQ_BHSI.
	(aarch64_simd_vec_set<mode>,vashr<mode>3, vlshr<mode>3, vec_set<mode>,
	aarch64_mla<mode>, aarch64_mls<mode>, <su><maxmin><mode>3,
	aarch64_<sur>h<addsub><mode>): Change VQ_S to VDQ_BHSI.
	
	(*aarch64_<su>mlal<mode>, *aarch64_<su>mlsl<mode>,
	aarch64_<ANY_EXTEND:su><ADDSUB:optab>l<mode>,
	aarch64_<ANY_EXTEND:su><ADDSUB:optab>w<mode>, aarch64_<sur>shll_n<mode>):
	Change VDW to VD_BHSI.
	(*aarch64_combinez<mode>, *aarch64_combinez_be<mode>):
	Change VDIC to VD_BHSI.

	* config/aarch64/aarch64-simd-builtins.def (saddl, uaddl, ssubl, usubl,
	saddw, uaddw, ssubw, usubw, shadd, uhadd, srhadd, urhadd, sshll_n,
	ushll_n): Change BUILTIN_VDW to BUILTIN_VD_BHSI.

	* config/aarch64/iterators.md (SDQ_I, VDQ, VQ_S, VSDQ_I_BHSI, VDQM, VDW,
	VDIC, VDQQHS): Remove.
	(Vwtype): Update comment (changing VDW to VD_BHSI).

From-SVN: r218310
2014-12-03 12:12:07 +00:00
Jonathan Wakely
db97b3b018 hashtable.h: Fix whitespace and simplify function definitions with trailing return types.
* include/bits/hashtable.h: Fix whitespace and simplify function
	definitions with trailing return types.

From-SVN: r218309
2014-12-03 12:00:02 +00:00
Richard Biener
e18c1d66ef re PR tree-optimization/14541 ([tree-ssa] built-in math functions are not fully optimized at tree level)
2014-12-03  Richard Biener  <rguenther@suse.de>

	PR middle-end/14541
	* builtins.c (fold_builtin_logarithm): Implement simplifications ...
	* match.pd: ... here as patterns.

From-SVN: r218308
2014-12-03 11:55:14 +00:00
Prachi Godbole
e43187ab49 p5600.md (define_automaton, [...]): Replace p5600_agen_pipe and p5600_alu_pipe with p5600_agen_alq_pipe.
2014-12-03  Prachi Godbole  <prachi.godbole@imgtec.com>

	* config/mips/p5600.md (define_automaton, define_cpu_unit): Replace
	p5600_agen_pipe and p5600_alu_pipe with p5600_agen_alq_pipe.
	(p5600_int_arith_1, p5600_int_arith_2, p5600_int_arith_4): Change
	reservation order.

From-SVN: r218307
2014-12-03 11:16:00 +00:00
Tom de Vries
1e2881031c Rename fuse-caller-save
2014-12-03  Tom de Vries  <tom@codesourcery.com>

	PR rtl-optimization/63957
	* doc/invoke.texi: Replace -fuse-caller-save with -fipa-ra.
	* final.c (rest_of_handle_final): Replace flag_use_caller_save with
	flag_ipa_ra.
	(get_call_reg_set_usage): Same.
	* lra-assigns.c (lra_assign): Same.
	* lra-constraints.c (need_for_call_save_p): Same.
	* lra-lives.c (process_bb_lives): Same.
	* lra.c (lra): Same.
	* calls.c (expand_call): Same.
	(emit_library_call_value_1): Same.
	* config/arm/arm.c (arm_option_override): Same.
	* opts.c (default_options_table): Replace OPT_fuse_caller_save with
	OPT_fipa_ra.
	* target.def (call_fusage_contains_non_callee_clobbers): Replace
	fuse-caller-save with fipa-ra.
	* doc/tm.texi (TARGET_CALL_FUSAGE_CONTAINS_NON_CALLEE_CLOBBERS): Same.
	* common.opt: Same.

	* gcc.dg/ira-shrinkwrap-prep-1.c: Replace -fno-use-caller-save with
	-fno-ipa-ra.
	* gcc.dg/ira-shrinkwrap-prep-2.c: Same.
	* gcc.target/aarch64/aapcs64/aapcs64.exp: Same.
	* gcc.dg/fuse-caller-save.c: Replace -fuse-caller-save with -fipa-ra.
	* gcc.target/aarch64/fuse-caller-save.c: Same.
	* gcc.target/arm/fuse-caller-save.c: Same.
	* gcc.target/i386/fuse-caller-save-rec.c: Same.
	* gcc.target/i386/fuse-caller-save-xmm-run.c: Same.
	* gcc.target/i386/fuse-caller-save-xmm.c: Same.
	* gcc.target/i386/fuse-caller-save.c: Same.
	* gcc.target/mips/fuse-caller-save-micromips.c: Same.
	* gcc.target/mips/fuse-caller-save-mips16.c: Same.
	* gcc.target/mips/fuse-caller-save.c: Same.
	* gcc.target/mips/mips.exp: Replace use-caller-save with ipa-ra in
	-ffoo/-fno-foo options.

From-SVN: r218305
2014-12-03 10:28:25 +00:00
Yury Gribov
e28f2090db Improve optimization of ASan checks.
2014-12-03  Yury Gribov  <y.gribov@samsung.com>

gcc/
	* sanopt.c (maybe_get_single_definition): New function.
	(maybe_get_dominating_check): Ditto.
	(can_remove_asan_check): Ditto.
	(struct tree_map_traits): New struct.
	(struct sanopt_ctx): Use custom traits for asan_check_map.
	(maybe_optimize_ubsan_null_ifn): Move code to
	maybe_get_dominating_check.
	(maybe_optimize_asan_check_ifn): Move code and take non-SSA expressions
	into account when optimizing.
	(sanopt_optimize_walker): Optimize ASan checks even when
	recovering.

From-SVN: r218304
2014-12-03 09:23:28 +00:00
Ilya Enkovich
45392c7650 constraints.md (Yr): New.
gcc/

	* config/i386/constraints.md (Yr): New.
	* config/i386/i386.h (reg_class): Add NO_REX_SSE_REGS.
	(REG_CLASS_NAMES): Likewise.
	(REG_CLASS_CONTENTS): Likewise.
	* config/i386/sse.md (*vec_concatv2sf_sse4_1): Add alternatives
	which use only NO_REX_SSE_REGS.
	(vec_set<mode>_0): Likewise.
	(*vec_setv4sf_sse4_1): Likewise.
	(sse4_1_insertps): Likewise.
	(*sse4_1_extractps): Likewise.
	(*sse4_1_mulv2siv2di3<mask_name>): Likewise.
	(*<sse4_1_avx2>_mul<mode>3<mask_name>): Likewise.
	(*sse4_1_<code><mode>3<mask_name>): Likewise.
	(*sse4_1_<code><mode>3): Likewise.
	(*sse4_1_eqv2di3): Likewise.
	(sse4_2_gtv2di3): Likewise.
	(*vec_extractv4si): Likewise.
	(*vec_concatv2si_sse4_1): Likewise.
	(vec_concatv2di): Likewise.
	(<sse4_1>_blend<ssemodesuffix><avxsizesuffix>): Likewise.
	(<sse4_1>_blendv<ssemodesuffix><avxsizesuffix>): Likewise.
	(<sse4_1>_dp<ssemodesuffix><avxsizesuffix>): Likewise.
	(<vi8_sse4_1_avx2_avx512>_movntdqa): Likewise.
	(<sse4_1_avx2>_mpsadbw): Likewise.
	(<sse4_1_avx2>packusdw<mask_name>): Likewise.
	(<sse4_1_avx2>_pblendvb): Likewise.
	(sse4_1_pblendw): Likewise.
	(sse4_1_phminposuw): Likewise.
	(sse4_1_<code>v8qiv8hi2<mask_name>): Likewise.
	(sse4_1_<code>v4qiv4si2<mask_name>): Likewise.
	(sse4_1_<code>v4hiv4si2<mask_name>): Likewise.
	(sse4_1_<code>v2qiv2di2<mask_name>): Likewise.
	(sse4_1_<code>v2hiv2di2<mask_name>): Likewise.
	(sse4_1_<code>v2siv2di2<mask_name>): Likewise.
	(sse4_1_ptest): Likewise.
	(<sse4_1>_round<ssemodesuffix><avxsizesuffix>): Likewise.
	(sse4_1_round<ssescalarmodesuffix>): Likewise.
	* config/i386/subst.md (mask_prefix4): New.
	* config/i386/x86-tune.def (X86_TUNE_AVOID_4BYTE_PREFIXES): New.

gcc/testsuites/

	* gcc.target/i386/sse2-init-v2di-2.c: Adjust to changed
	vec_concatv2di template.

From-SVN: r218303
2014-12-03 08:45:45 +00:00
Segher Boessenkool
17adbcebf0 re PR rtl-optimization/52714 (ICE in fixup_reorder_chain, at cfglayout.c:880)
PR rtl-optimization/52714
	* combine.c (try_combine): Allow combining two insns into two
	new insns if at least one of those is a noop.

gcc/testsuite/
	* gcc.target/m68k/pr52714.c: New testcase.

From-SVN: r218302
2014-12-03 07:00:54 +01:00
Bin Cheng
51be497740 target.def (fusion_priority): Wrap code with @smallexample.
* target.def (fusion_priority): Wrap code with @smallexample.
	* doc/tm.texi: Regenerated.

From-SVN: r218301
2014-12-03 05:25:40 +00:00
Jonathan Wakely
28fe2ab37c re PR libstdc++/64161 (bootstrap error: condition_variable.cc:134:7: error: 'atexit' is not a member of 'std')
PR libstdc++/64161
	* src/c++11/condition_variable.cc: Include <cstdlib>.

From-SVN: r218300
2014-12-03 01:34:03 +00:00
GCC Administrator
4d8820d6d9 Daily bump.
From-SVN: r218299
2014-12-03 00:16:28 +00:00
Tobias Burnus
f40315996b error.c (warnings_not_errors): Use bool.
2014-12-02  Tobias Burnus  <burnus@net-b.de>
            Manuel López-Ibáñez  <manu@gcc.gnu.org>

        * error.c (warnings_not_errors): Use bool.
        (gfc_clear_error): Update.
        (gfc_get_errors): Ditto. Use bool argument.
        * gfortran.h (gfc_get_errors): Update prototype.
        * resolve.c (resolve_global_procedure): Update call.


Co-Authored-By: Manuel López-Ibáñez <manu@gcc.gnu.org>

From-SVN: r218296
2014-12-03 00:39:49 +01:00
Manuel López-Ibáñez
7f9283bf66 libcpp uses diagnostic->override_column to give a custom column number to diagnostics.
libcpp uses diagnostic->override_column to give a custom column number to
diagnostics. This is taken into account when building the prefix, but it was
missing when placing the caret.

2014-12-03  Manuel López-Ibáñez  <manu@gcc.gnu.org>

	* diagnostic.c (diagnostic_show_locus): Honor override_column when
	placing the caret.

From-SVN: r218295
2014-12-02 23:16:21 +00:00
Tobias Burnus
f5d5b88fe5 download_prerequisites: Download ISL 0.14 instead of 0.12.2.
2014-12-02  Tobias Burnus  <burnus@net-b.de>

        * download_prerequisites: Download ISL 0.14 instead of 0.12.2.

From-SVN: r218294
2014-12-02 23:41:01 +01:00
Dmitry Vyukov
f1d15bb914 asan: support for globals in kernel
2014-12-02  Dmitry Vyukov  <dvyukov@google.com>
* asan.c: (asan_finish_file): Use default priority for constructors
in kernel mode.

From-SVN: r218281
2014-12-02 10:58:59 -08:00
Uros Bizjak
d455c0b530 avx512ifma-vpmaddhuq-2.c: Define AVX512IFMA.
* gcc.target/i386/avx512ifma-vpmaddhuq-2.c: Define AVX512IFMA.
	* gcc.target/i386/avx512ifma-vpmaddluq-2.c: Ditto.
	* gcc.target/i386/avx512vbmi-vpermb-2.c: Define AVX512VBMI.
	* gcc.target/i386/avx512vbmi-vpermi2b-2.c: Ditto.
	* gcc.target/i386/avx512vbmi-vpermt2b-2.c: Ditto.
	* gcc.target/i386/avx512vbmi-vpmultishiftqb-2.c: Ditto.

From-SVN: r218280
2014-12-02 18:32:27 +01:00
Marek Polacek
253a921b41 constexpr.c (cxx_eval_check_shift_p): New function.
* constexpr.c (cxx_eval_check_shift_p): New function.
	(cxx_eval_binary_expression): Call it.  Set NON_CONSTANT_P if it
	returns true.

	* g++.dg/cpp0x/constexpr-shift1.C: New test.
	* g++.dg/cpp1y/constexpr-shift1.C: New test.
	* g++.dg/ubsan/pr63956.C: Add dg-errors.

From-SVN: r218279
2014-12-02 17:23:34 +00:00
Manuel López-Ibáñez
73bd83290a line-map.h (linemap_assert_fails): Declare.
libcpp/ChangeLog:

2014-12-02  Manuel López-Ibáñez  <manu@gcc.gnu.org>

	* include/line-map.h (linemap_assert_fails): Declare.
	* line-map.c (linemap_position_for_loc_and_offset): Use it.

From-SVN: r218277
2014-12-02 16:03:31 +00:00
Manuel López-Ibáñez
9c320ab1f1 line-map.c (linemap_add): Fix typo.
2014-12-02  Manuel López-Ibáñez  <manu@gcc.gnu.org>

        * line-map.c (linemap_add): Fix typo.
        (linemap_line_start): Fix whitespace.

From-SVN: r218276
2014-12-02 16:00:33 +00:00
Ulrich Weigand
3c610413ca re PR target/64115 (ICE: : in rs6000_delegitimize_address, at config/rs6000/rs6000.c:7051)
PR target/64115
	* config/rs6000/rs6000.c (rs6000_delegitimize_address): Remove
	invalid UNSPEC_TOCREL sanity check under ENABLE_CHECKING.

From-SVN: r218273
2014-12-02 14:27:46 +00:00
H.J. Lu
0f884e6709 Stop only if there aren't any usable algorithms
When searching for an usable algorithm with -minline-all-stringops,
decide_alg stops when it sees libcall even if there is a usable
algorithm.  It goes into an infinite loop.  This patch changes
decide_alg to stop searching only if there aren't any usable algorithms.
Testd on Linux/x86-64.


gcc/

	PR target/64108
	* config/i386/i386.c (decide_alg): Stop only if there aren't
	any usable algorithms.

gcc/testsuite/

	PR target/64108
	* gcc.target/i386/memset-strategy-2.c: New test.

From-SVN: r218272
2014-12-02 06:10:23 -08:00
Tom de Vries
fb98f8869b re PR rtl-optimization/63718 (ARM Thumb1 bootstrap fail after fuse-caller-save info in cprop-hardreg)
2014-12-02  Tom de Vries  <tom@codesourcery.com>

	PR rtl-optimization/63718
	* config/arm/arm.c (arm_option_override): Disable fuse-caller-save for
	Thumb1.

From-SVN: r218271
2014-12-02 13:35:10 +00:00
Jonathan Wakely
e3376050fc status_cxx2011.xml: Update.
* doc/xml/manual/status_cxx2011.xml: Update.
	* doc/xml/manual/status_cxx2014.xml: Update.
	* doc/html/manual/status.html: Regenerate.

From-SVN: r218270
2014-12-02 13:26:18 +00:00
Richard Biener
ac19a30334 match.pd: When combining divisions exclude the degenerate case involving INT_MIN from...
2014-12-02  Richard Biener  <rguenther@suse.de>

	* match.pd: When combining divisions exclude the degenerate
	case involving INT_MIN from overflow handling.

	* gcc.dg/torture/20141202-1.c: New testcase.

From-SVN: r218269
2014-12-02 13:09:13 +00:00
H.J. Lu
88936a2bfd Add a test for PR ipa/63814
PR ipa/63814
	* g++.dg/ipa/pr63814.C: New test.

From-SVN: r218268
2014-12-02 04:47:29 -08:00
Jiong Wang
ffc510234e [AArch64/testsuite] Add missing testcase
Add the missing testcase.
  (forget svn add in previous commit ...)

From-SVN: r218267
2014-12-02 11:57:08 +00:00
Wilco Dijkstra
048f927a75 [PATCH] Improve spillcost of literal pool loads
2014-12-02  Wilco Dijkstra  <wdijkstr@arm.com>

  gcc/
    ira-costs.c (scan_one_insn): Improve spill cost adjustment.

  gcc/testsuite
    gcc.target/aarch64/remat1.c: New testcase.

From-SVN: r218266
2014-12-02 11:55:08 +00:00
Martin Jambor
47f4756ed1 re PR ipa/63814 (g++.dg/ipa/pr61160-1.C fails with -m32 -fPIC)
2014-12-02  Martin Jambor  <mjambor@suse.cz>

	PR ipa/63814
	* ipa-cp.c (same_node_or_its_all_contexts_clone_p): New function.
	(cgraph_edge_brings_value_p): New parameter dest, use
	same_node_or_its_all_contexts_clone_p and check availability.
	(cgraph_edge_brings_value_p): Likewise.
	(get_info_about_necessary_edges): New parameter dest, pass it to
	cgraph_edge_brings_value_p.  Update caller.
	(gather_edges_for_value): Likewise.
	(perhaps_add_new_callers): Use cgraph_edge_brings_value_p to check
	both the destination and availability.

From-SVN: r218265
2014-12-02 11:12:27 +01:00
Uros Bizjak
c271ca677e re PR target/64113 (Gcc on Alpha: Error: No lda !gpdisp!282 was found)
PR target/64113
	* config/alpha/alpha.md (call_value_osf_tlsgd): Do not split insn
	using post-reload splitter.  Use peephole2 pass instead.
	(call_value_osf_tlsldm): Ditto.
	(TLS_CALL): New int iterator.
	(tls): New int attribute.
	(call_value_osf_<tls>): Merge insn pattern from call_value_osf_tlsgd
	and call_value_tlsldm using TLS_CALL int iterator.

From-SVN: r218264
2014-12-02 11:04:14 +01:00
Richard Biener
1c9b044857 genmatch.c: Include hash-set.h.
2014-12-02  Richard Biener  <rguenther@suse.de>
	Prathamesh Kulkarni  <bilbotheelffriend@gmail.com>

	* genmatch.c: Include hash-set.h.
	(fatal_at): Add source_location overload.
	(parser::record_operlist): New method.
	(parser::push_simplify): Likewise.
	(parser::oper_lists_set): New member.
	(parser::oper_lists): Likewise.
	(parser::parse_operation): Record seen operator list references.
	(parser::parse_c_expr): Likewise.
	(parser::parse_simplify): Init oper_lists_set and oper_lists
	and use push_simplify.
	(parser::parser): Init oper_lists_set and oper_lists.

Co-Authored-By: Prathamesh Kulkarni <bilbotheelffriend@gmail.com>

From-SVN: r218261
2014-12-02 09:30:15 +00:00
Richard Biener
280931058a match.pd: Restrict division combining to trunc_div and exact_div.
2014-12-02  Richard Biener  <rguenther@suse.de>

	* match.pd: Restrict division combining to trunc_div and
	exact_div.

From-SVN: r218260
2014-12-02 09:03:44 +00:00
Richard Biener
e1b7f42ec6 re PR fortran/64137 (Fortran FE builds invalid GENERIC)
2014-12-02  Richard Biener  <rguenther@suse.de>

	PR fortran/64137
	* trans-intrinsic.c (gfc_conv_intrinsic_minmaxloc): Check
	proper expressions type, use proper type for computing
	-Huge - 1.

From-SVN: r218259
2014-12-02 08:50:57 +00:00
Jakub Jelinek
9b489f313c sparc.c (sparc_atomic_assign_expand_fenv): Remove NULL last argument from create_tmp_var calls.
* config/sparc/sparc.c (sparc_atomic_assign_expand_fenv):
	Remove NULL last argument from create_tmp_var calls.
	* config/mips/mips.c (mips_atomic_assign_expand_fenv): Likewise.
	* config/arm/arm-builtins.c (arm_atomic_assign_expand_fenv): Likewise.
	* config/i386/i386.c (add_condition_to_bb,
	ix86_atomic_assign_expand_fenv): Likewise.
	* config/mep/mep.c (mep_gimplify_va_arg_expr): Likewise.
	* config/xtensa/xtensa.c (xtensa_gimplify_va_arg_expr): Likewise.
	* config/aarch64/aarch64-builtins.c
	(aarch64_atomic_assign_expand_fenv): Likewise.
	* config/stormy16/stormy16.c (xstormy16_gimplify_va_arg_expr):
	Likewise.
	* config/rs6000/rs6000.c (rs6000_atomic_assign_expand_fenv): Likewise.
	* config/alpha/alpha.c (alpha_atomic_assign_expand_fenv): Likewise.
	* config/sh/sh.c (sh_gimplify_va_arg_expr): Likewise.

From-SVN: r218257
2014-12-02 08:45:36 +01:00
Jakub Jelinek
0d3d81525d alpha.c (alpha_gimple_fold_builtin): Use gimple_build_assign instead of gimple_build_assign_with_ops and swap the...
* config/alpha/alpha.c (alpha_gimple_fold_builtin): Use
	gimple_build_assign instead of gimple_build_assign_with_ops and swap
	the order of first two arguments.
	* config/aarch64/aarch64-builtins.c (aarch64_gimple_fold_builtin):
	Likewise.  Remove last NULL_TREE argument.

From-SVN: r218256
2014-12-02 08:32:54 +01:00
Jonathan Wakely
9db7c9316e Define *_at_thread_exit() functions.
* config/abi/pre/gnu.ver: Add new exports.
	* include/std/condition_variable (notify_all_at_thread_exit): Declare.
	(__at_thread_exit_elt): New base class.
	* include/std/future: Add comments documenting the implementation.
	(__future_base::_State_baseV2::_State_baseV2()): Use brace-or-equal
	initializers and define constructor as defaulted.
	(__future_base::_State_baseV2::_M_ready): Replace member function
	with member variable.
	(__future_base::_State_baseV2::_M_set_result): Set _M_ready.
	(__future_base::_State_baseV2::_M_set_delayed_result): Define.
	(__future_base::_State_baseV2::_M_break_promise): Set _M_ready.
	(__future_base::_State_baseV2::_Make_ready): New helper class.
	(__future_base::_Deferred_state::_M_has_deferred): Remove requirement
	for caller to own mutex.
	(__future_base::_Async_state_impl::~_Async_state_impl): Call join
	directly.
	(__future_base::_Task_state_base::_M_run): Take arguments by
	reference.
	(__future_base::_Task_state_base::_M_run_delayed): Declare new pure
	virtual function.
	(__future_base::_Task_state::_M_run_delayed): Define override.
	(promise::set_value_at_thread_exit): Define.
	(promise::set_exception_at_thread_exit): Define.
	(packaged_task::make_ready_at_thread_exit): Define.
	* src/c++11/condition_variable.cc (notify_all_at_thread_exit): Define.
	* src/c++11/future.cc
	(__future_base::_State_baseV2::_Make_ready::_M_set): Define.
	* testsuite/30_threads/condition_variable/members/3.cc: New.
	* testsuite/30_threads/packaged_task/members/at_thread_exit.cc: New.
	* testsuite/30_threads/promise/members/at_thread_exit.cc: New.

From-SVN: r218255
2014-12-02 01:51:25 +00:00
GCC Administrator
8581fd6499 Daily bump.
From-SVN: r218254
2014-12-02 00:16:25 +00:00
Oleg Endo
70c9ce2d46 re PR rtl-optimization/59278 (combine does not replace matched insn)
testsuite/
	PR rtl-optimization/59278
	* gcc.target/sh/pr59278.c: New.

From-SVN: r218251
2014-12-01 23:53:12 +00:00
Segher Boessenkool
14f2df344a re PR rtl-optimization/59278 (combine does not replace matched insn)
PR rtl-optimization/59278
	combine (reg_dead_at_p): Consider REG_UNUSED notes.

From-SVN: r218250
2014-12-02 00:48:26 +01:00
Segher Boessenkool
dd400a3627 * combine.c (try_combine): Use is_parallel_of_n_reg_sets some more.
From-SVN: r218249
2014-12-01 23:37:34 +01:00
Segher Boessenkool
9d2f8e16f5 combine.c (is_parallel_of_n_reg_sets): New function.
* combine.c (is_parallel_of_n_reg_sets): New function.
	(can_split_parallel_of_n_reg_sets): New function.
	(try_combine): If I2 is a PARALLEL of two SETs, split it into
	two insns if possible.

From-SVN: r218248
2014-12-01 23:36:12 +01:00
Tobias Burnus
797d88589e re PR middle-end/64017 (Support ISL 0.14.0 (to fix ICE with gfortran.dg/graphite/pr42393.f90))
2014-12-01  Tobias Burnus  <burnus@net-b.de>
            Jack Howarth  <howarth@bromo.med.uc.edu>

        PR middle-end/64017
        * configure.ac
        * (ac_has_isl_schedule_constraints_compute_schedule):
        New check.
        * doc/install.texi (ISL): Permit ISL 0.14.
        * graphite-optimize-isl.c (getScheduleForBandList,
        * optimize_isl):
        Conditionally use ISL 0.13+ functions.
        * graphite-interchange.c: Make 'extern "C"' conditional.
        * graphite-isl-ast-to-gimple.c: Ditto.
        * graphite-poly.c: Ditto.
        * graphite-sese-to-poly.c: Ditto.
        * config.in: Regenerate.
        * gcc/configure: Regenerate.


Co-Authored-By: Jack Howarth <howarth@bromo.med.uc.edu>

From-SVN: r218247
2014-12-01 20:07:37 +01:00
David Malcolm
81ba15f105 Improvements to documentation of gcc_jit_context_release
gcc/jit/ChangeLog:
	* docs/examples/tut02-square.c (main): Release the context
	earlier, to show that this is possible.  Update error-handling
	to avoid a double-release of the context, and to avoid
	releasing a NULL result.
	* docs/intro/tutorial02.rst: Discuss gcc_jit_context_release.
	* docs/topics/functions.rst (GCC_JIT_FUNCTION_EXPORTED): Emphasize
	* docs/topics/results.rst (gcc_jit_result): Mention that this
	controls the lifetimes of machine code functions.
	(gcc_jit_result_get_code): Spell out the requirements for this
	to succeed, and the lifetime of the result.
	(gcc_jit_result_release): Mention that this invalidates any code
	that was obtained from the result.
	* docs/_build/texinfo/libgccjit.texi: Regenerate.

From-SVN: r218245
2014-12-01 18:53:44 +00:00
Paolo Carlini
ad1f2178c1 re PR c++/60859 (Value-initialization of scalar in aggregate yields "braces around scalar initializer")
/cp
2014-12-01  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/60859
	* decl.c (reshape_init_r): Do not reject value-initialization of
	scalar array element.

/testsuite
2014-12-01  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/60859
	* g++.dg/cpp0x/initlist88.C: New.

From-SVN: r218244
2014-12-01 18:52:05 +00:00