https://gcc.gnu.org/bugzilla/show_bug.cgi?id=115693
Hongtao Liu <liuhongt at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |liuhongt at gcc dot gnu.org --- Comment #6 from Hongtao Liu <liuhongt at gcc dot gnu.org> --- > > > > So it makes more sense to fix this in the optimization passes, instead of > > ad-hoc hack in libstdc++. > > > > But I'm not sure if there already exists a dup. > > Let's keep this bug for the above testcase(s). For test() the issue is > that even with SSE4.1 we don't seem to support ptest for V8QImode? With SSE4.1 and above, We can support cbranchv8qi(and other 32/64-bit vector) with pmovzxv8qiv8hi + cbranchv8hi.