From 1891662f28fbf8b82100c9b218cfc93f893971bf Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 5 Aug 2019 08:05:37 +0100 Subject: [PATCH] add fatanpi pseudocode --- ztrans_proposal.mdwn | 6 ++++++ 1 file changed, 6 insertions(+) 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 + -- 2.30.2