Branimir Karadžić 8 năm trước cách đây
mục cha
commit
3c4b40744f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      tests/math_bench.cpp

+ 1 - 1
tests/math_bench.cpp

@@ -49,7 +49,7 @@ void math_bench()
 		result = 0.0f;
 		result = 0.0f;
 		for (float xx = 0.0f; xx < max; xx += 0.1f)
 		for (float xx = 0.0f; xx < max; xx += 0.1f)
 		{
 		{
-			result += bx::sqrtRef(xx);
+			result += bx::sqrtSimd(xx);
 		}
 		}
 
 
 		elapsed += bx::getHPCounter();
 		elapsed += bx::getHPCounter();