[PATCH 1/1] R600: FMA is VecALU only instruction
Aaron Watry
awatry at gmail.com
Thu Oct 9 19:01:36 PDT 2014
On Thu, Oct 9, 2014 at 6:59 PM, Jan Vesely <jan.vesely at rutgers.edu> wrote:
> Signed-off-by: Jan Vesely <jan.vesely at rutgers.edu>
> ---
This also fixes sin/cos on the CEDAR (Radeon 5400) I've got as well.
>
> Fixes hangs/failures of sin/cos/tan tests on my EG card
>
> lib/Target/R600/R600Instructions.td | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/lib/Target/R600/R600Instructions.td b/lib/Target/R600/R600Instructions.td
> index a883c83..114c6e4 100644
> --- a/lib/Target/R600/R600Instructions.td
> +++ b/lib/Target/R600/R600Instructions.td
> @@ -917,7 +917,7 @@ class MULADD_IEEE_Common <bits<5> inst> : R600_3OP <
>
> 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 <
> --
> 1.9.3
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list