[PATCH] Create a td file with the x86 cpus names for the driver.

Rafael EspĂ­ndola rafael.espindola at gmail.com
Fri Aug 16 20:14:20 PDT 2013


The attached patch also moves over the "has 64 bits support" over to
the td as an example of switches that should be moved over.

On 16 August 2013 15:59, Chandler Carruth <chandlerc at google.com> wrote:
> I still think this would be significantly better as just a macro program. I
> see the challenge, and am going to think for a bit and see if I can come up
> with a useful solution.
>
>
> On Fri, Aug 16, 2013 at 3:46 PM, Rafael EspĂ­ndola
> <rafael.espindola at gmail.com> wrote:
>>
>> On 16 August 2013 14:52, Benjamin Kramer <benny.kra at gmail.com> wrote:
>> >
>> >   Do you plan on extending the data in the .td file? At the moment it
>> > could be a simple macro metaprogram like Builtins.def without all the tblgen
>> > boilerplate.
>>
>> I think there is more data that can be added, yes. Things like the SSE
>> level for example. Macro metaprogramming is also hard because of the
>> need to replace '-' in the option name to '_' in the enum name.
>>
>> Cheers,
>> Rafael
>> _______________________________________________
>> cfe-commits mailing list
>> cfe-commits at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: application/octet-stream
Size: 31122 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130816/d43d6cd0/attachment.obj>


More information about the cfe-commits mailing list