diff options
Diffstat (limited to 'src/intel/compiler/brw_ir_fs.h')
-rw-r--r-- | src/intel/compiler/brw_ir_fs.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_ir_fs.h b/src/intel/compiler/brw_ir_fs.h index 5bb92e4cc86..3c23fb375e4 100644 --- a/src/intel/compiler/brw_ir_fs.h +++ b/src/intel/compiler/brw_ir_fs.h @@ -487,6 +487,16 @@ get_exec_type_size(const fs_inst *inst) } /** + * Return whether the instruction isn't an ALU instruction and cannot be + * assumed to complete in-order. + */ +static inline bool +is_unordered(const fs_inst *inst) +{ + return inst->mlen || inst->is_send_from_grf() || inst->is_math(); +} + +/** * Return whether the following regioning restriction applies to the specified * instruction. From the Cherryview PRM Vol 7. "Register Region * Restrictions": |