R600: FMA is VecALU only instruction
authorJan Vesely <jan.vesely@rutgers.edu>
Tue, 14 Oct 2014 18:52:04 +0000 (18:52 +0000)
committerJan Vesely <jan.vesely@rutgers.edu>
Tue, 14 Oct 2014 18:52:04 +0000 (18:52 +0000)
Reviewed-by: Tom Stellard <tom@stellard.net>
Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@219704 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/R600/R600Instructions.td

index a883c839e6200141bea42f1be9d6ba6315552ab3..114c6e4db35ad35e102fdcb5e3a7205cfd74cff7 100644 (file)
@@ -917,7 +917,7 @@ class MULADD_IEEE_Common <bits<5> inst> : R600_3OP <
 
 class FMA_Common <bits<5> inst> : R600_3OP <
   inst, "FMA",
 
 class FMA_Common <bits<5> inst> : R600_3OP <
   inst, "FMA",
-  [(set f32:$dst, (fma f32:$src0, f32:$src1, f32:$src2))]
+  [(set f32:$dst, (fma f32:$src0, f32:$src1, f32:$src2))], VecALU
 >;
 
 class CNDE_Common <bits<5> inst> : R600_3OP <
 >;
 
 class CNDE_Common <bits<5> inst> : R600_3OP <