arm.c (arm_init_iwmmxt_builtins): Skip non-iwmmxt builtins.

2014-01-10  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

	* config/arm/arm.c (arm_init_iwmmxt_builtins): Skip
	non-iwmmxt builtins.

From-SVN: r206518
This commit is contained in:
Kyrylo Tkachov 2014-01-10 11:42:03 +00:00 committed by Kyrylo Tkachov
parent 91db35373a
commit bcca645ce1
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2014-01-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
* config/arm/arm.c (arm_init_iwmmxt_builtins): Skip
non-iwmmxt builtins.
2014-01-10 Jan Hubicka <hubicka@ucw.cz>
PR ipa/58252

View File

@ -24244,7 +24244,7 @@ arm_init_iwmmxt_builtins (void)
enum machine_mode mode;
tree type;
if (d->name == 0)
if (d->name == 0 || !(d->mask == FL_IWMMXT || d->mask == FL_IWMMXT2))
continue;
mode = insn_data[d->icode].operand[1].mode;