3 ms·
What I meant is if your primary concert is identical results it should be using the same target, with no runtime changing based on instructions on one processor
by Dylan16807 14y ago
What I meant is if your primary concert is identical results it should be using the same target, with no runtime changing based on instructions on one processor or another.
Anyway, K5 was almost two decades ago. If you use recent processors, or even better avoid x87 instructions entirely, are you still going to have different float results?
- Someone 14y agoHow do you check that your code never switches paths depending on CPU architecture? How do you guarantee that for the (third party) libraries you use, including your C library? Also, I think modern x86 has a "approximate 1/x" instruction that is there to be as fast as possible and, because of that, allows for differences in results. I don't know whether that is true, or whether different implementations actually exist, though.
- DannyBee 14y agoYou are thinking of the RCPSS instruction.
- Dylan16807 14y agoIn the end though that sounds like you can't be entirely sure that chips in different generations are consistent, so it's not really a manufacturer difference problem.