[Libre-soc-isa] [Bug 1057] split out all int/fp min/max ops into their own RFC ls013

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Wed Apr 19 20:24:03 BST 2023


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

--- Comment #12 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #11)
> (In reply to Jacob Lifshay from comment #10)
> 
> > x86 has fp/int simd min/max but only has fp scalar min/max.
> 
> i meant has VSX *elements* got minw. answer is no. section 6.9.2
> p379 Public v3.1.  i am tempted
> to suggest that programmers may use extsw and then the full
> 64-bit min/max.
> 
> adding functionality that no other ISA has is risky, it means we have
> no historic or technical justification.

I just pointed out arm has 32/64-bit scalar min/max, if it's that much of an
issue we could declare min[u]w/max[u]w unvectorizable but imho that's a
terrible idea, we should have both scalar (what I think is the main
justification) and svp64 vector min[u]w/max[u]w (just to be orthogonal).

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


More information about the Libre-SOC-ISA mailing list