Skip to content

Commit

Permalink
use -ffast-math on FPU intensive tools
Browse files Browse the repository at this point in the history
  • Loading branch information
michalsc committed Jan 1, 2025
1 parent 0d52810 commit 3936f1f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Buddhabrot/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion SmallPT/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3936f1f

Please sign in to comment.