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};