Mesa (master): panfrost: Compile tiling routines with -O3

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Jan 21 13:59:20 UTC 2020


Module: Mesa
Branch: master
Commit: 0ca7ab1c972843057ff622c1edb31c86872102dd
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=0ca7ab1c972843057ff622c1edb31c86872102dd

Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date:   Tue Jan 14 12:27:47 2020 -0500

panfrost: Compile tiling routines with -O3

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 at collabora.com>
Reviewed-by: Vasily Khoruzhick <anarsoul at gmail.com>
Tested-by: Vasily Khoruzhick <anarsoul at gmail.com> #lima on Mali400
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3414>

---

 src/panfrost/shared/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/panfrost/shared/meson.build b/src/panfrost/shared/meson.build
index 0bf09dbbbf8..9aae8e89a78 100644
--- a/src/panfrost/shared/meson.build
+++ b/src/panfrost/shared/meson.build
@@ -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,
 )



More information about the mesa-commit mailing list