Displaying 5 results from an estimated 5 matches for "reg_u32".
2011 May 13
0
[LLVMdev] [ptx] Propose a register class naming convention change
...doesn't bother me that
much the way it currently is, but when there are lots of operations
taking a register and an immediate, representing them in the same way
might be a little more consistent?
Personally, I think I also might prefer an underscore to make it more
readable for new users (Reg_u32, Reg_pred, Imm_i32, Imm_f32, etc).
That's maybe just my own preference, so feel free to do it as you've
suggested!
Dan
Che-Liang Chiou wrote:
> Hi,
>
> Current register class naming has a confusing prefix letter 'R' (it is
> my bad), such as the first 'R' of...
2011 May 13
3
[LLVMdev] [ptx] Propose a register class naming convention change
Hi,
Current register class naming has a confusing prefix letter 'R' (it is
my bad), such as the first 'R' of RRegu32 (for unsigned 32-bit
registers).
I propose a 'Reg' + type name naming convention for register classes; such as:
Regu16, Regu32, Regf32, Regf64
With one exception for predicate registers (capitalized first letter of 'pred'):
RegPred
Since
2011 May 13
2
[LLVMdev] [ptx] Propose a register class naming convention change
...at much the
> way it currently is, but when there are lots of operations taking a register
> and an immediate, representing them in the same way might be a little more
> consistent?
>
> Personally, I think I also might prefer an underscore to make it more
> readable for new users (Reg_u32, Reg_pred, Imm_i32, Imm_f32, etc). That's
> maybe just my own preference, so feel free to do it as you've suggested!
>
> Dan
I've been considering the way registers are represented in the PTX back-end
quite a bit lately, and I think we need to re-consider the way we handle
re...
2011 May 13
1
[LLVMdev] [ptx] Propose a register class naming convention change
...it currently is, but when there are lots of operations taking a register
>> and an immediate, representing them in the same way might be a little more
>> consistent?
>>
>> Personally, I think I also might prefer an underscore to make it more
>> readable for new users (Reg_u32, Reg_pred, Imm_i32, Imm_f32, etc). That's
>> maybe just my own preference, so feel free to do it as you've suggested!
>>
>> Dan
>
>
> I've been considering the way registers are represented in the PTX
> back-end quite a bit lately, and I think we need to r...
2011 May 13
0
[LLVMdev] [ptx] Propose a register class naming convention change
...me that much
the way it currently is, but when there are lots of operations taking a
register and an immediate, representing them in the same way might be a
little more consistent?<br>
<br>
Personally, I think I also might prefer an underscore to make it more
readable for new users (Reg_u32, Reg_pred, Imm_i32, Imm_f32, etc).
That's maybe just my own preference, so feel free to do it as you've
suggested!<br>
<font color="#888888">
<br>
Dan</font></blockquote>
<div><br>
</div>
<div>I've been consid...