Skip to content

rva22u64_v regression on 525.x264_r #124499

Closed
Closed
@lukel97

Description

@lukel97

Between 6e498bc and c7579bf, the SPEC CPU 2017 benchmark 525.x264_r has regressed about ~9% on the spacemit-x60, built with -march=rva22u64_v -O3 -flto: https://lnt.lukelau.me/db_default/v4/nts/graph?highlight_run=133&plot.0=25.13.3

It looks like this is made up of several independent regressions over the last few days since the 23rd of January, the first one being a 6% regression between 6e498bc and 26fc07d.

The cause of the regression is mostly due to the function pixel_hadamard_ac being unprofitably SLP vectorized in a lot more places, which can be viewed in the profile here: https://lnt.lukelau.me/db_default/v4/nts/profile/13/133/130

Noticeably there are now 8 new LMUL 4 vrgatherei16.vvs which are very expensive.

There were a few SLP related changes landed during this period which may be relevant, #123896 #124254 #124129.

Are we missing something from the RISC-V cost-model? cc) @alexey-bataev @RKSimon @HanKuanChen

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions