[LLVMdev] [PATCH ]Add Subtarget ptx23

Justin Holewinski justin.holewinski at gmail.com
Sun May 8 07:38:57 PDT 2011


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", "PTXVersion",
> PTX_VERSION_2_3",
>                                    "Use PTX Language Version 2.3",
>                                    [FeaturePTX22]>;
>
>  I can only guess above statement means PTX23 is fully compatible with
> PTX22. Is my guess right? If so, how can one express that FeatureA is
> NOT fully compatible with FeatureB in .td?
>

Literally, it means any feature supported by PTX 2.2 is also supported by
PTX 2.3.  While this may not be strictly true, it is a good approximation
for now, until more of the ISA is implemented. I wouldn't worry about it for
now.


>
> Regards,
> chenwj
>
> --
> Wei-Ren Chen (陳韋任)
> Computer Systems Lab, Institute of Information Science,
> Academia Sinica, Taiwan (R.O.C.)
> Tel:886-2-2788-3799 #1667
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>



-- 

Thanks,

Justin Holewinski
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110508/12315e86/attachment.html>


More information about the llvm-dev mailing list