Changes in directory llvm/lib/Target/IA64:
IA64InstrInfo.td updated: 1.31 -> 1.32 --- Log message: we need to emit the getf.d instruction in lowering, so add it to IA64ISD --- Diffs of the changes: (+11 -2) IA64InstrInfo.td | 13 +++++++++++-- 1 files changed, 11 insertions(+), 2 deletions(-) Index: llvm/lib/Target/IA64/IA64InstrInfo.td diff -u llvm/lib/Target/IA64/IA64InstrInfo.td:1.31 llvm/lib/Target/IA64/IA64InstrInfo.td:1.32 --- llvm/lib/Target/IA64/IA64InstrInfo.td:1.31 Wed Dec 21 21:56:03 2005 +++ llvm/lib/Target/IA64/IA64InstrInfo.td Thu Dec 22 00:38:38 2005 @@ -15,6 +15,14 @@ include "IA64InstrFormats.td" +//===----------------------------------------------------------------------===// +// IA-64 specific DAG Nodes. +// + +def IA64getfd : SDNode<"IA64ISD::GETFD", SDTFPToIntOp, []>; + +//===--------- + def u2imm : Operand<i8>; def u6imm : Operand<i8>; def s8imm : Operand<i8> { @@ -614,8 +622,9 @@ def FNORMD : AForm<0x03, 0x0b, (ops FP:$dst, FP:$src), "fnorm.d $dst = $src;;">; -def GETFD : AForm<0x03, 0x0b, (ops GR:$dst, FP:$src), - "getf.d $dst = $src;;">; +def GETFD : AForm_DAG<0x03, 0x0b, (ops GR:$dst, FP:$src), + "getf.d $dst = $src;;", + [(set GR:$dst, (IA64getfd FP:$src))]>; def SETFD : AForm<0x03, 0x0b, (ops FP:$dst, GR:$src), "setf.d $dst = $src;;">; _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits