diff options
author | Erico Nunes <[email protected]> | 2019-07-21 15:07:50 +0200 |
---|---|---|
committer | Erico Nunes <[email protected]> | 2019-08-04 13:38:18 +0200 |
commit | fd29c4d6c561272ab34a71a308c36a0bb72b4816 (patch) | |
tree | d52aa442acc8084e806db4b213d7431c1e045951 /src/hgl/GLDispatcher.h | |
parent | eb82637c2f9cad0c84d09502b7e65166448c0475 (diff) |
lima/ppir: simplify select op lowering and scheduling
The select operation relies on the select condition coming from the
result of the the alu scalar mult slot, in the same instruction.
The current implementation creates a mov node to be the predecessor of
select, and then relies on an exception during scheduling to ensure that
both ops are inserted in the same instruction.
Now that the ppir scheduler supports pipeline register dependencies,
this can be simplified by making the mov explicitly output to the fmul
pipeline register, and the scheduler can place it without an exception.
Since the select condition can only be placed in the scalar mult slot,
differently than a regular mov, define a separate op for it.
Signed-off-by: Erico Nunes <[email protected]>
Reviewed-by: Vasily Khoruzhick <[email protected]>
Reviewed-by: Qiang Yu <[email protected]>
Diffstat (limited to 'src/hgl/GLDispatcher.h')
0 files changed, 0 insertions, 0 deletions