From 3936f1f73414dafe70089f664da94648247a7235 Mon Sep 17 00:00:00 2001 From: Michal Schulz Date: Wed, 1 Jan 2025 15:20:41 +0000 Subject: [PATCH] use -ffast-math on FPU intensive tools --- Buddhabrot/CMakeLists.txt | 2 +- SmallPT/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Buddhabrot/CMakeLists.txt b/Buddhabrot/CMakeLists.txt index d0bc214..849d760 100644 --- a/Buddhabrot/CMakeLists.txt +++ b/Buddhabrot/CMakeLists.txt @@ -3,7 +3,7 @@ project(Buddabrot VERSION 1.0.0) get_verstring(VERSTRING) add_link_options(-m68040 -m68881 -noixemul) -add_compile_options(-O3 -m68040 -m68881 -fomit-frame-pointer) +add_compile_options(-O3 -m68040 -ffast-math -m68881 -fomit-frame-pointer) add_compile_definitions(PRIVATE VERSION_STRING="${VERSTRING}") add_executable(Buddhabrot diff --git a/SmallPT/CMakeLists.txt b/SmallPT/CMakeLists.txt index 120ef98..ccd356d 100644 --- a/SmallPT/CMakeLists.txt +++ b/SmallPT/CMakeLists.txt @@ -3,7 +3,7 @@ project(SmallPT VERSION 1.0.0) get_verstring(VERSTRING) add_link_options(-m68040 -m68881 -noixemul) -add_compile_options(-Os -m68040 -m68881 -fomit-frame-pointer) +add_compile_options(-Os -m68040 -m68881 -ffast-math -fomit-frame-pointer) add_compile_definitions(PRIVATE VERSION_STRING="${VERSTRING}") add_executable(SmallPT