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>
Thu, 22 May 2025 18:32:07 +0000 (20:32 +0200)
commitb0d6a07e805b872f38a9589a13705bd792877a45
treed6c61f723599552112bbb1f2cf46f6c935197fab
parent2659a32c6c4b21cbe6318c7db581348598f8bb40
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