Backport debian's fix-armel patch

Running Ardour on 32 bit ARM without hardware floating point
unit may be considered civil disobedience. But we understand that
it is incumbent on the young to disobey :)
This commit is contained in:
Robin Gareus 2024-02-18 20:47:51 +01:00
parent b230c2eb28
commit 0e6e56d420
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
1 changed files with 3 additions and 0 deletions

View File

@ -926,6 +926,9 @@ ARDOUR::setup_fpu ()
: "=r"(cw)::"memory");
}
#elif defined(__ARMEL__)
/* no FTZ instructions on that platform */
#warning you do not want to compile Arodur on armel.
#elif defined(__arm__)
/* http://infocenter.arm.com/help/topic/com.arm.doc.dui0068b/BCFHFBGA.html
* bit 24: flush-to-zero */