From: Luke Kenneth Casson Leighton Date: Thu, 8 Aug 2019 00:59:42 +0000 (+0100) Subject: add links to discussion with mitch X-Git-Tag: convert-csv-opcode-to-binary~4258 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c333f8b47b5937b45a17a8d27756982e1268458c;p=libreriscv.git add links to discussion with mitch --- diff --git a/ztrans_proposal.mdwn b/ztrans_proposal.mdwn index 384f39fd4..04694181f 100644 --- a/ztrans_proposal.mdwn +++ b/ztrans_proposal.mdwn @@ -4,6 +4,7 @@ See: * * +* Discussion: * [[rv_major_opcode_1010011]] for opcode listing. Extension subsets: @@ -22,6 +23,10 @@ Zarctrignpi [[!toc levels=2]] +# TODO: + +* Decision on accuracy + # List of 2-arg opcodes [[!table data=""" @@ -90,3 +95,16 @@ FATANPI example pseudo-code: fmv.x.s ft0, t0 fatan2pi.s rd, rs1, ft0 +Hypotenuse example (obviates need for Zfhyp except for high-performance): + + ASINH( x ) = ln( x + SQRT(x**2+1) + +# To evaluate: should LOG be replaced with LOG1P (and EXP with EXPM1)? + + LOG(x) = LOGP1(x) + 1.0 + EXP(x) = EXPM1(x-1.0) + +RISC principle says "exclude LOG because it's covered by LOGP1 plus an ADD". +Research needed to ensure that implementors are not compromised by such +a decision +