Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 28 Sep 2015 13:09:02 +0200
From: Szabolcs Nagy <nsz@...t70.net>
To: musl@...ts.openwall.com
Subject: Re: [PATCH] mips/fenv: fix fesetround by setting rounding mode

* Anand Takale <Anand.Takale@...tec.com> [2015-09-28 10:38:36 +0000]:
> mips fesetround does not write back the rounding mode to FCSR
> 

looks ok
thanks

> 
> 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

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.