View Single Post
Old 12 December 2021, 00:28   #37
FrodeSolheim
FS-UAE Developer
 
FrodeSolheim's Avatar
 
Join Date: Dec 2011
Location: Førde, Norway
Age: 43
Posts: 4,043
When I compile FS-UAE 4 for Raspberry Pi 4 I only (at the moment) use

Code:
export CFLAGS="-g -O3 -march=armv8-a"
export CXXFLAGS="-g -O3 -march=armv8-a"
I did *some* performance testing with other flags such as -mcpu=cortex-a72 and floating point options, but didn't see any significant difference. So I went with "generic ARM8" options for now, for builds intended for the RPi4. But my testing was mainly with A500 emulation. Floating point options can very well have a significant effect on FPU emulation (don't know, haven't tested)! But there was a noticeable difference going from -O2 to -O3.

I strongly recommend using options to enable 16-bits video and texture formats btw. This speeds up rendering and overall performance quite a bit.

Lowering audio frequency probably helps in theory, but I don't think there will be significant savings there. You could test though.
FrodeSolheim is offline  
 
Page generated in 0.04406 seconds with 11 queries