NHacker Next
  • new
  • past
  • show
  • ask
  • show
  • jobs
  • submit
Floating Point Fun on Cortex-M Processors (danielmangum.com)
Neywiny 8 hours ago [-]
Interesting. I was just thinking about this because of another post on floating point. I'm wondering if I can disable the fpu every so often and turn it on only if code needs it and it raises an exception.
glitchc 1 hours ago [-]
It's unclear why one would ever need to do this. Is it for power savings? What other use-cases would benefit from turning the FPU off between instructions?
russdill 35 minutes ago [-]
There is overhead, and applications that don't use the FPU avoid that overhead. https://www.netbsd.org/docs/kernel/lazyfpu.html
bobmcnamara 2 hours ago [-]
Yes, you could turn it off every context switch.
summa_tech 3 hours ago [-]
Zephyr support lazy FPU context switches. So the downside from enabling FPU sharing is fairly limited.
Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact
Rendered at 05:33:05 GMT+0000 (UTC) with Wasmer Edge.