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>
Mon, 8 May 2023 20:16:50 +0000 (21:16 +0100)
commit6ceefe1f370361525c49bd0f62471bc074f68e6c
tree0a14876acc2b02177ac537d62b79d0d8cf4bc817
parent56c3f2d2429c210d9a22f24ceb7d3ffb252b8955
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