blob: d3fd3f234f2324d71813298210fdcf0660ac45b4 [file] [log] [blame]
/* { dg-do compile } */
/* { dg-options "-O2" } */
/* Check that an X-reg UBFIZ can be simplified into a W-reg LSL. */
long long
f2 (long long x)
{
return (x << 5) & 0xffffffff;
}
/* { dg-final { scan-assembler "lsl\tw" } } */
/* { dg-final { scan-assembler-not "ubfiz\tx" } } */