From 5ac04c7a3ec11d939a3773876b6924e1ae39f1a5 Mon Sep 17 00:00:00 2001 From: lemon Date: Sat, 10 Jun 2023 14:22:03 +0200 Subject: isel skeleton --- test/test3.c | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'test/test3.c') diff --git a/test/test3.c b/test/test3.c index 6940d1b..e6599bb 100644 --- a/test/test3.c +++ b/test/test3.c @@ -4,6 +4,20 @@ int test1(int a, int b, int c) { } */ -int t(int *p, int i) { +int t(unsigned short *p, short i) { return p[i]; } + +#if 1 +long test(long x) { + return x + (long)"abc"; +} +#endif + +double ff(double x, double y) +{ + return x + y + .5; +} + +long fma(long x, long y) { +return x + (y <<1) - 2147483648;} -- cgit v1.2.3