-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Performance drop after creating missing NIDs #433
Comments
If you are looking for a performance, I'd suggest really profile the code. Cipher itself has a lot of place to improve BTW, NID allocation may require some locking. |
I re-wrote it with inline assembly so that's 2% of optimized score. |
Performance drop is caused by call of __attribute__((noinline))
static int create_NIDs() {
int i;
asm("");
return 1;
} |
Not sure this will be investigated any further so I close this ticket. |
This improves performance of scalar-optimized code by 1.5 times as well as fixes gost-engine#433.
This improves performance of scalar-optimized code by 1.5 times as well as fixes gost-engine#433.
This improves performance of scalar-optimized code by 1.5 times as well as fixes gost-engine#433.
97b3db1
This exact patch gives 2% performance decrease on my RISC-V processor.
test:
I do not understand how a function that is called once may affect performance that much.
The text was updated successfully, but these errors were encountered: