Chips-fr / uae4arm-rpi

Port of uae4arm on Raspberry Pi and Libretro
73 stars 42 forks source link

Add RPI3 platform target #55

Closed ronaegis closed 3 years ago

ronaegis commented 6 years ago

Add Raspberry Pi 3 specific build options to the Makefile

Chips-fr commented 6 years ago

Have you seen real improvements using specific cpu flag for rpi3 ? From the tests i made some time ago this wasn't giving any benefit...

ronaegis commented 6 years ago

I haven't done any synthetic benchmarks, but these are the "recommended" compile flags for the rpi3. There is a discussion thread here: https://www.raspberrypi.org/forums/viewtopic.php?p=952086&sid=9ac75308d0f6bfc0dc87cf816fdc2600#p952086

It might not give any benefits yet, but maybe in future GCC versions, the specific ARM code generation might be improved, and it wouldn't hurt to build for the right CPU platform.

Also ideally, the Makefile should autodetect the platform (by parsing /proc/cpuinfo).

madmonkey1907 commented 6 years ago

parsing /proc/cpuinfo is a bad idea for cross-compilation

Chips-fr commented 3 years ago

No real gain