mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Add FSQRT, FSIN, FCOS nodes, patch contributed by Morten Ofstad
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21605 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5624c75f9f
commit
7f64464ff1
@ -168,9 +168,9 @@ namespace ISD {
|
||||
// FP_EXTEND - Extend a smaller FP type into a larger FP type.
|
||||
FP_EXTEND,
|
||||
|
||||
// FNEG, FABS - Perform unary floating point negation and absolute value
|
||||
// operations.
|
||||
FNEG, FABS,
|
||||
// FNEG, FABS, FSQRT, FSIN, FCOS - Perform unary floating point negation,
|
||||
// absolute value, square root, sine and cosine operations.
|
||||
FNEG, FABS, FSQRT, FSIN, FCOS,
|
||||
|
||||
// Other operators. LOAD and STORE have token chains as their first
|
||||
// operand, then the same operands as an LLVM load/store instruction.
|
||||
|
@ -1568,6 +1568,9 @@ const char *SDNode::getOperationName() const {
|
||||
// Unary operators
|
||||
case ISD::FABS: return "fabs";
|
||||
case ISD::FNEG: return "fneg";
|
||||
case ISD::FSQRT: return "fsqrt";
|
||||
case ISD::FSIN: return "fsin";
|
||||
case ISD::FCOS: return "fcos";
|
||||
|
||||
// Binary operators
|
||||
case ISD::ADD: return "add";
|
||||
|
Loading…
Reference in New Issue
Block a user