Displaying 2 results from an estimated 2 matches for "thumb2itblockpass".
2017 Mar 03
2
Specifying conditional blocks for the back end
Hello.
For my back end for the Connex SIMD research processor I want to implement
conditional blocks (I guess the 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;
2017 Mar 07
2
Specifying conditional blocks for the back end
...ted conditionally, not always.
>
> There's some existing infrastructure in the backend for predication; see
> lib/CodeGen/IfConversion.cpp (and the target hooks PredicateInstruction etc.). For
> forming blocks, you might want to follow what the ARM backend does for Thumb2; see
> Thumb2ITBlockPass.cpp .
>
> -Eli
>