From: lkcl Date: Wed, 11 Sep 2019 13:24:21 +0000 (+0100) Subject: (no commit message) X-Git-Tag: convert-csv-opcode-to-binary~4110 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a9b1cf63f84cb91176231a680c2cecaabea6cea7;p=libreriscv.git --- diff --git a/zfpacc_proposal.mdwn b/zfpacc_proposal.mdwn index 114963d0d..916a3fcf4 100644 --- a/zfpacc_proposal.mdwn +++ b/zfpacc_proposal.mdwn @@ -69,7 +69,16 @@ TODO: reduced accuracy sequences), while allowing portable code to execute discovery sequences to detect support for alternative accuracy modes. -# Dynamic accuracy CSR +# Dynamic accuracy CSR + +| 31....11 | 10..8 | 7..5 | 4....0 | +| reserved | facc | frm | fflags | + +| facc | mode | description | +| 0b000 | IEEE754 | correctly rounded | +| 0b010 | ULP<1 | Unit Last Place < 1 | +| 0b100 | Vulkan | Vulkan compliant | +| 0b110 | Appx | Machine Learning | maybe a solution would be to add an extra field to the fp control csr to allow selecting one of several accurate or fast modes: