Optimising C for T3RAS
After lots of testing i found certain variances that can help in speeding up code. These are a few simple practices. Know your target. If the T3RAS core you’re compiling for contains hardware features like multiplier and barrel shifting, include it when compiling your code using -mattr=barrel,mul . Both instructions take an extra cycle to execute however in most situations using them is more efficient than expanding it to a bunch of simple instructions. Dont use too many variables especially Read more