summaryrefslogtreecommitdiff
path: root/libjava/java
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2025-11-16 19:57:35 +0800
committerXi Ruoyao <xry111@xry111.site>2025-11-20 15:24:16 +0800
commit53194a7bb0b60f0f37cdc69f76a339304bb1125b (patch)
tree5439565052752af48f0f41c8b463113e0066a60b /libjava/java
parent6641aaa9ad5d5b3b597935b715b00e526235a852 (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