Hello, It's my first time posting to this list.
A bit ago I started playing with the idea of a multi-threaded compiler, and put together a prototype using libtcc. I ran into the code-gen mutex as a bottleneck. It's based on an older commit, but I was able to refactor all global variables into TCCState and remove the mutexes to get better scaling. I'm not sure if this work would be useful to anyone else, but thought I would share with this list. https://github.com/rsaxvc/tinycc-multithreaded -Richard _______________________________________________ Tinycc-devel mailing list Tinycc-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/tinycc-devel