Check for %otherwin being nonzero earlier in rft_user.
authormiod <miod@openbsd.org>
Fri, 29 Mar 2024 21:25:55 +0000 (21:25 +0000)
committermiod <miod@openbsd.org>
Fri, 29 Mar 2024 21:25:55 +0000 (21:25 +0000)
commitf3fa07fa8bfd4aeac24c06f0314789fb7f029745
treed6cea5610b9a50d512a1a129f20ab4b82d20f4c4
parentc81aae3b379275d2e9887b653f3f28695b4180dd
Check for %otherwin being nonzero earlier in rft_user.

There is one code path using it in %g2 and another using it in %g7.
There is no reason for them to use different registers, and fixing
this allows the check to be performed a bit earlier.

ok claudio@ kettenis@
sys/arch/sparc64/sparc64/locore.s