just for reference the work-in-progress implementation for this on 9front amd64 
kernel:

https://felloff.net/usr/cinap_lenrek/pc64fpnote.patch

needs some work around the devproc access to the fpsave structs
and maybe find an alternative to the #ifdef code... but otherwise
the handler part was easy to implement.

and the fpnote.c testsuite (thanks for that btw :-)) output from my ryzen:

cpu% ./6.out
# nop
# float1
# noteonly
floatnote mynote
# beforenote
floatnote mynote
# afternote
floatnote mynote
# beforeafter
floatnote mynote
# simul
start counting
5e+13
PASS
postnote
cpu% postnote done

--
cinap

------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Taf6b900592afc500-M3e58a7cb7e234baa24a5de28
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to