From 5bc8114e5f7375dbfcc073c338d011e9f9bf00b9 Mon Sep 17 00:00:00 2001 From: Zack Buhman Date: Fri, 9 May 2025 01:17:47 -0500 Subject: [PATCH] enable fsrra --- common.mk | 2 +- example/door.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common.mk b/common.mk index e822251..7856f20 100644 --- a/common.mk +++ b/common.mk @@ -4,7 +4,7 @@ GENERATED ?= AARCH = --isa=sh4 --little CARCH ?= -m4-single-only -ml -CFLAGS += -mfsca -funsafe-math-optimizations -ffast-math +CFLAGS += -mfsca -mfsrra -funsafe-math-optimizations -ffast-math OBJARCH = -O elf32-shl -B sh4 diff --git a/example/door.cpp b/example/door.cpp index 3036fa1..b9870bc 100644 --- a/example/door.cpp +++ b/example/door.cpp @@ -367,7 +367,7 @@ mat4x4 translate(vec3 t) }; } -//mat4x4 rodrigues(vec4 r) __attribute__ ((optimize(1))); +mat4x4 rodrigues(vec4 r) __attribute__ ((optimize(1))); mat4x4 rodrigues(vec4 r) { const vec3 k = {r.y, r.z, r.w};