projects
/
libreriscv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b0e171
)
add fatanpi pseudocode
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Mon, 5 Aug 2019 07:05:37 +0000
(08:05 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Mon, 5 Aug 2019 07:05:37 +0000
(08:05 +0100)
ztrans_proposal.mdwn
patch
|
blob
|
history
diff --git
a/ztrans_proposal.mdwn
b/ztrans_proposal.mdwn
index 7d6d56a1862b41a391e217676ffccc42ccbdc110..868f3dcdb1b54ae45cdb8387a7b76102d2499ecf 100644
(file)
--- a/
ztrans_proposal.mdwn
+++ b/
ztrans_proposal.mdwn
@@
-59,3
+59,9
@@
FATANH | inverse hyperbolic tan | | ZtransExt |
* FSINCOS - fused macro-op between FSIN and FCOS (issued in that order).
* FSINCOSPI - fused macro-op between FSINPI and FCOSPI (issued in that order).
+FATANPI example pseudo-code:
+
+ lui t0, 0x3F800 // upper bits of f32 1.0
+ fmv.x.s ft0, t0
+ fatan2pi.s rd, rs1, ft0
+