> > (I have to admit I'm still wondering what on Earth people are doing with > floating point in note handlers.)
i only ever used them to resume a process/coroutine/whatever. to be fair, it's trickier since "fp" came to include integer vector instructions and block moves On Sat, 15 Mar 2025 at 16:59, Alyssa M via 9fans <9fans@9fans.net> wrote: > Well, I tried this on my partly-implemented Plan 9 emulator. I sandwiched > Ureg+fpreg between argv and the TOS structure. So note handlers get a fixed > Ureg address that happens to have the fpregs after it. noted(2) is altered > to use the fixed address for Ureg. Plan 9 binaries don't have to change, > and libthread shouldn't blow any stacks, whatever Intel does (or indeed ARM > in this case). > The fpnote2 binary I compiled on plan 9 runs on my emulator, as does a > test program that does floating point in a note handler. > (I have to admit I'm still wondering what on Earth people are doing with > floating point in note handlers.) > One of these days I'll try to get set up to tinker with the Plan 9 kernel, > but right now I don't want to risk breaking the installation on my little > Raspberry Pi... > *9fans <https://9fans.topicbox.com/latest>* / 9fans / see discussions > <https://9fans.topicbox.com/groups/9fans> + participants > <https://9fans.topicbox.com/groups/9fans/members> + delivery options > <https://9fans.topicbox.com/groups/9fans/subscription> Permalink > <https://9fans.topicbox.com/groups/9fans/Taf6b900592afc500-Me372a1c0bea9d981f7233b3d> > ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Taf6b900592afc500-M18d6aeb8dd012dd2a2d91c1a Delivery options: https://9fans.topicbox.com/groups/9fans/subscription