1 2 3 4 5 6 7 8 9 10
/* The and is performed in DI mode so there is no need for truncation. */ /* { dg-options "-O -mgp64" } */ /* { dg-final { scan-assembler-not "\tsll\t" } } */ NOMIPS16 unsigned long long f (unsigned long long s) { unsigned u = s & 0xfff; return u; }