diff options
author | Neil Roberts <[email protected]> | 2019-01-30 10:58:48 +0100 |
---|---|---|
committer | Neil Roberts <[email protected]> | 2019-11-20 14:09:43 +0100 |
commit | 2ec97e78a9ae4da59f175a5f24c3d6c062f36ca7 (patch) | |
tree | 724d640822350a11098990341dcf40b734c1146d /src/compiler/nir/nir.h | |
parent | 9a96afb97e207134cc92ac38ecbcfcd6cd5282bb (diff) |
nir/opcodes: Add a helper function to generate reduce opcodes
Adds binop_reduce_all_sizes which generates both 1-bit and 32-bit
versions of the reduce operation. This reduces the code duplication a
bit and will make it easier to later add 16-bit versions as well.
Reviewed-by: Rob Clark <[email protected]>
Acked-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src/compiler/nir/nir.h')
0 files changed, 0 insertions, 0 deletions