This is the mail archive of the gcc-bugs@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]

[Bug target/70004] [6 Regression] FAIL: gcc.target/aarch64/scalar_shift_1.c scan-assembler-times neg\\td[0-9]+, d[0-9]+ 4


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70004

--- Comment #2 from ktkachov at gcc dot gnu.org ---
The function that changes is:
test_corners_sisd_si (Int32x1 b)
{
  force_simd_si (b);
  b = b >> 31;
  force_simd_si (b);
  b = b >> 0;
  b += b >> 33; /* { dg-warning "right shift count >= width of type" } */

  return b;
}

basically, it moves the value back into the integer registers and performs the
shift there.
This shift right by 33 is undefined anyway, so this testcase is bogus. We
should just remove it.

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