diff options
author | Jason Ekstrand <[email protected]> | 2017-12-29 14:38:55 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-12-13 17:49:48 +0000 |
commit | 39198a1238c967f17a6c3d701fe215315ecbab69 (patch) | |
tree | 51b7d8d4cf1aa9f6c395ce921197f7e8bf86d517 /src/compiler/nir/nir.h | |
parent | 9525971e2bec379bdbc187bfd325e7f6ded01eb5 (diff) |
nir/lower_int64: Add support for [iu]mul_high
Reviewed-by: Ian Romanick [email protected]
Diffstat (limited to 'src/compiler/nir/nir.h')
-rw-r--r-- | src/compiler/nir/nir.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler/nir/nir.h b/src/compiler/nir/nir.h index 5d9c96fe11e..a2c68d66aea 100644 --- a/src/compiler/nir/nir.h +++ b/src/compiler/nir/nir.h @@ -3106,6 +3106,8 @@ typedef enum { nir_lower_isign64 = (1 << 1), /** Lower all int64 modulus and division opcodes */ nir_lower_divmod64 = (1 << 2), + /** Lower all 64-bit umul_high and imul_high opcodes */ + nir_lower_imul_high64 = (1 << 3), } nir_lower_int64_options; bool nir_lower_int64(nir_shader *shader, nir_lower_int64_options options); |