Hi,jiahao:
The instruction latencies of the two instructions I tested here are
the same on 3a5000 and 3a6000.
This issue needs to be confirmed again.
在 2024/1/5 下午3:37, Jiahao Xu 写道:
For zero_extendqisi2 and zero_extendqidi2, use andi instead of bstrpick.w,
because andi is 6 times faster th
For zero_extendqisi2 and zero_extendqidi2, use andi instead of bstrpick.w,
because andi is 6 times faster than bstrpick.w.
gcc/ChangeLog:
* config/loongarch/loongarch.md:
(zero_extend2): Rename to ..
(zero_extendhi2): .. this, use hi.
(zero_extendqihi2): Rename to