blob: bfe4beb0c4dd046b26a4b1d432518b55d2ce380f [file] [log] [blame]
/* Test LMBD builtin. */
/* { dg-options "-O1" } */
/* -O1 in the options is significant. Without it zero_extend
operation may not be optimized. */
unsigned int
test_lmbd (unsigned char a, unsigned short b)
{
/* { dg-final { scan-assembler "lmbd\\tr14, r14.w1, r14.b0" } } */
return __lmbd(b, a);
}