New instruction sets can improve performance but it is difficult to distribute your program if most people’s computers cannot run the program. When compiling an executable to distribute, it either has code that uses or doesn’t certain CPU instructions. The only way around it I can think of is compiling multiple libraries for every function that may use a new instruction set, one with the new instruction set and other without. Then you detect which CPU you have and dynamically load the proper library at runtime.
In: 2
Latest Answers