SSE4.2 string intrinsics need to generate seto/sets for OF==1 and SF==1, which aren't the standard arithmetic comparison and aren't support by gcc. I was wondering what was the best way to support them.
My current plan is to add a new CC_MODE, CCX86, and reuse UNGT for OF == 1, UNLT for SF == 1 to support pcmp[ei]str[im]/setCC instructions: suffix rtx_code a GTU c LTU o UNGT OF == 1 s UNLT SF == 1 z EQ Will it work? H.J.