diff options
| author | 2023-06-12 12:07:17 +0200 | |
|---|---|---|
| committer | 2023-06-12 12:10:47 +0200 | |
| commit | 984b74da895d7155f68434be9cc9b6d49a77abec (patch) | |
| tree | f8748466b274abd172a1491a6b45cb8dcbfe7d32 /test/test3.c | |
| parent | 1139df03b0edbf08deb9aa26ade3776be3c1e180 (diff) | |
register renaming and such
Diffstat (limited to 'test/test3.c')
| -rw-r--r-- | test/test3.c | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/test/test3.c b/test/test3.c index 35e5e8b..bf53396 100644 --- a/test/test3.c +++ b/test/test3.c @@ -8,11 +8,22 @@ int t(unsigned short *p, short i) { return p[i]; } -#if 1 +int shcl(int a, int b) { + return a << (b+1); +} + +struct p { long x,y; }; +struct p divsh(int a) { + struct p p; + p.x = a << (a / 5); + p.y = a; + return p; +} + +#if 0 long test(long x) { return x + (long)"abc"; } -#endif double ff(double x, double y) { @@ -26,3 +37,4 @@ void testss() { long fma(long x, long y) { return x + (y <<1) - 2147483648;} +#endif |