Use stricter constraints in the assembly statements in fpset{mask,round,sticky}
authormiod <miod@openbsd.org>
Fri, 27 Jan 2023 11:25:16 +0000 (11:25 +0000)
committermiod <miod@openbsd.org>
Fri, 27 Jan 2023 11:25:16 +0000 (11:25 +0000)
commite4e9d57ba097cabb7ff86297789439b71d446208
tree4197e5cd3a5f69631ac85fa3d16a28171558486e
parent416f6443c32059b6a72a8e533d875fd66c49b092
Use stricter constraints in the assembly statements in fpset{mask,round,sticky}
and make them behave as intended again.
The existing constraints are too weak; this used to work in older days, but
got broken when the system compiler was updated to gcc 4 (or maybe even gcc 3).
lib/libc/arch/hppa/gen/fpsetmask.c
lib/libc/arch/hppa/gen/fpsetround.c
lib/libc/arch/hppa/gen/fpsetsticky.c