[PATCH] D70253: [AArch64][SVE2] Implement remaining SVE2 floating-point intrinsics

Allen zhong via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 7 20:14:07 PST 2022


Allen added inline comments.
Herald added a project: All.


================
Comment at: llvm/test/CodeGen/AArch64/sve2-intrinsics-fp-int-binary-logarithm.ll:31
+; CHECK-NEXT: ret
+  %out = call <vscale x 2 x i64> @llvm.aarch64.sve.flogb.nxv2f64(<vscale x 2 x i64> %a,
+                                                                 <vscale x 2 x i1> %pg,
----------------
hi,  kmclaughlin: 
  Sorry for the naive question:
  flogb is an unary instruction showed in assemble . Why shall we need %a as an **input** operand in the instrinsic? can it be similar with
```
%a = call <vscale x 2 x i64> @llvm.aarch64.sve.flogb.nxv2f64(<vscale x 2 x i1> %pg,<vscale x 2 x double> %b)
```


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D70253



More information about the cfe-commits mailing list