search for: ptxinstrinfo

Displaying 20 results from an estimated 30 matches for "ptxinstrinfo".

2011 May 08
2
[LLVMdev] [LLVMDev] Add not instruction to PTX backend
Hi, all I am trying to add "not" instruction support to PTX backend. I add the line below in PTXInstrInfo.td, defm NOT : PTX_LOGIC<"not", not>; But I get errors below, ------------------------------------------------------------------------------- Included from PTX.td:75: PTXInstrInfo.td:732:10: error: Value 'PTX_LOGIC::opnode' of type 'SDNode' is incompatible with...
2011 Nov 21
1
[LLVMdev] PTX builtin functions.
On Mon, Nov 21, 2011 at 7:01 AM, Alberto Magni <alberto.magni86 at gmail.com>wrote: > Hi Justin, > > attached you find the patch for the integer max instruction. > The multiclass PTX_INTRINSIC_INT3 in file PTXIntrinsicInstrInfo.td > is almost an exact copy of PTX_INT3 in PTXInstrInfo.td, maybe > a modification of this class can be defined in a separate file. > I'm copying llvmdev. We should keep discussions like this on the list for the benefit of others. We can probably factor out a generic description, or even just use the PTX_INT3 multiclass directly. The PTXIn...
2011 May 08
0
[LLVMdev] [LLVMDev] Add not instruction to PTX backend
On Sun, May 8, 2011 at 2:41 AM, 陳韋任 <chenwj at iis.sinica.edu.tw> wrote: > Hi, all > > I am trying to add "not" instruction support to PTX backend. > I add the line below in PTXInstrInfo.td, > > defm NOT : PTX_LOGIC<"not", not>; > > But I get errors below, > > > ------------------------------------------------------------------------------- > Included from PTX.td:75: > PTXInstrInfo.td:732:10: error: Value 'PTX_LOGIC::opnode' of ty...
2011 Nov 21
0
[LLVMdev] PTX builtin functions.
...AM, Alberto Magni <alberto.magni86 at gmail.com> > wrote: >> >> Hi Justin, >> >> attached you find the patch for the integer max instruction. >> The multiclass PTX_INTRINSIC_INT3 in file PTXIntrinsicInstrInfo.td >> is almost an exact copy of  PTX_INT3 in PTXInstrInfo.td, maybe >> a modification of this class can be defined in a separate file. > > > I'm copying llvmdev.  We should keep discussions like this on the list for > the benefit of others. I always forget "Reply to All". > We can probably factor out a generic descript...
2011 Nov 21
2
[LLVMdev] PTX builtin functions.
...86 at gmail.com> > > wrote: > >> > >> Hi Justin, > >> > >> attached you find the patch for the integer max instruction. > >> The multiclass PTX_INTRINSIC_INT3 in file PTXIntrinsicInstrInfo.td > >> is almost an exact copy of PTX_INT3 in PTXInstrInfo.td, maybe > >> a modification of this class can be defined in a separate file. > > > > > > I'm copying llvmdev. We should keep discussions like this on the list > for > > the benefit of others. > > I always forget "Reply to All". > > &g...
2011 Nov 16
4
[LLVMdev] PTX builtin functions.
Dear Justin, I am trying to add the support for some OpenCL builtin functions to the PTX backend. The attached file represent the first stub of a patch for the fmax builtin function. The test case I am trying is the following: define ptx_device float @f(float %x, float %y) { entry: %z = call float @fmax(float %x, float %y) ret float %z } declare float @fmax(float, float) But at the moment
2011 Nov 22
0
[LLVMdev] PTX builtin functions.
...> wrote: >> >> >> >> Hi Justin, >> >> >> >> attached you find the patch for the integer max instruction. >> >> The multiclass PTX_INTRINSIC_INT3 in file PTXIntrinsicInstrInfo.td >> >> is almost an exact copy of  PTX_INT3 in PTXInstrInfo.td, maybe >> >> a modification of this class can be defined in a separate file. >> > >> > >> > I'm copying llvmdev.  We should keep discussions like this on the list >> > for >> > the benefit of others. >> >> I always forget &...
2011 Nov 22
2
[LLVMdev] PTX builtin functions.
...> >> >> Hi Justin, > >> >> > >> >> attached you find the patch for the integer max instruction. > >> >> The multiclass PTX_INTRINSIC_INT3 in file > PTXIntrinsicInstrInfo.td > >> >> is almost an exact copy of  PTX_INT3 in PTXInstrInfo.td, maybe > >> >> a modification of this class can be defined in a separate file. > >> > > >> > > >> > I'm copying llvmdev.  We should keep discussions like this on the > list > >> > for > >> > the benefit of others....
2011 May 08
0
[LLVMdev] [PATCH ]Add Subtarget ptx23
On Sat, May 7, 2011 at 4:17 AM, 陳韋任 <chenwj at iis.sinica.edu.tw> wrote: > Hi, Justin > > Thansk, but I have a little concern though. I saw Chiou mentioned the > compatibility issue of PTX on the mailing list. > http://lists.cs.uiuc.edu/pipermail/llvmdev/2011-March/038654.html > > In my PTX.td patch, > > def FeaturePTX23 : SubtargetFeature<"ptx23",
2011 Nov 23
2
[LLVMdev] PTX builtin functions.
...gt; >> >> > >> >> >> attached you find the patch for the integer max instruction. > >> >> >> The multiclass PTX_INTRINSIC_INT3 in file > >> PTXIntrinsicInstrInfo.td > >> >> >> is almost an exact copy of PTX_INT3 in PTXInstrInfo.td, maybe > >> >> >> a modification of this class can be defined in a separate file. > >> >> > > >> >> > > >> >> > I'm copying llvmdev. We should keep discussions like this on the > >> list > >> >&g...
2011 Nov 23
0
[LLVMdev] PTX builtin functions.
...gt; Hi Justin, >> >> >> >> >> >> attached you find the patch for the integer max instruction. >> >> >> The multiclass PTX_INTRINSIC_INT3 in file >> PTXIntrinsicInstrInfo.td >> >> >> is almost an exact copy of  PTX_INT3 in PTXInstrInfo.td, maybe >> >> >> a modification of this class can be defined in a separate file. >> >> > >> >> > >> >> > I'm copying llvmdev.  We should keep discussions like this on the >> list >> >> > for >> >>...
2011 May 07
2
[LLVMdev] [PATCH ]Add Subtarget ptx23
Hi, Justin Thansk, but I have a little concern though. I saw Chiou mentioned the compatibility issue of PTX on the mailing list. http://lists.cs.uiuc.edu/pipermail/llvmdev/2011-March/038654.html In my PTX.td patch, def FeaturePTX23 : SubtargetFeature<"ptx23", "PTXVersion", PTX_VERSION_2_3", "Use PTX Language Version
2011 Nov 23
0
[LLVMdev] PTX builtin functions.
...; > > >> >> >> attached you find the patch for the integer max instruction. > > >> >> >> The multiclass PTX_INTRINSIC_INT3 in file > > >> PTXIntrinsicInstrInfo.td > > >> >> >> is almost an exact copy of PTX_INT3 in PTXInstrInfo.td, maybe > > >> >> >> a modification of this class can be defined in a separate file. > > >> >> > > > >> >> > > > >> >> > I'm copying llvmdev. We should keep discussions like this on the > > >>...
2011 Dec 04
2
[LLVMdev] PTX builtin functions.
...>> >> >> attached you find the patch for the integer max instruction. >> > >> >> >> The multiclass PTX_INTRINSIC_INT3 in file >> > >> PTXIntrinsicInstrInfo.td >> > >> >> >> is almost an exact copy of  PTX_INT3 in PTXInstrInfo.td, maybe >> > >> >> >> a modification of this class can be defined in a separate file. >> > >> >> > >> > >> >> > >> > >> >> > I'm copying llvmdev.  We should keep discussions like this on >&gt...
2011 Dec 08
3
[LLVMdev] PTX builtin functions.
...>> >> >> attached you find the patch for the integer max instruction. >> > >> >> >> The multiclass PTX_INTRINSIC_INT3 in file >> > >> PTXIntrinsicInstrInfo.td >> > >> >> >> is almost an exact copy of PTX_INT3 in PTXInstrInfo.td, maybe >> > >> >> >> a modification of this class can be defined in a separate file. >> > >> >> > >> > >> >> > >> > >> >> > I'm copying llvmdev. We should keep discussions like this on >&gt...
2011 Dec 05
0
[LLVMdev] PTX builtin functions.
...t; >> attached you find the patch for the integer max instruction. > >> > >> >> >> The multiclass PTX_INTRINSIC_INT3 in file > >> > >> PTXIntrinsicInstrInfo.td > >> > >> >> >> is almost an exact copy of PTX_INT3 in PTXInstrInfo.td, > maybe > >> > >> >> >> a modification of this class can be defined in a separate > file. > >> > >> >> > > >> > >> >> > > >> > >> >> > I'm copying llvmdev. We should keep di...
2011 Dec 08
0
[LLVMdev] PTX builtin functions.
...t; >> attached you find the patch for the integer max instruction. > >> > >> >> >> The multiclass PTX_INTRINSIC_INT3 in file > >> > >> PTXIntrinsicInstrInfo.td > >> > >> >> >> is almost an exact copy of PTX_INT3 in PTXInstrInfo.td, > maybe > >> > >> >> >> a modification of this class can be defined in a separate > file. > >> > >> >> > > >> > >> >> > > >> > >> >> > I'm copying llvmdev. We should keep di...
2011 Sep 26
3
[LLVMdev] PTX backend do not support sitofp instruction?
Hi all, Does PTX backend support llvm sitofp instruction? I failed to compile my llvm source when use llc -march=ptx32. The reason is that the source has a sitofp instruction. After i changed the instruction into uitofp manually, it passed. Thanks in advance, best, Yabin -------------- next part -------------- An HTML attachment was scrubbed... URL:
2011 Sep 26
0
[LLVMdev] PTX backend do not support sitofp instruction?
> Does PTX backend support llvm sitofp instruction? Seems it doesn't support sitofp, search "Conversion to f32" in PTXInstrInfo.td. Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667
2011 May 11
3
[LLVMdev] [LLVMDev] Add not instruction to PTX backend
Hi, Dan I add "not" instruction support in PTXInstrInfo.td as you suggested before. multiclass PTX_LOGIC_2OP<string opcstr,PatFrag opnode> { ... } Now I am trying to write test case for logic and shift operations. But I have a trouble in mapping LLVM IR to PTX IR for "not" instruction. The test case I wrote is, define ptx_device i...