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

--- Comment #3 from Janis Johnson <janis at gcc dot gnu.org> 2011-05-31 
22:43:42 UTC ---
Usually the vect tests only require effective targets like vect_int if they are
checking that particular optimizations took place.  There are no such checks in
this test.

The vector tests use neon options if check_effective_target_arm_neon_hw (from
lib/target-supports.exp) returns true.  The test the proc executes is:

        int
        main (void)
        {
          long long a = 0, b = 1;
          asm ("vorr %P0, %P1, %P2"
               : "=w" (a)
               : "0" (a), "w" (b));
          return (a != 1);
        }

compiled with neon options. That test apparently passes, but there's a neon
instruction generated for the test that fails.  Should the test used for
arm_neon_hw be different?

Reply via email to