diff options
author | Dan Gohman <gohman@apple.com> | 2008-08-21 17:55:02 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-08-21 17:55:02 +0000 |
commit | 509e84fa7146175c86dec5ef2167290f294dc89e (patch) | |
tree | 5afc7f75200b8b45f5e7ee1b7847371c1492223b /include/llvm/CodeGen/SelectionDAGNodes.h | |
parent | f93cf79505f07cb97597fbc5955462ad7670ca5c (diff) |
Add libm-oriented ISD opcodes for rounding operations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55130 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/SelectionDAGNodes.h')
-rw-r--r-- | include/llvm/CodeGen/SelectionDAGNodes.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/llvm/CodeGen/SelectionDAGNodes.h b/include/llvm/CodeGen/SelectionDAGNodes.h index 63edd7cef9..afbcce8f2c 100644 --- a/include/llvm/CodeGen/SelectionDAGNodes.h +++ b/include/llvm/CodeGen/SelectionDAGNodes.h @@ -423,10 +423,11 @@ namespace ISD { // conversions, but that is a noop, deleted by getNode(). BIT_CONVERT, - // FNEG, FABS, FSQRT, FSIN, FCOS, FPOWI, FPOW - Perform unary floating point - // negation, absolute value, square root, sine and cosine, powi, and pow - // operations. + // FNEG, FABS, FSQRT, FSIN, FCOS, FPOWI, FPOW, + // FCEIL, FTRUNC, FRINT, FNEARYINT, FFLOOR - Perform various unary floating + // point operations. These are inspired by libm. FNEG, FABS, FSQRT, FSIN, FCOS, FPOWI, FPOW, + FCEIL, FTRUNC, FRINT, FNEARBYINT, FFLOOR, // LOAD and STORE have token chains as their first operand, then the same // operands as an LLVM load/store instruction, then an offset node that |