GenPi64 / gentoo-on-rpi-64bit

Bootable 64-bit Gentoo image for the Raspberry Pi4B, 3B & 3B+, with Linux 5.4, OpenRC, Xfce4, VC4/V3D, camera and h/w codec support, weekly-autobuild binhost
GNU General Public License v3.0
55 stars 8 forks source link

CFLAGS assembly flags #32

Open ormorph opened 2 years ago

ormorph commented 2 years ago

Apha9 version. I noticed that the latest build has CFLAGS parameters in /etc/portage/make.conf. There is no -ftree-vectorize flag, it seems to work slower without it. Why is this compiler flag not enabled for the build now?

jonesmz commented 2 years ago

Are you basically wanting us to add additional compiler optimizations above and beyond the defaults set by gentoo?

The cflags currently in portage/make.conf are to specify the architecture of the machine.

ormorph commented 2 years ago

These flags were previously used when using genpi64 profiles link. These flags are now overridden by the CFLAGS option in /etc/portage/make.conf. It's just that this optimization accelerated some programs quite well. For example libsdl2.

jonesmz commented 2 years ago

OK. Thank you for pointing that out.

I would merge a pull request that fixes this problem.