[PATCH] D116694: [RISCV] Add strictfp support for compares.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 31 00:17:04 PDT 2022


craig.topper added inline comments.


================
Comment at: llvm/test/CodeGen/RISCV/double-fcmp-strict.ll:205
+; RV64I-NEXT:    sd ra, 8(sp) # 8-byte Folded Spill
+; RV64I-NEXT:    call __ledf2 at plt
+; RV64I-NEXT:    slti a0, a0, 1
----------------
Jim wrote:
> I am not sure that does the exception raise in `__ledf2` ? 
> In GCC, it use `__unorddf2` to check either operands is NaN before `__ledf2`.
I'm not seeing `__unorddf2` when I tried testing https://godbolt.org/z/fb7PWaso4


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116694/new/

https://reviews.llvm.org/D116694



More information about the llvm-commits mailing list