mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 19:20:08 +01:00
i965/vec4: Allow constant propagation into dot product.
total instructions in shared programs: 1667088 -> 1667055 (-0.00%) instructions in affected programs: 3362 -> 3329 (-0.98%) Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
34ec1a24d6
commit
5d0b3ec4ae
1 changed files with 4 additions and 0 deletions
|
|
@ -95,6 +95,10 @@ try_constant_propagation(vec4_instruction *inst, int arg, src_reg *values[4])
|
|||
inst->src[arg] = value;
|
||||
return true;
|
||||
|
||||
case BRW_OPCODE_DP2:
|
||||
case BRW_OPCODE_DP3:
|
||||
case BRW_OPCODE_DP4:
|
||||
case BRW_OPCODE_DPH:
|
||||
case BRW_OPCODE_BFI1:
|
||||
case BRW_OPCODE_ASR:
|
||||
case BRW_OPCODE_SHL:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue