[Mesa-dev] [PATCH 00/10] First round of Boolean math optimizations

Ian Romanick idr at freedesktop.org
Thu Mar 10 18:25:09 UTC 2016


This is the first round of patches to improve the way we deal with
floating point values used to represent Booleans.  I have a bunch more,
but this is the set that has been stable and shows almost exclusively
improvement.

I'm not married to the first 3 patches in the series.  I was trying to
silence a GCC warning, but I don't really like the way it turned out.
Maybe someone can explain to me why that code after patch 2 is still
"bad," but the good after patch 3 is "good."  It seems like GCC ought to
be able to see that they're the same.



More information about the mesa-dev mailing list