http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48498

--- Comment #6 from Ira Rosen <irar at il dot ibm.com> 2011-04-20 09:38:20 UTC 
---
Thanks Rainer.

It is caused by my patch
http://gcc.gnu.org/viewcvs?view=revision&revision=171569 that changed these
tests to work correctly on NEON doubleword vectors. The patch actually fixed
these tests for SPARC as well, because SPARC also uses smaller vector size. The
problem is that these tests are expected to fail on vect_no_align targets, but
actually no realignment mechanism is needed here except for forcing alignment
of arrays or having them aligned. We don't have a keyword for this and I think
it is hard to have such because it's a combination of the target behavior and
the test.

We can try to remove vect_no_align keyword from these tests and check what
happens on other no_align targets
        if { [istarget mipsisa64*-*-*]
             || [istarget sparc*-*-*]
             || [istarget ia64-*-*]
             || [check_effective_target_arm_vect_no_misalign]
             || ([istarget mips*-*-*]
                 && [check_effective_target_mips_loongson]) } {
            set et_vect_no_align_saved 1

I checked it with a cross-compiler on ia64 (which I think is supposed to have a
similar behavior to SPARC here). I think the tests XPASS on ia64 as well at the
moment.

I'll submit a patch with RFT.

Reply via email to