Browse Source

* avoid generation of avx code before the check if avx is supported

git-svn-id: trunk@27582 -
florian 11 years ago
parent
commit
0a312a783e
1 changed files with 2 additions and 0 deletions
  1. 2 0
      tests/test/tfma1.pp

+ 2 - 0
tests/test/tfma1.pp

@@ -13,6 +13,7 @@ procedure testsingle;
     l1:=2;
     l2:=3;
     l3:=4;
+    s0:=0;
     l0:=fma(l1,l2,l3);
     writeln(l0);
     if l0<>10.0 then
@@ -56,6 +57,7 @@ procedure testdouble;
     l1:=2;
     l2:=3;
     l3:=4;
+    d0:=0;
     l0:=fma(l1,l2,l3);
     writeln(l0);
     if l0<>10.0 then