tinycc/lib
herman ten brugge 0fb54300b5
Some checks failed
build and test / test-x86_64-linux (push) Has been cancelled
build and test / test-x86_64-osx (push) Has been cancelled
build and test / test-aarch64-osx (push) Has been cancelled
build and test / test-x86_64-win32 (push) Has been cancelled
build and test / test-i386-win32 (push) Has been cancelled
build and test / test-arm64-win32 (push) Has been cancelled
build and test / test-armv7-linux (push) Has been cancelled
build and test / test-aarch64-linux (push) Has been cancelled
build and test / test-riscv64-linux (push) Has been cancelled
build and test / test-i386-linux (push) Has been cancelled
Make bound checking faster.
With this commit bound checking will be about 20% .. 25% faster.
(Tested with running testsuites with bound checking.
 About 1000 files.)
The speedup is made possible because of TLS implementation.
TLS is not possible with -run so create a new bcheck_run.o

Makefile:lib/Makefile:win32/build-tcc.bat
- Compile new bcheck_run.o
tccelf.c:tccpe.c
- Use bcheck_run.o
lib/bcheck.c
- Use TLS code
2026-09-04 18:46:13 +02:00
..
alloca-bt.S Add bound check support for alloca on all targets 2025-11-29 07:54:28 +01:00
alloca.S Add bound check support for alloca on all targets 2025-11-29 07:54:28 +01:00
armeabi.c arm double to (unsigned) long long conversion 2025-08-17 08:49:29 +02:00
armflush.c review some recent changes 2026-07-08 14:01:40 +02:00
atomic.S lib/atomic.S: add GNU libatomic copyright notice 2025-07-19 00:30:12 +02:00
bcheck.c Make bound checking faster. 2026-09-04 18:46:13 +02:00
bt-dll.c arm64-win32 review: fix problems and pass tests 2026-05-04 12:51:10 +02:00
bt-exe.c TLS bits 2026-09-03 17:27:25 +02:00
bt-log.c tccrun: review last changes 2024-02-19 17:45:44 +01:00
builtin.c Allow building lib with gcc/clang 2022-12-17 09:37:37 +01:00
dsohandle.c Define __dso_handle in libtcc1.a 2019-06-22 01:38:43 +02:00
lib-arm64.c arm64-win32 review: fix problems and pass tests 2026-05-04 12:51:10 +02:00
libtcc1.c arm64-win32 review: fix problems and pass tests 2026-05-04 12:51:10 +02:00
Makefile Make bound checking faster. 2026-09-04 18:46:13 +02:00
pic86.S some reverts & fixes 2026-01-10 13:46:23 +01:00
runmain.c Fix win64 noreturn problem 2024-02-28 07:37:09 +01:00
stdatomic.c Use asm implements some atomic functions 2025-06-24 22:40:07 +08:00
tcov.c Add tcov support in Makefile 2023-08-31 11:09:49 +02:00
va_list.c reverts (11/2025 - 04/2026) 2026-05-03 11:09:45 +02:00