diff options
Diffstat (limited to 'validation/optim/bits-not-zero.c')
| -rw-r--r-- | validation/optim/bits-not-zero.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/validation/optim/bits-not-zero.c b/validation/optim/bits-not-zero.c index ce74705e..189fe331 100644 --- a/validation/optim/bits-not-zero.c +++ b/validation/optim/bits-not-zero.c @@ -1,5 +1,6 @@ int or_not0(int a) { return a | ~0; } int and_not0(int a) { return a & ~0; } +int xor_not0(int a) { return a ^ ~0; } /* * check-name: bool-not-zero @@ -18,5 +19,12 @@ and_not0: ret.32 %arg1 +xor_not0: +.L4: + <entry-point> + not.32 %r8 <- %arg1 + ret.32 %r8 + + * check-output-end */ |
