Displaying 2 results from an estimated 2 matches for "vector_asm_instr1".
2017 Mar 03
2
Specifying conditional blocks for the back end
...he better term is predicated blocks). Predicated blocks are
bordered by two instructions WHEREEQ (or WHERELT, etc) and ENDWHERE.
For example, the following code executes the instructions inside the WHERE block only
for the lanes where R0 == R1:
EQ R0, R1;
WHEREEQ
vector_asm_instr1;
...
vector_asm_instrk;
ENDWHERE
I was able to generate at instruction selection such a block by writing custom C++
selection code, but I don't know how can I inform the back end that the instructions
inside the WHERE block get executed conditionally, not...
2017 Mar 07
2
Specifying conditional blocks for the back end
...blocks are
>> bordered by two instructions WHEREEQ (or WHERELT, etc) and ENDWHERE.
>> For example, the following code executes the instructions inside the WHERE block
>> only for the lanes where R0 == R1:
>> EQ R0, R1;
>> WHEREEQ
>> vector_asm_instr1;
>> ...
>> vector_asm_instrk;
>> ENDWHERE
>>
>> I was able to generate at instruction selection such a block by writing custom C++
>> selection code, but I don't know how can I inform the back end that the instructions
>>...