[PATCH] D131967: [RISCV] Correct costs for vector ceil/floor/trunc/round

LiqinWeng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 17 02:21:35 PDT 2022


Miss_Grape added inline comments.


================
Comment at: llvm/lib/Target/RISCV/RISCVTargetTransformInfo.cpp:262
+   {Intrinsic::floor, MVT::v16f32, 16},
+   {Intrinsic::floor, MVT::nxv2f32, 15},
+   {Intrinsic::floor, MVT::nxv4f32, 16},
----------------
Add v8f16 for floor
```
Intrinsic::floor, MVT::v8f16, 14
```



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

https://reviews.llvm.org/D131967



More information about the llvm-commits mailing list