Spyke

I doubt they want my fun and safe math optimizations either tbh

1
fossphireply
lemm.ee

First time I'm hearing of this. Do you have some more details?

5

Not like Ubuntu works very well on old hardware but hopefully O2 support will still be there. Many people need it.

-3
lemmy.world

-O2 vs -O3 adds -fgcse-after-reload -fipa-cp-clone -floop-interchange -floop-unroll-and-jam -fpeel-loops -fpredictive-commoning -fsplit-loops -fsplit-paths -ftree-loop-distribution -ftree-partial-pre -funswitch-loops -fvect-cost-model=dynamic -fversion-loops-for-strides

I don't think any of these optimizations require more modern hardware?

9
themokenreply
startrek.website

Right. GCC -f optimizations are basically like "how hard are we going to try to be clever" and are, I believe, orthogonal to the actual instructions used. Machine dependent args start with -m, like -march or -mavx etc.

5

I was reasonably certain, but left it open in case OP knew of some edge case where flags that are intended to be machine independent caused bugs on different architectures

1

Yeah, adding a separate microarchitecture like amd64v3 would be a separate item. They might be able to do that with amd64v3 overlay repos that only contain packages that most benefit from the newer microarchitecture.

1

op-ti-mize [verb (trans.)]* … (gcc) to modify executable code so that it fails more quickly.

-3

You reached the end

Ubuntu 25.04 "Plucky Puffin" Development Opens - Defaulting To -O3 Optimizations | Spyke