~/talk

Shared FPU Support in Zephyr for ARM64 and RISC-V

links:none on file
slides:none on file

Zephyr implements lazy FPU context switching for ARM64 and RISC‑V to avoid saving 512‑byte FPU state on every switch, using a global owner tag and per‑thread FPU save areas; ARM64 gains a trap‑handler instruction emulation for STR Q to avoid gratuitous traps from variadic printf, RISC‑V requires illegal‑instruction decoding to recognize FP ops, and SMP uses IPIs plus a spinlock wait hook to pull remote FPU state. Several corner‑case instruction sets were missing and are now fixed; the implementation runs and reduced unnecessary FPU saves.

AI-written summary · about

  1. 0:00Introduction and background
  2. 1:06Zephyr and FPU context switching
  3. 8:41Hardware FPUs and register files
  4. 9:30Zephyr’s floating point support
  5. 11:57Lazy FPU context switching
  6. 16:20Optimizing FPU access
  7. 18:05FPU usage in exceptions
  8. 22:04ARM64 variadic arguments surprise
  9. 25:47RISC-V FPU trap handling
  10. 29:04SMP and IPI for FPU context
  11. 30:13Spinlock and FPU contention
  12. 31:40Source code and Q&A intro
  13. 32:21Discussion and final Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.