From: Luke Kenneth Casson Leighton Date: Thu, 12 Sep 2019 03:22:25 +0000 (+0100) Subject: add suggestion different modes X-Git-Tag: convert-csv-opcode-to-binary~4092 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7657b0429ef03df67f2c23f13197c7ac8e3a6b68;p=libreriscv.git add suggestion different modes --- diff --git a/zfpacc_proposal.mdwn b/zfpacc_proposal.mdwn index 632ed10e1..d35be598c 100644 --- a/zfpacc_proposal.mdwn +++ b/zfpacc_proposal.mdwn @@ -1,5 +1,12 @@ # FP Accuracy proposal +Credits: + +* Bruce Hoult +* Allen Baum +* Dan Petroski +* Jacob Lifshay + TODO: complete writeup * @@ -91,6 +98,8 @@ The values for the field facc to include the following: | 0b100 | Vulkan | Vulkan compliant | | 0b110 | Appx | Machine Learning +(TODO: review alternative idea: ULP0.5, ULP1, ULP2, ULP4, ULP16) + Notes: * facc=0 to match current RISC-V behaviour, where these bits were formerly reserved and set to zero. @@ -113,6 +122,12 @@ to allow selecting one of several accurate or fast modes: - fully-accurate-mode: correctly rounded in all cases - maybe more modes? +extra mode suggestions: + + it might be reasonable to add a mode saying you're prepared to accept + worse then 0.5 ULP accuracy, perhaps with a few options: 1, 2, 4, + 16 or something like that. + Question: should better accuracy than is requested be permitted? Example: Ahmdahl-370 issues.