Hi,

 I think , the "{lsx_,lasx_x}hv{add,sub}w" in the title should be "{lsx_,lasx_x}vh{add,sub}w".

在 2025/2/7 下午8:09, Xi Ruoyao 写道:
Like what we've done for {lsx_,lasx_x}v{add,sub,mul}l{ev,od}, use
special predicates and TImode RTL instead of hard-coded const vectors
and UNSPECs.
/* snip */
+(define_insn "simd_h<optab>w_<mode>_<su>"
+  [(set (match_operand:<WVEC_HALF> 0 "register_operand" "=f")
+       (addsub:<WVEC_HALF>
+         (vec_select:<WVEC_HALF>
+           (any_extend:<WVEC>

Does the order of any_extend affect the code generation?


Reply via email to