[PATCH] R600: Add intrinsics for math helper instructions

Matt Arsenault Matthew.Arsenault at amd.com
Wed Jun 18 16:11:17 PDT 2014


On 06/18/2014 04:06 PM, Tom Stellard wrote:
>> >+def : RcpPat<V_RCP_F32_e32, f32>;
>> >+def : RcpPat<V_RCP_F64_e32, f64>;
>> >+def : RsqPat<V_RSQ_F32_e32, f32>;
>> >+def : RsqPat<V_RSQ_F64_e32, f64>;
>> >+
> I've been trying to group the patterns by instruction type.  Could you
> add a VOP1 Pattern section before the VOP2 Patterns and move these
> there.  With that change this patch LGTM.
I'm going to delete these soon anyway. These aren't really correct, and 
my patches to implement correct division lowering handle these only with 
fast math

-Matt



More information about the llvm-commits mailing list