Bug 354 - idea/optimisation: make FP CMP also do INT CMP
Summary: idea/optimisation: make FP CMP also do INT CMP
Alias: None
Product: Libre-SOC's first SoC
Classification: Unclassified
Component: ALU (including IEEE754 16/32/64-bit FPU) (show other bugs)
Version: unspecified
Hardware: PC Linux
: --- enhancement
Assignee: Luke Kenneth Casson Leighton
Depends on:
Reported: 2020-05-27 01:46 BST by Luke Kenneth Casson Leighton
Modified: 2020-05-27 01:46 BST (History)
1 user (show)

See Also:
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:


Note You need to log in before you can comment on or make changes to this bug.
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.