diff options
| author | Xi Ruoyao <xry111@xry111.site> | 2025-11-16 19:57:35 +0800 |
|---|---|---|
| committer | Xi Ruoyao <xry111@xry111.site> | 2025-11-20 15:24:16 +0800 |
| commit | 53194a7bb0b60f0f37cdc69f76a339304bb1125b (patch) | |
| tree | 5439565052752af48f0f41c8b463113e0066a60b /libjava/java | |
| parent | 6641aaa9ad5d5b3b597935b715b00e526235a852 (diff) | |
LoongArch: NFC: Simplify logic of vec_perm{v32qi,v16hi}
De-duplicate the login by introducing gen_lasx_xvpermi_d (mode, ...)
with "@". Also remove the merge_two label: we should really not (ab)use
goto when avoiding it is trivial.
Link: https://dl.acm.org/doi/10.5555/1241515.1241518
gcc/
* config/loongarch/lasx.md (lasx_xvpermi_d): Add "@".
* config/loongarch/loongarch.cc (loongarch_expand_vec_perm_1):
Use gen_lasx_xvpermi_d instead of
gen_lasx_xvpermi_d_{v32qi,v16hi} to deduplicate the logic. Do
structrual programming instead of goto and label.
Diffstat (limited to 'libjava/java')
0 files changed, 0 insertions, 0 deletions
