From a5bb980335f5234f4901ae062e183e5bb72f845f Mon Sep 17 00:00:00 2001 From: lemon Date: Mon, 12 Jun 2023 22:14:45 +0200 Subject: xor reg,reg --- test/test3.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'test') diff --git a/test/test3.c b/test/test3.c index 8bd9020..74f4c00 100644 --- a/test/test3.c +++ b/test/test3.c @@ -12,10 +12,13 @@ int shcl(int a, int b) { return a << (b+1); } +int zero() { return 0; } +float fzero() { return 0.0f; } + struct p { long x,y; }; struct p divsh(int a) { struct p p; - p.x = a << (a / 5); + p.x = a << (a % 5); p.y = a; return p; } -- cgit v1.2.3