Hi,
I did some iwmmxt intrinsic test for mainline gcc with this check-in
r190511 | nickc | 2012-08-19 15:11:35 +0800 (Sun, 19 Aug 2012) | 3 lines
PR target/54306
* config/arm/mmintrin.h: Remove spurious #endif.
and encountered an internal compiler error for this simple case, with option
-march=iwmmxt2 -S
#include<mmintrin.h>
__m64 foo(__m64 r, int i)
{
r = _mm_slli_si64(r, i);
return r;
}
internal compiler error: in find_costs_and_classes, at ira-costs.c:1711
While with -O, compiling could pass.
File a bug?
Tnahks,
Xinyu