This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][ARM] Fix arm_init_iwmmxt_builtins to handle only iwmmxt entries
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: Kyrill Tkachov <kyrylo dot tkachov at arm dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Fri, 10 Jan 2014 11:31:35 +0000
- Subject: Re: [PATCH][ARM] Fix arm_init_iwmmxt_builtins to handle only iwmmxt entries
- Authentication-results: sourceware.org; auth=none
- References: <52CEDDA0 dot 5060408 at arm dot com>
On 09/01/14 17:34, Kyrill Tkachov wrote:
> Hi all,
>
> After my CRC32 intrinsics patch that added new entries into the bdesc_2arg
> table, the arm_init_iwmmxt_builtins function tries to iterate over them and
> blows up, causing an ICE when trying to compile with -mcpu=iwmmxt.
>
> This patch fixes that by ignoring the non-iwmmxt entries in that table when
> initialising the iwmmxt builtins.
>
>
> With this patch the gcc.target/arm/mmx-2.c comes back and PASSes.
>
> Tested arm-none-eabi on qemu.
>
> Ok for trunk?
>
> Thanks,
> Kyrill
>
>
> 2014-01-09 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
>
> * config/arm/arm.c (arm_init_iwmmxt_builtins): Skip
> non-iwmmxt builtins.
>
>
OK.
R.