From bcca645ce18d920deb1912011b7b1652549f1497 Mon Sep 17 00:00:00 2001 From: Kyrylo Tkachov Date: Fri, 10 Jan 2014 11:42:03 +0000 Subject: [PATCH] arm.c (arm_init_iwmmxt_builtins): Skip non-iwmmxt builtins. 2014-01-10 Kyrylo Tkachov * config/arm/arm.c (arm_init_iwmmxt_builtins): Skip non-iwmmxt builtins. From-SVN: r206518 --- gcc/ChangeLog | 5 +++++ gcc/config/arm/arm.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b22e4000678..a8bdac65a84 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2014-01-10 Kyrylo Tkachov + + * config/arm/arm.c (arm_init_iwmmxt_builtins): Skip + non-iwmmxt builtins. + 2014-01-10 Jan Hubicka PR ipa/58252 diff --git a/gcc/config/arm/arm.c b/gcc/config/arm/arm.c index c8bf7c1ecf3..842d67f7da7 100644 --- a/gcc/config/arm/arm.c +++ b/gcc/config/arm/arm.c @@ -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;