[libre-riscv-dev] fp special functions

Luke Kenneth Casson Leighton lkcl at lkcl.net
Mon Aug 5 07:27:54 BST 2019


On Monday, August 5, 2019, Jacob Lifshay <programmerjake at gmail.com> wrote:

> On Sun, Aug 4, 2019, 22:41 Luke Kenneth Casson Leighton <lkcl at lkcl.net>
> wrote:
>
> > https://libre-riscv.org/rv_major_opcode_1010011/#transcendentals_1op
> >
> > wow, that filled up *real* fast.  i'd missed atan, in a 2nd reading of
> > bug #127 - got it now.
> >
> note that atan(x) and atanpi(x) are just atan2(x, 1.0) and atan2pi(x, 1.0),
> so the atan and atanpi instructions are not needed


Ok great, will move them to pseudo op aliases.

L.



-- 
---
crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68


More information about the libre-riscv-dev mailing list