On 12/20/24 9:48 AM, Palmer Dabbelt wrote:
On Thu, 19 Dec 2024 15:01:26 PST (-0800), jeffreya...@gmail.com wrote:


On 12/19/24 3:08 PM, Palmer Dabbelt wrote:

I agree lacking B and V makes us very clearly uncompetitive in the space
where these sort of things matter (ie, binary compatible distros and
long term stability type things) -- the gap is just too big to close by
doing clever things in the hardware.  Maybe just B and V isn't enough,
it's hard to tell, but lacking them seems pretty clearly uncompetitive.

I'm not sure B is so scary on the SW side of things, it's been mostly
performance issues we've been fixing.  V is huge, though, and we've
generally found a bunch of V-related functional codegen bugs.  Without
reliable hardware to test against (and do distro builds and such) it
just seems premature to declare that being as stable as the other ports
on the list.
It wouldn't take much to push me into agreeing to B -- it's not scary in
any way.  There's just notable systems out there that don't implement B,
but I wouldn't mind leaving them behind for this change.

V has real performance concerns.  I haven't tested it performance-wise
on the BPI recently, but when I last did the general rule of thumb was
the more vector you did, the worse it performed *especially* for FP.

Yep.  TBH that's actually my biggest worry here: it might be that just V isn't enough, which means we have another few generations of HW before all the V add-on extensions coalesce into something that's widely implemented.  I'm not really sure there, though -- the HW guys can be pretty clever so maybe V gets us close enough to be interesting.
Well, I think Robin and I would argue that V can be made to perform. We see that with our design. But that's because Robin & others have been focused on the performance for months. The gains that have been made have been significant and have brought the design & codegen to a point where it performs largely at expectation. But it's also the case that our design is not generally available....


I don't doubt significant gains could be made that would make V behave better on widely available designs. They don't have the option of uarch adjustments, so the upside is limited by that. But with a good understanding of the uarch and good PMU data significant gains almost certainly could be made.

Point being I do think V is viable and will continue to improve as the feedback loops become better established.

jeff

Reply via email to