Displaying 2 results from an estimated 2 matches for "sc_y".
Did you mean:
sc_x
2014 Jul 31
3
[LLVMdev] initialize register attributes in instruction definition
Hi All,
Is it possible to initialize(set up) register attributes when we define an instruction?
like
if a register is defined like this:
" class SC_Register<bits<8> register_num,
REG_FLAG SC_X,
REG_FLAG SC_Y,
REG_FLAG SC_Z,
REG_FLAG SC_W,
string asmstr> : Register<asmstr>
{
let HWEncoding{7-0} = register_num; // register_num
let HWEncoding{8} = SC_X;
let HWEncoding{9} = SC_Y;
…..
}”
can I set up the input/ouput register flags like...
2014 Aug 01
2
[LLVMdev] initialize register attributes in instruction definition
...to initialize(set up) register attributes when we define an instruction?
>>
>> like
>>
>> if a register is defined like this:
>>
>> " class SC_Register<bits<8> register_num,
>> REG_FLAG SC_X,
>> REG_FLAG SC_Y,
>> REG_FLAG SC_Z,
>> REG_FLAG SC_W,
>> string asmstr> : Register<asmstr>
>> {
>>
>> let HWEncoding{7-0} = register_num; // register_num
>> let HWEncoding{8} = SC_X;
>> let HWEncoding{9}...