summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2018-08-18 17:11:12 -0700
committerIan Romanick <ian.d.romanick@intel.com>2019-03-29 19:27:31 -0700
commitd5cba31597d0c36a4d352c6a62fcd8abd74bee38 (patch)
treed640007bdab54522fe6a838de0681e8fea7e2650
parent479d3866f92de72683c25d6804ef302a57227224 (diff)
RFC: intel/compiler: Don't always require precise lowering of flrpreview/lower-flrp
No changes on any other Intel platforms. Iron Lake total instructions in shared programs: 8178607 -> 8149683 (-0.35%) instructions in affected programs: 3281553 -> 3252629 (-0.88%) helped: 13676 HURT: 58 helped stats (abs) min: 1 max: 30 x̄: 2.12 x̃: 1 helped stats (rel) min: 0.04% max: 10.77% x̄: 1.16% x̃: 0.97% HURT stats (abs) min: 1 max: 4 x̄: 1.72 x̃: 1 HURT stats (rel) min: 0.26% max: 11.11% x̄: 2.33% x̃: 1.33% 95% mean confidence interval for instructions value: -2.14 -2.07 95% mean confidence interval for instructions %-change: -1.16% -1.13% Instructions are helped. total cycles in shared programs: 188770066 -> 188636282 (-0.07%) cycles in affected programs: 70484916 -> 70351132 (-0.19%) helped: 12577 HURT: 511 helped stats (abs) min: 2 max: 600 x̄: 10.89 x̃: 6 helped stats (rel) min: <.01% max: 5.48% x̄: 0.48% x̃: 0.27% HURT stats (abs) min: 2 max: 62 x̄: 6.16 x̃: 4 HURT stats (rel) min: 0.01% max: 4.48% x̄: 0.24% x̃: 0.07% 95% mean confidence interval for cycles value: -10.55 -9.89 95% mean confidence interval for cycles %-change: -0.46% -0.45% Cycles are helped. LOST: 0 GAINED: 13 GM45 total instructions in shared programs: 5019498 -> 5003969 (-0.31%) instructions in affected programs: 1766424 -> 1750895 (-0.88%) helped: 6998 HURT: 29 helped stats (abs) min: 1 max: 87 x̄: 2.23 x̃: 1 helped stats (rel) min: 0.03% max: 10.45% x̄: 1.14% x̃: 0.95% HURT stats (abs) min: 1 max: 4 x̄: 1.72 x̃: 1 HURT stats (rel) min: 0.26% max: 10.00% x̄: 2.27% x̃: 1.32% 95% mean confidence interval for instructions value: -2.27 -2.15 95% mean confidence interval for instructions %-change: -1.14% -1.10% Instructions are helped. total cycles in shared programs: 128896720 -> 128811288 (-0.07%) cycles in affected programs: 43646706 -> 43561274 (-0.20%) helped: 6535 HURT: 181 helped stats (abs) min: 2 max: 600 x̄: 13.25 x̃: 6 helped stats (rel) min: <.01% max: 5.48% x̄: 0.51% x̃: 0.29% HURT stats (abs) min: 2 max: 48 x̄: 6.33 x̃: 6 HURT stats (rel) min: 0.01% max: 4.48% x̄: 0.24% x̃: 0.07% 95% mean confidence interval for cycles value: -13.26 -12.18 95% mean confidence interval for cycles %-change: -0.51% -0.48% Cycles are helped. total spills in shared programs: 72 -> 61 (-15.28%) spills in affected programs: 66 -> 55 (-16.67%) helped: 1 HURT: 0 total fills in shared programs: 108 -> 94 (-12.96%) fills in affected programs: 96 -> 82 (-14.58%) helped: 1 HURT: 0 LOST: 13 GAINED: 13
-rw-r--r--src/intel/compiler/brw_nir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/compiler/brw_nir.c b/src/intel/compiler/brw_nir.c
index b612d22cf8e..d0ee4b96d67 100644
--- a/src/intel/compiler/brw_nir.c
+++ b/src/intel/compiler/brw_nir.c
@@ -612,7 +612,7 @@ brw_nir_optimize(nir_shader *nir, const struct brw_compiler *compiler,
*/
if (OPT(nir_lower_flrp,
lower_flrp,
- is_scalar /* always_precise */,
+ false /* always_precise */,
compiler->devinfo->gen >= 6)) {
OPT(nir_opt_constant_folding);
}