[all-commits] [llvm/llvm-project] 2dcb2d: [AArch64] Cost modelling for fptoi_sat
David Green via All-commits
all-commits at lists.llvm.org
Mon May 2 03:36:24 PDT 2022
Author: David Green <david.green at arm.com>
Date: 2022-05-02 (Mon, 02 May 2022)
[AArch64] Cost modelling for fptoi_sat
This builds on top of the target-independent cost model added in D124269
to add aarch64 specific costs for fptoui_sat and fptosi_sat intrinsics.
For many common types they will be legal instructions as the AArch64
instructions will saturate naturally. For unsupported pairs of integer
and floating point types, an additional min/max clamp is needed.
Differential Revision: https://reviews.llvm.org/D124357
More information about the All-commits