On 04/04/2016 06:04 PM, Jason Ekstrand wrote: > This should help GCC when inlining memcpy to be able to better choose an > aligned version. It should also fix potential performance issues in the > next commit. > --- > src/mesa/drivers/dri/i965/intel_tiled_memcpy.c | 30 > +++++++++++++++++++------- > 1 file changed, 22 insertions(+), 8 deletions(-)
Simple enough. GCC has supported __builtin_assume_aligned since 2011-ish, so the builtin is safe to use IMO. Reviewed-by: Chad Versace <chad.vers...@intel.com> (I'm really back from parental leave! I'm reviewing code!) _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/mesa-dev