https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96744
--- Comment #10 from Hongtao.liu <crazylht at gmail dot com> --- (In reply to Uroš Bizjak from comment #3) > Created attachment 49112 [details] > Retune mask <-> general moves cost > > It looks to me that mask <-> general cost is too low, so the compiler now > prefers these moves too much. Attached patch equalizes mask <-> general cost > with xmm <-> general cost, and it seems to fix the problem. > > Hongjiu, can you please retune the costs, using the attached patch as the > start? I'll spend some time to retune it.