panfrost: Compile tiling routines with -O3
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 14 Jan 2020 17:27:47 +0000 (12:27 -0500)
committerAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Tue, 21 Jan 2020 13:35:01 +0000 (08:35 -0500)
These are major hot spots for panfrost and lima; better let the compiler
do its thing even on debug builds.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Vasily Khoruzhick <anarsoul@gmail.com>
Tested-by: Vasily Khoruzhick <anarsoul@gmail.com> #lima on Mali400
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3414>

src/panfrost/shared/meson.build

index 0bf09dbbbf85922a1706a3887c8856a6d6c48dd2..9aae8e89a78a7a01ddc940de1911dd31a770ede5 100644 (file)
@@ -28,7 +28,7 @@ libpanfrost_shared = static_library(
   'panfrost_shared',
   [libpanfrost_shared_files],
   include_directories : [inc_common],
-  c_args : [c_vis_args, no_override_init_args],
+  c_args : [c_vis_args, no_override_init_args, '-O3'],
   cpp_args : [cpp_vis_args],
   build_by_default : false,
 )