[PATCH] D147998: [RISCV] Support scalable vector strict_fsetcc/fsetccs.

Craig Topper via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 11 10:26:38 PDT 2023


craig.topper added a comment.

We shouldn't need to touch fflags for the quiet comparisons for vector. We can do what the vector spec shows for isgreater. isgreater is the same as quiet ogt.

  # Example of implementing isgreater()
  vmfeq.vv v0, va, va
  vmfeq.vv v1, vb, vb
  vmand.mm v0, v0, v1
  vmfgt.vv v0, va, vb, v0.t  #  so only set flags on ordered values.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D147998



More information about the llvm-commits mailing list