aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb
diff options
context:
space:
mode:
authorRoy Li <rongqing.li@windriver.com>2016-05-05 09:52:01 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2016-05-10 20:18:30 +0200
commit4adec181e7303c0afd7fca08fec6ddc5532237a1 (patch)
treea4d004f2a6858974c3496a76001f7e21bf3681e9 /meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb
parent35c7a5b63b24ecfa616dacc45c9d0415da1ca5ca (diff)
downloadmeta-openembedded-contrib-4adec181e7303c0afd7fca08fec6ddc5532237a1.tar.gz
lmbench: avoid gcc optimize-away multiplication
Change expression used in do_integer_mul and do_uint64_mul benchmarks so GCC doesn't optimize-away the loops, Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb')
-rw-r--r--meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb b/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb
index 5459bf9cb8..a62389d094 100644
--- a/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb
+++ b/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb
@@ -18,6 +18,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/lmbench/lmbench-${PV}.tgz \
file://use-base_libdir-instead-of-hardcoded-lib.patch \
file://lmbench_result_html_report.patch \
file://fix-lmbench-memory-check-failure.patch \
+ file://0001-avoid-gcc-optimize-away-the-loops.patch \
"
SRC_URI[md5sum] = "b3351a3294db66a72e2864a199d37cbf"
SRC_URI[sha256sum] = "cbd5777d15f44eab7666dcac418054c3c09df99826961a397d9acf43d8a2a551"