diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-03-12 11:08:03 +0000 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-03-12 11:08:03 +0000 |
commit | fd25256a37696de23d8f6c99827a97b63733845d (patch) | |
tree | dbfc5f680dcdf78ac62f0d7f1d6bb09271e8a6b2 /c_compiler/test/in/Mult.c | |
parent | de1f50c2bfa7dfc3b758a0cb89c856534c4ab3a1 (diff) | |
download | Compiler-fd25256a37696de23d8f6c99827a97b63733845d.tar.gz Compiler-fd25256a37696de23d8f6c99827a97b63733845d.zip |
Have to improve reg allocation
Diffstat (limited to 'c_compiler/test/in/Mult.c')
-rw-r--r-- | c_compiler/test/in/Mult.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/c_compiler/test/in/Mult.c b/c_compiler/test/in/Mult.c new file mode 100644 index 0000000..4855b54 --- /dev/null +++ b/c_compiler/test/in/Mult.c @@ -0,0 +1,9 @@ +int main() { + int x = 4*2; + int y = 7; + int z = 14 % 8; + + z = x * y * z / z * x; + + return z; +} |