Yu-En Hsiao
Yu-En Hsiao
Hi, @nosba0957 , I use the following code to test the logical-and operation: ```c /* test.c */ #include int func(int x) { if (x >= 0) { printf("x >= 0\n");...
The improvement is still a work in progress because I have encountered a troublesome problem. After enhancing the `malloc`/`free` routines, the bootstrap process fails with **an unknown-cause segfault** when building...
I tried building shecc on beaglebone black again. Initially, I switched to commit 8f2b234 to build shecc, and the bootstrapping process failed as expected. However, I noticed that when switching...
> Next, I will try to analyze the memory usage of 8f2b234, 1fb9fa5 4be720b and #226 . I used my board to analyze the memory usage during the build of...
test result - #226 (switch to 8adfe48 to build) ``` Command being timed: "out/shecc-stage1.elf -o shecc-stage2.elf src/main.c" User time (seconds): 2.40 System time (seconds): 3.98 Percent of CPU this job...
> [@DrXiao](https://github.com/DrXiao), You can make use of [GitHub Action for Continuous Benchmarking](https://github.com/benchmark-action/github-action-benchmark), so that we can track the elapsed time and memory usage for each commit as [rv32emu does](https://sysprog21.github.io/rv32emu-bench/). I've...
test result - master branch (396a595) ``` Command being timed: "out/shecc-stage1.elf -o shecc-stage2.elf src/main.c" User time (seconds): 2.46 System time (seconds): 4.01 Percent of CPU this job got: 99% Elapsed...
Since the memory usage has been reduced by approximately 45% (from 434808 kbytes to 237332 kbytes) due to the previously merged commits, I think this issue can be closed.
After adding the `-strace` flag, the output shows that `lseek()` reports a "Bad file descriptor" error. ``` $ qemu-arm -strace out/shecc-stage1.elf --no-libc -o test test.c ... 11316 lseek(-9,0,SEEK_CUR) = -1...
> IIUC, compound literals are a feature supported only since C99, and the shecc README mentions from the very beginning that this project aims to support ANSI C. Therefore, IMO,...