summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AArch64/round-conv.ll
Commit message (Collapse)AuthorAgeFilesLines
* Don't raise inexact when lowering ceil, floor, round, trunc.Stephen Canon2015-09-221-228/+97
| | | | | | | | The C standard has historically not specified whether or not these functions should raise the inexact flag. Traditionally on Darwin, these functions *did* raise inexact, and the llvm lowerings followed that conventions. n1778 (C bindings for IEEE-754 (2008)) clarifies that these functions should not set inexact. This patch brings the lowerings for arm64 and x86 in line with the newly specified behavior. This also lets us fold some logic into TD patterns, which is nice. Differential Revision: http://reviews.llvm.org/D12969 llvm-svn: 248266
* [AArch64] Match float round and convert to int instructions.Geoff Berry2015-07-281-0/+461
Summary: Add patterns for doing floating point round with various rounding modes followed by conversion to int as a single FCVT* instruction. Reviewers: t.p.northover, jmolloy Subscribers: aemerson, rengolin, mcrosier, llvm-commits Differential Revision: http://reviews.llvm.org/D11424 llvm-svn: 243422
OpenPOWER on IntegriCloud