aboutsummaryrefslogtreecommitdiff
path: root/tests/SConscript
diff options
context:
space:
mode:
authorGian Marco Iodice <gianmarco.iodice@arm.com>2017-09-13 14:16:41 +0100
committerAnthony Barbier <anthony.barbier@arm.com>2018-11-02 16:35:24 +0000
commitf2399539b9373c3cb8008179211e843a3868d51a (patch)
treefbaa0b42be7b5e0361871e28664e126a3d36ab5b /tests/SConscript
parenta5f9d5a42947d25d1402b93709952a615fa80fbf (diff)
downloadComputeLibrary-f2399539b9373c3cb8008179211e843a3868d51a.tar.gz
COMPMID-415 - Disabled floating-point expression contraction for the reference implementation in order to disable the usage of FMA.
Change-Id: Id93e5ac2e51823135c1ca1bd359a1a1013e0065b Reviewed-on: http://mpd-gerrit.cambridge.arm.com/87583 Reviewed-by: Moritz Pflanzer <moritz.pflanzer@arm.com> Tested-by: Kaizen <jeremy.johnson+kaizengerrit@arm.com> Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Diffstat (limited to 'tests/SConscript')
-rw-r--r--tests/SConscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/SConscript b/tests/SConscript
index cec8d697c2..69c09caa02 100644
--- a/tests/SConscript
+++ b/tests/SConscript
@@ -45,6 +45,9 @@ for v in variables:
new_options.Add(v)
vars.Add(v)
+# Disable floating-point expression contraction (e.g. fused multiply-add operations)
+env.Append(CXXFLAGS = ['-ffp-contract=off'])
+
# Clone the environment to make sure we're not polluting the arm_compute one:
test_env = env.Clone()
vars.Update(test_env)