On 8/28/23 10:29, Richard Henderson wrote:
We should probably improve tcg_gen_not_vec to try NOR.  This would support loongarch64, and allow the special expansion in PPC and S390X to be removed.

Hmm, no.  The tcg optimizer does better when NOT is supported directly.
There is a whole series of fold_*_to_not patterns.

It's what I get for looking at this for a long time.

Anyway, it would be good for LSX to expand NOT(x) via NOR(x,x).


r~

Reply via email to