https://gcc.gnu.org/bugzilla/show_bug.cgi?id=113034

--- Comment #3 from Xi Ruoyao <xry111 at gcc dot gnu.org> ---
(define_code_iterator vfcond [unordered ordered eq ne le lt uneq unle unlt])

(define_code_attr fcc
  [(unordered "cun")
   (ordered   "cor")
   (eq        "ceq")
   (ne        "cne")
   (uneq      "cueq")
   (unle      "cule")
   (unlt      "cult")
   (le        "cle")
   (lt        "clt")])

This just looks wrong: not only "cne" should be "cune", but also "clt"/"cle"
should be "slt"/"sle" instead (per C23 Annex F).  It seems we should use the
same thing as fcond in loongarch.md.

Reply via email to