From: Luke Kenneth Casson Leighton Date: Mon, 5 Aug 2019 07:05:37 +0000 (+0100) Subject: add fatanpi pseudocode X-Git-Tag: convert-csv-opcode-to-binary~4272 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1891662f28fbf8b82100c9b218cfc93f893971bf;p=libreriscv.git add fatanpi pseudocode --- diff --git a/ztrans_proposal.mdwn b/ztrans_proposal.mdwn index 7d6d56a18..868f3dcdb 100644 --- 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 +