Why on earth would you use floating point instructionsI didn't go and track down which code was using FPU instructions, but seemingly something was,
in an interrupt handler?
BGB <cr88192@gmail.com> writes:
Why on earth would you use floating point instructionsI didn't go and track down which code was using FPU instructions, but
in an interrupt handler?
seemingly something was,
I believe I noted once before that I had to guide a driver developer for HP/UX away from using floating point for his driver's event counters. His reason for their use? They can count to bigger numbers.
Andy Valencia wrote:
BGB <cr88192@gmail.com> writes:
Why on earth would you use floating point instructionsI didn't go and track down which code was using FPU instructions,
in an interrupt handler?
but seemingly something was,
I believe I noted once before that I had to guide a driver
developer for HP/UX away from using floating point for his driver's
event counters. His reason for their use? They can count to
bigger numbers.
Did you ask him what happened after the counter passed 2^53 and he
added 1.0 to the counter? With RNE that's a NOP...
Using 64-bit counters are far better, even on a 32-bit CPU, even if
you then need thread-safe/atomic code sequences.
Terje
| Sysop: | DaiTengu |
|---|---|
| Location: | Appleton, WI |
| Users: | 1,076 |
| Nodes: | 10 (1 / 9) |
| Uptime: | 64:57:34 |
| Calls: | 13,805 |
| Files: | 186,990 |
| D/L today: |
541 files (173M bytes) |
| Messages: | 2,442,779 |