From: falcovorbis <fal...@us...> - 2024-05-09 01:37:31
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "A pseudo Operating System for the Dreamcast.". The branch, master has been updated via fbfa927626fb360ad73e339a8186f043f378683f (commit) from 11b6ae37fd7d38b2379b263f0ae483ed013b2a80 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit fbfa927626fb360ad73e339a8186f043f378683f Author: darcagn <da...@pr...> Date: Wed May 8 19:37:14 2024 -0600 Add LRA option to environ.sh (#553) * Add LRA option to environ.sh * Apply suggestions from code review Co-authored-by: Falco Girgis <gyr...@gm...> --------- Co-authored-by: Falco Girgis <gyr...@gm...> ----------------------------------------------------------------------- Summary of changes: doc/environ.sh.sample | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/doc/environ.sh.sample b/doc/environ.sh.sample index f53ad3a2..fadb0529 100644 --- a/doc/environ.sh.sample +++ b/doc/environ.sh.sample @@ -161,13 +161,13 @@ export KOS_CFLAGS="${KOS_CFLAGS} -fno-builtin" # however, they do so at the price of accuracy and are not IEEE compliant. # NOTE: This also requires -fno-builtin be removed from KOS_CFLAGS to take effect! # -# export KOS_CFLAGS="${KOS_CFLAGS} -ffast-math -ffp-contract=fast -mfsrra -mfsca" +#export KOS_CFLAGS="${KOS_CFLAGS} -ffast-math -ffp-contract=fast -mfsrra -mfsca" # SH4 Floating Point Arithmetic Precision # # KallistiOS only officially supports the single-precision-only floating-point -# arithmetic mode (-m4-single-only), but double precision default (-m4) or -# double precision, single default (-m4-single) modes can be enabled here by +# arithmetic mode (-m4-single-only), but double precision, single default +# (-m4-single) or double precision default (-m4) modes can be enabled here by # adjusting KOS_SH4_PRECISION. # WARNING: Adjusting this setting has a high likelihood of breaking KallistiOS, # kos-ports, and existing codebases which assume -m4-single-only. @@ -177,6 +177,16 @@ export KOS_CFLAGS="${KOS_CFLAGS} -fno-builtin" # export KOS_SH4_PRECISION="-m4-single-only" +# Use LRA (Local Register Allocator) Pass +# +# Uncomment this line to use the modern Local Register Allocator pass during +# code generation instead of the default older reload pass. This option is +# known to be unstable or less performant for SH at this time, but will likely +# become mandatory in future versions of GCC, so feel free to help us test. +# Only enable this setting if you understand what you are doing! +# +#export KOS_CFLAGS="${KOS_CFLAGS} -mlra" + # Additional Tools Path # # If not already set, add "bin" directory to PATH variable, which is where @@ -194,4 +204,3 @@ fi # options or see where other build flags are set, look at this file. # . ${KOS_BASE}/environ_base.sh - hooks/post-receive -- A pseudo Operating System for the Dreamcast. |