search for: gprv2f32

Displaying 16 results from an estimated 16 matches for "gprv2f32".

Did you mean: gprf32
2009 Apr 15
2
[LLVMdev] Tablegen question
...e. > This is the intrinsic definition: > def int_opencl_math_fdistance_fast : Intrinsic<[llvm_float_ty], > [llvm_anyfloat_ty, LLVMMatchType<0>]>; > > The problem comes when I try to use the intrinsic. It gives me the > following error: > GPRV2F32:f32:$src1 MACRO_DISTANCE_FAST_v2f32: (set GPRF32:f32:$dst, > (intrinsic_w_chain:f32 84:iPTR, GPRV2F32:v2f32:$src0, > GPRV2F32:f32:$src1)) > TableGen.exe: In MACRO_DISTANCE_FAST_v2f32: Type inference > contradiction > found in node! Your "$src1" is f32 instead of v2f32....
2009 Apr 15
0
[LLVMdev] Tablegen question
If I force it to use v2f32 for my register class, it still fails with: d:\hq\main\sw\appeng\tools\hpc\opencl\compiler\llvm\test\AMDIL>TableGen. exe -gen -dag-isel -I../../include/ test.td > output GPRV2F32:v2f32:$src1 MACRO_DISTANCE_FAST_v2f32: (set GPRF32:f32:$dst, (i ntrinsic_w_chain:f32 84:iPTR, GPRV2F32:v2f32:$src0, GPRV2F32:v2f32:$src1)) TableGen.exe: In MACRO_DISTANCE_FAST_v2f32: Type inference contradiction found i n node! So I'm not sure that is the problem. Also, my register cla...
2009 Apr 15
1
[LLVMdev] Tablegen question
On Apr 15, 2009, at 1:11 PM, Villmow, Micah wrote: > If I force it to use v2f32 for my register class, it still fails with: > d:\hq\main\sw\appeng\tools\hpc\opencl\compiler\llvm\test > \AMDIL>TableGen. > exe -gen > -dag-isel -I../../include/ test.td > output > GPRV2F32:v2f32:$src1 MACRO_DISTANCE_FAST_v2f32: (set > GPRF32:f32:$dst, (i > ntrinsic_w_chain:f32 84:iPTR, GPRV2F32:v2f32:$src0, > GPRV2F32:v2f32:$src1)) > TableGen.exe: In MACRO_DISTANCE_FAST_v2f32: Type inference > contradiction > found i > n node! > > So I'm not s...
2009 Apr 15
0
[LLVMdev] Tablegen question
...rgTys.push_back(Tys[0]); break; This is the intrinsic definition: def int_opencl_math_fdistance_fast : Intrinsic<[llvm_float_ty], [llvm_anyfloat_ty, LLVMMatchType<0>]>; The problem comes when I try to use the intrinsic. It gives me the following error: GPRV2F32:f32:$src1 MACRO_DISTANCE_FAST_v2f32: (set GPRF32:f32:$dst, (intrinsic_w_chain:f32 84:iPTR, GPRV2F32:v2f32:$src0, GPRV2F32:f32:$src1)) TableGen.exe: In MACRO_DISTANCE_FAST_v2f32: Type inference contradiction found in node! I'm using the following test td file. This is generated with putting...
2011 Nov 22
2
[LLVMdev] PTX builtin functions.
...eeInOneOut<opcode, (outs GPRF32:$dst), (ins GPRF32:$src, GPRF32:$src2, GPRF32:$src3), !strconcat(opcode.Text, " $dst, $src, $src2, $src3"), [(set GPRF32:$dst, (intr GPRF32:$src, GPRF32:$src2, GPRF32:$src3))]>; def _v2f32 : ThreeInOneOut<opcode, (outs GPRV2F32:$dst), (ins GPRV2F32:$src, GPRV2F32:$src2, GPRV2F32:$src3), !strconcat(opcode.Text, " $dst, $src, $src2, $src3"), [(set GPRV2F32:$dst, (intr GPRV2F32:$src, GPRV2F32:$src2, GPRV2F32:$src3))]>; ... } Now, this doesn't completely work, because LLVM does no...
2011 Nov 23
2
[LLVMdev] PTX builtin functions.
...; > (ins GPRF32:$src, GPRF32:$src2, GPRF32:$src3), > > !strconcat(opcode.Text, " $dst, $src, $src2, $src3"), > > [(set GPRF32:$dst, > > (intr GPRF32:$src, GPRF32:$src2, GPRF32:$src3))]>; > > def _v2f32 : ThreeInOneOut<opcode, (outs GPRV2F32:$dst), > > (ins GPRV2F32:$src, GPRV2F32:$src2, GPRV2F32:$src3), > > !strconcat(opcode.Text, " $dst, $src, $src2, $src3"), > > [(set GPRV2F32:$dst, > > (intr GPRV2F32:$src, GPRV2F32:$src2, GPRV2F32:$src3))]>; > > ... > > } >...
2009 Apr 15
3
[LLVMdev] Tablegen question
Oops. That was premature. I think your original question was on the right track. TableGen distinguishes between known and "overloaded" types (like "llvm_anyfloat_ty" in your example). The overloaded types are numbered separately, and the argument to LLVMMatchType is an index into these overloaded types, ignoring the known types. So, in your case, the first
2011 Nov 23
0
[LLVMdev] PTX builtin functions.
..., (outs GPRF32:$dst), >      (ins GPRF32:$src, GPRF32:$src2, GPRF32:$src3), >      !strconcat(opcode.Text, " $dst, $src, $src2, $src3"), >      [(set GPRF32:$dst, >          (intr GPRF32:$src, GPRF32:$src2, GPRF32:$src3))]>; >  def _v2f32 : ThreeInOneOut<opcode, (outs GPRV2F32:$dst), >      (ins GPRV2F32:$src, GPRV2F32:$src2, GPRV2F32:$src3), >      !strconcat(opcode.Text, " $dst, $src, $src2, $src3"), >      [(set GPRV2F32:$dst, >          (intr GPRV2F32:$src, GPRV2F32:$src2, GPRV2F32:$src3))]>; > ... > } > > Now, this doesn't co...
2011 Nov 23
0
[LLVMdev] PTX builtin functions.
...F32:$src, GPRF32:$src2, GPRF32:$src3), > > > !strconcat(opcode.Text, " $dst, $src, $src2, $src3"), > > > [(set GPRF32:$dst, > > > (intr GPRF32:$src, GPRF32:$src2, GPRF32:$src3))]>; > > > def _v2f32 : ThreeInOneOut<opcode, (outs GPRV2F32:$dst), > > > (ins GPRV2F32:$src, GPRV2F32:$src2, GPRV2F32:$src3), > > > !strconcat(opcode.Text, " $dst, $src, $src2, $src3"), > > > [(set GPRV2F32:$dst, > > > (intr GPRV2F32:$src, GPRV2F32:$src2, GPRV2F32:$src3))]>; > >...
2009 Apr 15
1
[LLVMdev] Tablegen question
...gt; > This is the intrinsic definition: > def int_opencl_math_fdistance_fast   : Intrinsic<[llvm_float_ty], >                           [llvm_anyfloat_ty, LLVMMatchType<0>]>; > > The problem comes when I try to use the intrinsic. It gives me the > following error: > GPRV2F32:f32:$src1 MACRO_DISTANCE_FAST_v2f32:   (set GPRF32:f32:$dst, > (intrinsic_w_chain:f32 84:iPTR, GPRV2F32:v2f32:$src0, > GPRV2F32:f32:$src1)) > TableGen.exe: In MACRO_DISTANCE_FAST_v2f32: Type inference contradiction > found in node! > > I'm using the following test td file. &gt...
2011 Dec 04
2
[LLVMdev] PTX builtin functions.
...:$src2, GPRF32:$src3), >> > >      !strconcat(opcode.Text, " $dst, $src, $src2, $src3"), >> > >      [(set GPRF32:$dst, >> > >          (intr GPRF32:$src, GPRF32:$src2, GPRF32:$src3))]>; >> > >  def _v2f32 : ThreeInOneOut<opcode, (outs GPRV2F32:$dst), >> > >      (ins GPRV2F32:$src, GPRV2F32:$src2, GPRV2F32:$src3), >> > >      !strconcat(opcode.Text, " $dst, $src, $src2, $src3"), >> > >      [(set GPRV2F32:$dst, >> > >          (intr GPRV2F32:$src, GPRV2F32:$src2, GPRV2F32:$src3))]...
2011 Dec 08
3
[LLVMdev] PTX builtin functions.
...:$src2, GPRF32:$src3), >> > > !strconcat(opcode.Text, " $dst, $src, $src2, $src3"), >> > > [(set GPRF32:$dst, >> > > (intr GPRF32:$src, GPRF32:$src2, GPRF32:$src3))]>; >> > > def _v2f32 : ThreeInOneOut<opcode, (outs GPRV2F32:$dst), >> > > (ins GPRV2F32:$src, GPRV2F32:$src2, GPRV2F32:$src3), >> > > !strconcat(opcode.Text, " $dst, $src, $src2, $src3"), >> > > [(set GPRV2F32:$dst, >> > > (intr GPRV2F32:$src, GPRV2F32:$src2, GPRV2F32:$src3))]...
2011 Dec 05
0
[LLVMdev] PTX builtin functions.
...), > >> > > !strconcat(opcode.Text, " $dst, $src, $src2, $src3"), > >> > > [(set GPRF32:$dst, > >> > > (intr GPRF32:$src, GPRF32:$src2, GPRF32:$src3))]>; > >> > > def _v2f32 : ThreeInOneOut<opcode, (outs GPRV2F32:$dst), > >> > > (ins GPRV2F32:$src, GPRV2F32:$src2, GPRV2F32:$src3), > >> > > !strconcat(opcode.Text, " $dst, $src, $src2, $src3"), > >> > > [(set GPRV2F32:$dst, > >> > > (intr GPRV2F32:$src, GPRV2F32:$src...
2011 Dec 08
0
[LLVMdev] PTX builtin functions.
...), > >> > > !strconcat(opcode.Text, " $dst, $src, $src2, $src3"), > >> > > [(set GPRF32:$dst, > >> > > (intr GPRF32:$src, GPRF32:$src2, GPRF32:$src3))]>; > >> > > def _v2f32 : ThreeInOneOut<opcode, (outs GPRV2F32:$dst), > >> > > (ins GPRV2F32:$src, GPRV2F32:$src2, GPRV2F32:$src3), > >> > > !strconcat(opcode.Text, " $dst, $src, $src2, $src3"), > >> > > [(set GPRV2F32:$dst, > >> > > (intr GPRV2F32:$src, GPRV2F32:$src...
2011 Nov 22
0
[LLVMdev] PTX builtin functions.
On Mon, Nov 21, 2011 at 5:31 PM, Justin Holewinski <justin.holewinski at gmail.com> wrote: > On Mon, Nov 21, 2011 at 11:45 AM, Alberto Magni <alberto.magni86 at gmail.com> > wrote: >> >> On Mon, Nov 21, 2011 at 3:36 PM, Justin Holewinski >> <justin.holewinski at gmail.com> wrote: >> > On Mon, Nov 21, 2011 at 7:01 AM, Alberto Magni >> >
2011 Nov 21
2
[LLVMdev] PTX builtin functions.
On Mon, Nov 21, 2011 at 11:45 AM, Alberto Magni <alberto.magni86 at gmail.com>wrote: > On Mon, Nov 21, 2011 at 3:36 PM, Justin Holewinski > <justin.holewinski at gmail.com> wrote: > > On Mon, Nov 21, 2011 at 7:01 AM, Alberto Magni < > alberto.magni86 at gmail.com> > > wrote: > >> > >> Hi Justin, > >> > >> attached you find