1 /* Test LMBD builtin. */
2
3 /* { dg-options "-O1" } */
4
5 /* -O1 in the options is significant. Without it zero_extend
6 operation may not be optimized. */
7
8 unsigned int
9 test_lmbd (unsigned char a, unsigned short b)
10 {
11 /* { dg-final { scan-assembler "lmbd\\tr14, r14.w1, r14.b0" } } */
12 return __lmbd(b, a);
13 }
14