[libre-riscv-dev] [Bug 354] New: idea/optimisation: make FP CMP also do INT CMP

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Wed May 27 01:46:22 BST 2020


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

            Bug ID: 354
           Summary: idea/optimisation: make FP CMP also do INT CMP
           Product: Libre-SOC's first SoC
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: CONFIRMED
          Severity: enhancement
          Priority: ---
         Component: Source Code
          Assignee: lkcl at lkcl.net
          Reporter: lkcl at lkcl.net
                CC: libre-riscv-dev at lists.libre-riscv.org
   NLnet milestone: ---

from mitch alsup on comp.arch:

This all falls out for FREE if you start with FP compare to ZERO and
then figure out how the same logic can be used for integer instead of
the other way around.

I have the logic schematic (3 pages) is you desire to peruse. The overhead
of adding FP to INT compare is around 10% in gate count.

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


More information about the libre-riscv-dev mailing list