Bug 354

Summary: idea/optimisation: make FP CMP also do INT CMP
Product: Libre-SOC's first SoC Reporter: Luke Kenneth Casson Leighton <lkcl>
Component: ALU (including IEEE754 16/32/64-bit FPU)Assignee: Luke Kenneth Casson Leighton <lkcl>
Status: CONFIRMED ---    
Severity: enhancement CC: libre-soc-bugs
Priority: ---    
Version: unspecified   
Hardware: PC   
OS: Linux   
NLnet milestone: --- total budget (EUR) for completion of task and all subtasks: 0
budget (EUR) for this task, excluding subtasks' budget: 0 parent task for budget allocation:
child tasks for budget allocation: The table of payments (in EUR) for this task; TOML format:

Description Luke Kenneth Casson Leighton 2020-05-27 01:46:22 BST
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.