|
Message-ID: <20151001051306.GH8645@brightrain.aerifal.cx> Date: Thu, 1 Oct 2015 01:13:06 -0400 From: Rich Felker <dalias@...c.org> To: musl@...ts.openwall.com Subject: Re: [PATCH] mips/fenv: fix fesetround by setting rounding mode On Mon, Sep 28, 2015 at 10:38:36AM +0000, Anand Takale wrote: > mips fesetround does not write back the rounding mode to FCSR > > > diff --git a/src/fenv/mips/fenv.s b/src/fenv/mips/fenv.s > index 9b45ffc..f60b0e7 100644 > --- a/src/fenv/mips/fenv.s > +++ b/src/fenv/mips/fenv.s > @@ -43,6 +43,7 @@ __fesetround: > li $6, -4 > and $5, $5, $6 > or $5, $5, $4 > + ctc1 $5, $31 > jr $ra > li $2, 0 Thanks! Applied. Rich
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.