[Libre-soc-isa] [Bug 650] write rfc for OpenPower fpr <-> gpr moves/conversions

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Thu Jun 10 00:12:27 BST 2021


https://bugs.libre-soc.org/show_bug.cgi?id=650

--- Comment #31 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #30)
> javascript rounding, being based on FP modulo, has me concerned it's CISC.
> any thoughts anyone?

In hardware, it's just a barrel shifter and an optional negation. This is
because the modulus is a power of 2.

Also, being CISC is not usually a good reason to not have any specific
operation, if it makes it run waay faster for a common use-case, we'd be stupid
to not include it.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Libre-SOC-ISA mailing list