nisse@lysator.liu.se (Niels Möller) writes:
I think I'm going to add an environment variable to override the cpu detection, so different variants can be checked easily at runtime.
Say we add a secure_getenv("NETTLE_FAT_OVERRIDE") in the fat initialization. What should it look like? Some alternatives:
1. Specify substitute values to replace result of the cpuid calls?
2. A list of feature keywords?
3. A list of function:variant, where each entry specifies an override for the particular function?
Regards, /Niels