From f2399539b9373c3cb8008179211e843a3868d51a Mon Sep 17 00:00:00 2001 From: Gian Marco Iodice Date: Wed, 13 Sep 2017 14:16:41 +0100 Subject: 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 Tested-by: Kaizen Reviewed-by: Georgios Pinitas --- tests/SConscript | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/SConscript') 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) -- cgit v1.2.1