diff options
author | Paulo Zanoni <[email protected]> | 2019-07-11 16:56:05 -0700 |
---|---|---|
committer | Caio Marcelo de Oliveira Filho <[email protected]> | 2019-08-12 15:16:23 -0700 |
commit | 75b3868dcc81e9b629e997f354aae691b7933f32 (patch) | |
tree | a0e3fed81a4b353c19c789ae042c89a253021aa1 /src/intel/compiler/brw_fs.h | |
parent | 77401498521a35d1dd5711c8a48196a1827450b9 (diff) |
intel/compiler: extract subfunctions of lower_integer_multiplication()
The lower_integer_multiplication() function is already a little too
big. I want to add more to it, so let's reorganize the existing code
first. Let's start with just extracting the current code to
subfunctions. Later we'll change them a little more.
v2: Make private functions private (Caio).
v3: Fix typo (Caio).
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Caio Marcelo de Oliveira Filho <[email protected]>
Signed-off-by: Paulo Zanoni <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_fs.h')
-rw-r--r-- | src/intel/compiler/brw_fs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_fs.h b/src/intel/compiler/brw_fs.h index 1dde4c9c7d2..82d572916ce 100644 --- a/src/intel/compiler/brw_fs.h +++ b/src/intel/compiler/brw_fs.h @@ -406,6 +406,10 @@ private: void resolve_inot_sources(const brw::fs_builder &bld, nir_alu_instr *instr, fs_reg *op); + void lower_mul_dword_inst(fs_inst *inst, bblock_t *block, + const brw::fs_builder &ibld); + void lower_mulh_inst(fs_inst *inst, bblock_t *block, + const brw::fs_builder &ibld); }; /** |