[llvm-commits] [llvm] r76022 - /llvm/trunk/lib/Target/SystemZ/SystemZInstrFP.td
Anton Korobeynikov
asl at math.spbu.ru
Thu Jul 16 07:21:13 PDT 2009
Author: asl
Date: Thu Jul 16 09:21:12 2009
New Revision: 76022
URL: http://llvm.org/viewvc/llvm-project?rev=76022&view=rev
Log:
Add fneg
Modified:
llvm/trunk/lib/Target/SystemZ/SystemZInstrFP.td
Modified: llvm/trunk/lib/Target/SystemZ/SystemZInstrFP.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/SystemZ/SystemZInstrFP.td?rev=76022&r1=76021&r2=76022&view=diff
==============================================================================
--- llvm/trunk/lib/Target/SystemZ/SystemZInstrFP.td (original)
+++ llvm/trunk/lib/Target/SystemZ/SystemZInstrFP.td Thu Jul 16 09:21:12 2009
@@ -57,7 +57,15 @@
//===----------------------------------------------------------------------===//
// Arithmetic Instructions
+
+
let isTwoAddress = 1 in {
+def FNEG32rr : Pseudo<(outs FP32:$dst), (ins FP32:$src),
+ "lcebr\t{$dst}",
+ [(set FP32:$dst, (fneg FP32:$src))]>;
+def FNEG64rr : Pseudo<(outs FP64:$dst), (ins FP64:$src),
+ "lcdbr\t{$dst}",
+ [(set FP64:$dst, (fneg FP64:$src))]>;
let isCommutable = 1 in { // X = ADD Y, Z == X = ADD Z, Y
def FADD32rr : Pseudo<(outs FP32:$dst), (ins FP32:$src1, FP32:$src2),
More information about the llvm-commits
mailing list