On 10/28/26 9:34 PM, Bohan Lei wrote:
Hi Jeff,

Have you done any benchmarking beyond the lgamma case?  What about other
codebases?  glibc has the kinds of code you're looking to handle more
sensibly, so it'd be good to build glibc with your patch as well.

So generally supportive, but would like to see more build/benchmarking
data as I've seen this kind of thing go sideways before.
I measured the performance of 117 libm functions on both a Spacemit K3 board
and a XuanTie C920 board.  34/117 and 27/117 improved by over 2% on C920 and K3,
respectively.  No regression over 2% was observed on C920, yet we saw 3
regressions on K3 (as shown in the following table, which shows the execution
time reduction rate; higher is better).  The regressions seem to be related to
scheduling effects that I haven't looked at carefully yet.  Nevertheless, I
guess the overall data is promising.
Yea it generally looks good.  So the question is do we want to go forward now or wait.   Given the K3 is the more common system available to end users, I'd suggest trying to understand the regressions over there.  As you note, they may be scheduling problems and I wouldn't necessarily expect you to go fix scheduling issues with a competitor's chip ;-)  Just understanding is the ask, particularly since I don't have a high degree of confidence in how well we're modeling the K3/X110 design's behavior.

jeff

Reply via email to