This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH][ARM] Fix arm_init_iwmmxt_builtins to handle only iwmmxt entries


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]