summaryrefslogtreecommitdiff
path: root/libjava/java/security/KeyFactory.java
diff options
context:
space:
mode:
authorXi Ruoyao <xry111@xry111.site>2025-11-16 19:38:02 +0800
committerXi Ruoyao <xry111@xry111.site>2025-11-20 15:24:16 +0800
commit6641aaa9ad5d5b3b597935b715b00e526235a852 (patch)
tree33ad9391926c2b0326f08d5fcc7ad796a40a77df /libjava/java/security/KeyFactory.java
parentaf26139fd05ee08ad968958c5248adc1f30e9be6 (diff)
LoongArch: Micro-optimize the blend step for vec_perm<LASX>
Clamp the selector using the actual number of elements 2w instead of the fixed value 0x1f. So we can simply compare the clamped selector and w to generate the mask for blending. gcc/ * config/loongarch/loongarch.cc (loongarch_expand_vec_perm_1): Clamp the selector using the twice of actual number of elements. Compare the clamped selector with the element number to get the blending mask.
Diffstat (limited to 'libjava/java/security/KeyFactory.java')
0 files changed, 0 insertions, 0 deletions