Commit Graph

184 Commits

Author SHA1 Message Date
Minseong Jang
1aa18bce30 Update benchmarks 2025-06-13 15:44:37 +09:00
Minseong Jang
49410f5264 Change initial data range 2025-06-12 13:36:46 +09:00
Minseong Jang
b3ad9fca05 Add benchmarks from riscv-tests 2025-04-25 13:00:42 +09:00
Janggun Lee
b2106faab9 Ignore pycache 2025-04-11 13:20:23 +09:00
Janggun Lee
ad7b1ae67f Fix typo 2025-04-11 13:20:17 +09:00
Janggun Lee
b465dd75f0 Fix examples formatting 2025-04-11 13:20:10 +09:00
Jaewoo Kim
32283f2ed1 Update model solution.
- Stop calculating operands for & operators.
- Evaluate the lhs of compound operators only once.
- Add `side-effect.c` example.
2025-04-07 11:03:18 +00:00
Janggun Lee
7a95032d43 Fix typo 2025-02-27 14:14:04 +09:00
Janggun Lee
9cb88d1fe9 Move install_csmith into a separate script 2025-02-27 14:13:05 +09:00
Janggun Lee
a1655246c9 Cleanup some formatting code, add tips 2025-02-27 12:54:15 +09:00
Janggun Lee
6f18d77861 Remove some deadcode and tqdm 2025-02-26 20:20:54 +09:00
Janggun Lee
0b01588b6d Fix testing code 2025-02-25 16:20:11 +09:00
Janggun Lee
7047e17e10 Fix typo 2025-02-25 00:31:25 +09:00
Janggun Lee
72dadc608d Various quality-of-life improvements (ideas from @33577 )
* Very basic `hello_main.c`
* Big starting hint to `write_c`
* Better error messages on failed test
  * TODO: also improve it for asmgen, but not sure how to do it in a good way
2025-02-25 00:28:55 +09:00
Janggun Lee
fad9d02fea Prepare for Spring 2025. 2025-02-24 17:31:17 +09:00
Janggun Lee
a8e0aa5e69 Nits 2025-02-11 16:11:31 +09:00
Janggun Lee
0758005eac Fix installation of csmith.
Co-authored-by: Mountagha <muntaghaba@gmail.com>
2025-02-11 16:08:28 +09:00
Janggun Lee
00c64a5297 Format and stuff 2025-01-23 19:11:43 +09:00
Janggun Lee
fcb6ca2538 Update 2025-01-06 18:45:28 +09:00
Jeehoon Kang
021f2cd240 Bump 2024-05-08 03:39:32 +00:00
Jeehoon Kang
099672d0b8 Bump 2024-05-08 03:31:34 +00:00
Janggun Lee
c73c81c10e Document private items as well 2023-06-26 15:14:20 +09:00
Jeehoon Kang
921e498d9d Add rustdoc action 2023-06-21 02:52:45 +09:00
jungin.rhee
a02a928bf9 Update examples with new testcase 2023-03-16 20:33:22 +09:00
jungin.rhee
6401efb435 Update script comments 2023-02-28 13:36:58 +09:00
Rhee Jung In
b51e717ec3 Merge pull request #8 from m-spitfire/irviz
Fix: Optimize before visualizing IR
2023-02-28 13:17:06 +09:00
Jeehoon Kang
b299644675 Bump dependencies 2023-02-28 12:00:44 +09:00
Minseong Jang
8df80203b8 Update assertion message 2023-02-13 15:09:31 +09:00
Murad Bashirov
bf39604eff Fix: Optimize before visualizing IR
When you do
```
cargo run -- --simplify-cfg --irviz test.png test.c
```
The `kecc` first tries to visualize the IR, then apply optimizations.
This should not be intended, as right now there's no way to visualize
the IR after optimizations.
2023-01-02 17:15:09 +09:00
Janggun Lee
55ebcad347 Parse integral values, closes #289 2022-12-20 16:31:06 +09:00
Janggun Lee
c5946611a3 Bump Rust and add skeleton code for irgen. 2022-12-19 18:50:22 +09:00
Minseong Jang
6ae0e26197 Bump dependencies 2022-12-02 10:59:11 +09:00
Janggun Lee
2cd4e3a169 add struct example 2022-11-21 18:16:42 +09:00
Janggun Lee
094cbfdd2c Lots of improvements.
* Better script names and grammar fix.
* Bump Rust
* Enforce more lints.
* Improve few struct definitions by removing box.
* Many minor implementation improvements.
2022-11-21 15:27:04 +09:00
Minseong Jang
cb698a5e43 Change test method 2022-10-20 13:17:38 +09:00
Minseong Jang
f39851625a Bump dependencies 2022-10-20 13:04:11 +09:00
Minseong Jang
3f91b321a5 Bump dependencies 2022-10-14 21:17:17 +09:00
Minseong Jang
e7edf89fb3 Bump dependencies 2022-09-12 10:51:55 +09:00
Minseong Jang
6e754a19bb Update ci.yml 2022-09-12 10:46:13 +09:00
Minseong Jang
a23b474161 Update dependencies 2022-08-02 15:23:57 +09:00
Minseong Jang
fb05faa8b0 Update examples 2022-08-02 14:57:36 +09:00
Janggun Lee
88bd64e423 Add fmt to kecc IR and Assembly (#7)
* Add fmt to kecc ir structs

* Add fmt for KECC asm
2022-08-02 10:14:37 +09:00
Minseong Jang
4ff2d109ab Add GDB usage to README 2022-06-06 22:59:26 +09:00
Janggun Lee
5ab0224acc Fix clippy lints (#5) 2022-06-02 21:56:53 +09:00
Minseong Jang
d2f7b9b465 Make opt_utils public 2022-06-02 21:38:24 +09:00
Minseong Jang
531a56c0ea Update bench
Remove KECC binary when `make clean`
2022-06-02 14:45:16 +09:00
Minseong Jang
f7def26ba5 Update bench 2022-06-02 14:33:56 +09:00
Minseong Jang
c9b2725764 Update hw7 submission format 2022-06-02 13:47:56 +09:00
Minseong Jang
d3206a2b68 Update hw7 submission format 2022-06-02 13:26:24 +09:00
Minseong Jang
71b0c820f5 Add tests for O1 2022-05-23 13:34:30 +09:00