[PATCH] D74729: [FPEnv] Intrinsic for setting rounding mode

Matt Arsenault via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 27 11:49:25 PDT 2020


arsenm added a comment.

In D74729#2005867 <https://reviews.llvm.org/D74729#2005867>, @kpn wrote:

> In D74729#2005862 <https://reviews.llvm.org/D74729#2005862>, @arsenm wrote:
>
> > In D74729#2005777 <https://reviews.llvm.org/D74729#2005777>, @kpn wrote:
> >
> > > Are there GPUs or AI cores _targeted by llvm_ that support changing the rounding mode at run-time?
> >
> >
> > AMDGPU can
>
>
> Is the fpsetround() function available on AMDGPU? Put another way, is this intrinsic needed on AMDGPU?


We have no ISA libcalls of any kind, everything is through instructions (with different handling per-subtarget depending on what you're setting)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D74729





More information about the llvm-commits mailing list