The performance of a murder case caused by an instruction optimization is crazy by 50%. Lang becomes stupid after using the - ffast math option
https://www.cnblogs.com/bbqzsl/p/15510377.html
Recently, during optimization, some functions were bench tested on different compilation platforms . Found a lot of problems.
Now let's share one of the questions.
1 typedef float MAFloat;
2
3 MAFloat sma(const MAFloat* seq, const int cnt, const int N, const int M)
4 {
5 const MAFloat C ...
Posted by LordPsyan on Thu, 04 Nov 2021 06:24:53 -0700