diff options
Diffstat (limited to 'validation/optim/lsr-and0.c')
| -rw-r--r-- | validation/optim/lsr-and0.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/validation/optim/lsr-and0.c b/validation/optim/lsr-and0.c new file mode 100644 index 00000000..292c0332 --- /dev/null +++ b/validation/optim/lsr-and0.c @@ -0,0 +1,14 @@ +unsigned lsr_and0(unsigned x) +{ + unsigned t = (x & 0x00000fff); + return (t >> 12) & t; +} + +/* + * check-name: lsr-and0 + * check-command: test-linearize -Wno-decl $file + * check-known-to-fail + * + * check-output-ignore + * check-output-contains: ret\\..*\\$0$ + */ |
