search for: ptxreg

Displaying 5 results from an estimated 5 matches for "ptxreg".

Did you mean: ptrreg
2011 Oct 07
0
[LLVMdev] Enhancing TableGen
...ing vs token] The preprocessor (as its current form) has tokens by default, and it only converts a series of tokens and white spaces into a string if explicitly required (by a special escape #"#, see example below). ---------------------------------------- #for i = sequence(0, 127) def P#i# : PTXReg<#"#p#i##"#>; #end ---------------------------------------- * Anything between #"# are quoted, including white spaces and non-tokens. E.g., #"#hello world#"# --> "hello world" * Macro variable needs a '#' character at both front and back. This lo...
2011 Oct 07
4
[LLVMdev] Enhancing TableGen
...rrect. My plan with the parser-integrated for is to allow the user to declare the type of the iterator. It solves a number of problems, most importantly TableGen's declaration before use requirement. > ---------------------------------------- > #for i = sequence(0, 127) > def P#i# : PTXReg<#"#p#i##"#>; > #end > ---------------------------------------- > * Anything between #"# are quoted, including white spaces and > non-tokens. E.g., #"#hello world#"# --> "hello world" As mentioned above, I've been thinking about making &...
2011 Oct 06
3
[LLVMdev] Enhancing TableGen
On Oct 6, 2011, at 12:42 PM, David A. Greene wrote: > Jakob Stoklund Olesen <jolesen at apple.com> writes: > >> On Oct 6, 2011, at 7:59 AM, David A. Greene wrote: >> >>> For example, I want to be able to do this: >>> >>> defm MOVH : >>> vs1x_fps_binary_vv_node_rmonly< >>> 0x16, "movh", undef, 0, >>>
2011 Oct 07
0
[LLVMdev] Enhancing TableGen
...rser-integrated for is to allow the user to declare the type of the > iterator. It solves a number of problems, most importantly TableGen's > declaration before use requirement. > >> ---------------------------------------- >> #for i = sequence(0, 127) >> def P#i# : PTXReg<#"#p#i##"#>; >> #end >> ---------------------------------------- >> * Anything between #"# are quoted, including white spaces and >> non-tokens. E.g., #"#hello world#"# --> "hello world" > > As mentioned above, I've be...
2011 Oct 08
0
[LLVMdev] Enhancing TableGen
...is to allow the user to declare the type of the > iterator.  It solves a number of problems, most importantly TableGen's > declaration before use requirement. > Sounds good to me. >> ---------------------------------------- >> #for i = sequence(0, 127) >> def P#i# : PTXReg<#"#p#i##"#>; >> #end >> ---------------------------------------- >> * Anything between #"# are quoted, including white spaces and >> non-tokens. E.g., #"#hello  world#"# --> "hello  world" > > As mentioned above, I've bee...