mirror of
git://repo.or.cz/tinycc.git
synced 2026-06-19 19:34:19 +08:00
Replace raw-register AMO asm with proper inline-asm constraints for all three operands (rd, rs2, rs1). Use long long for .d-word AMO variants with pre-set values (xd=0xCAFEBABECAFEBABE, val=0xDEADBEEFDEADBEEF) to avoid uninitialized-data issues. Restore csr_pseudo_main printf output and re-enable amo_main() in the test (was commented out as 'crash on qemu'). Use GEN = $(GEN-TCC) since GCC and TCC produce different fcsr initial values on riscv64. |
||
|---|---|---|
| .. | ||
| pp | ||
| tests2 | ||
| 42test.h | ||
| abitest.c | ||
| arm-asm-testsuite.sh | ||
| asm-c-connect-1.c | ||
| asm-c-connect-2.c | ||
| asmtest.S | ||
| boundtest.c | ||
| bug.c | ||
| gcctestsuite.sh | ||
| libtcc_test_mt.c | ||
| libtcc_test.c | ||
| Makefile | ||
| msvcrt_start.c | ||
| tcctest.c | ||
| tcctest.h | ||
| test-win32.bat | ||
| testfp.c | ||
| vla_test.c | ||