[llvm-commits] [llvm] r76031 - /llvm/trunk/lib/Target/SystemZ/SystemZInstrFP.td

Anton Korobeynikov asl at math.spbu.ru
Thu Jul 16 07:23:30 PDT 2009


Author: asl
Date: Thu Jul 16 09:23:30 2009
New Revision: 76031

URL: http://llvm.org/viewvc/llvm-project?rev=76031&view=rev
Log:
LOAD COMPLEMENT instruction is not really two-addr

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=76031&r1=76030&r2=76031&view=diff

==============================================================================
--- llvm/trunk/lib/Target/SystemZ/SystemZInstrFP.td (original)
+++ llvm/trunk/lib/Target/SystemZ/SystemZInstrFP.td Thu Jul 16 09:23:30 2009
@@ -69,18 +69,19 @@
 // Arithmetic Instructions
 
 
-let isTwoAddress = 1 in {
 let Defs = [PSW] in {
-
 def FNEG32rr : Pseudo<(outs FP32:$dst), (ins FP32:$src),
-                       "lcebr\t{$dst}",
+                       "lcebr\t{$dst, $src}",
                        [(set FP32:$dst, (fneg FP32:$src)),
                         (implicit PSW)]>;
 def FNEG64rr : Pseudo<(outs FP64:$dst), (ins FP64:$src),
-                       "lcdbr\t{$dst}",
+                       "lcdbr\t{$dst, $src}",
                        [(set FP64:$dst, (fneg FP64:$src)),
                         (implicit PSW)]>;
+}
 
+let isTwoAddress = 1 in {
+let Defs = [PSW] in {
 // FIXME: Add peephole for fneg(fabs) => load negative
 
 def FABS32rr : Pseudo<(outs FP32:$dst), (ins FP32:$src),





More information about the llvm-commits mailing list