Displaying 1 result from an estimated 1 matches for "qcf".
Did you mean:
qca
2019 Aug 08
2
回复: [RFC] Improve iteration of estimating divisions
Hal,
Yes, speed is an important factor of making dicision. Here I just put the numerator into estimation, so it won't add any more instructions. A simple benchmark below keeps the same running time between the demo and current master:
```
float fdiv(unsigned int a, unsigned int b) {
return (float)a / (float)b;
}
float m;
__attribute__((noinline)) void foo() {
m = 0.0;
}
int main() {