https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91861
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 Summary|invalid vectorization of |invalid vectorization of |isless, islessequal, etc. |isless, islessequal, etc. | |(with default of | |-ftrapping-math) Last reconfirmed| |2024-03-14 Status|UNCONFIRMED |NEW --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Confirmed. (insn:TI 11 21 18 2 (set (reg:V4SF 20 xmm0 [108]) (unge:V4SF (reg:V4SF 20 xmm0 [orig:106 MEM <vector(4) float> [(float *)&x] ] [106]) (mem/c:V4SF (symbol_ref:DI ("y") [flags 0x2] <var_decl 0x7f1d203efd80 y>) [1 MEM <vector(4) float> [(float *)&y]+0 S16 A128]))) 2796 {sse_maskcmpv4sf3} (nil)) It should have been NLT_UQ (0x15) rather than NLT_US (NLT) (0x5) But NLT_UQ does not exist for non-VEX encoded . From https://www.intel.com/content/dam/develop/external/us/en/documents/319433-024-697869.pdf