[clang] [llvm] [LoongArch] [CodeGen] Add options for Clang to generate LoongArch-specific frecipe & frsqrte instructions (PR #109917)
Lu Weining via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 11 00:49:24 PDT 2024
================
@@ -141,6 +141,22 @@ enum NodeType : unsigned {
VALL_NONZERO,
VANY_NONZERO,
+ // Floating point approximate reciprocal operation
+ FRECIPE_S,
----------------
SixWeining wrote:
They are not the same. The iocsrrd_* instructions have same operand type `GPR` but frecipe_* instructions have different types: FPR32/FPR64/v8f32/...
Is it right? @wangleiat
https://github.com/llvm/llvm-project/pull/109917
More information about the llvm-commits
mailing list