swr: [rasterizer jitter] Disable unsafe FP optimizations in the jitter
authorTim Rowley <timothy.o.rowley@intel.com>
Fri, 20 Jan 2017 23:18:50 +0000 (17:18 -0600)
committerTim Rowley <timothy.o.rowley@intel.com>
Wed, 8 Feb 2017 19:58:00 +0000 (13:58 -0600)
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/jitter/JitManager.cpp

index 74ffd27..5bd21a1 100644 (file)
@@ -88,7 +88,7 @@ JitManager::JitManager(uint32_t simdWidth, const char *arch, const char* core)
     tOpts.AllowFPOpFusion = FPOpFusion::Fast;
     tOpts.NoInfsFPMath = false;
     tOpts.NoNaNsFPMath = false;
-    tOpts.UnsafeFPMath = true;
+    tOpts.UnsafeFPMath = false;
 #if defined(_DEBUG)
 #if LLVM_VERSION_MAJOR == 3 && LLVM_VERSION_MINOR < 7
     tOpts.NoFramePointerElim = true;