Use RELAXED ieee754 mode for Loongson-3 as 3A 4000 is 2008-only
authorYunQiang Su <syq@debian.org>
Mon, 16 Nov 2020 01:11:00 +0000 (09:11 +0800)
committerSalvatore Bonaccorso <carnil@debian.org>
Fri, 12 May 2023 04:08:40 +0000 (05:08 +0100)
commitb210c0f4b0eb781785f6321af751219c68c2b33d
tree98c640a509b388058ed89f7fb0d35203b944acc2
parent3a6a164b1db69092580722bfc5bd23d684b741e6
Use RELAXED ieee754 mode for Loongson-3 as 3A 4000 is 2008-only

Forwarded: not-needed

There are 2 mode of value of IEEE NaN hardcoded by CPU.
Currently, our mipsel/mips64el port is in so-called lagacy mode.
Loongson 3A 4000 is set as the so-called 2008 mode.

To make Debian workable on Loongson 3A 4000, we need set the kerenl in
RELAXED mode.

https://web.archive.org/web/20180830093617/https://dmz-portal.mips.com/wiki/MIPS_ABI_-_NaN_Interlinking

Gbp-Pq: Topic debian
Gbp-Pq: Name mips-ieee754-relaxed.patch
arch/mips/kernel/fpu-probe.c