mips: add single-instruction math functions
authorinfo@mobile-stream.com <info@mobile-stream.com>
Wed, 11 Sep 2019 10:05:04 +0000 (13:05 +0300)
committerRich Felker <dalias@aerifal.cx>
Mon, 14 Oct 2019 14:04:47 +0000 (10:04 -0400)
commit1c9d2cba11ef2c9de31a6edb48eb20777be4a4f8
tree8d269e5fc6e757ea291f0c2a6512ca8be493a66d
parentaa2d23e57c9c95f0ffeb80cb035e5a5be52d8ef0
mips: add single-instruction math functions

SQRT.fmt exists on MIPS II+ (float), MIPS III+ (double).

ABS.fmt exists on MIPS I+ but only cores with ABS2008 flag in FCSR
implement the required behaviour.
src/math/mips/fabs.c [new file with mode: 0644]
src/math/mips/fabsf.c [new file with mode: 0644]
src/math/mips/sqrt.c [new file with mode: 0644]
src/math/mips/sqrtf.c [new file with mode: 0644]