17 points

Gentoo users in shambles

permalink
report
reply
19 points

Bah, they’ll never have my precious -march=native!

permalink
report
parent
reply
1 point

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

permalink
report
parent
reply
3 points

Jokes on you, my system is (mostly) -O3

permalink
report
parent
reply
1 point

too fancy for -O2? lol

permalink
report
parent
reply
2 points

Yes

permalink
report
parent
reply
-1 points

How do they avoid the subsequent bugs O3 tends to produce?

permalink
report
reply
10 points

They don’t.

permalink
report
parent
reply
5 points

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

permalink
report
parent
reply
9 points
-3 points

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

permalink
report
reply
-3 points

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

permalink
report
reply
9 points

-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?

permalink
report
parent
reply
5 points

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.

permalink
report
parent
reply
1 point

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

permalink
report
parent
reply
1 point

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.

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word “Linux” in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

Community stats

  • 8K

    Monthly active users

  • 3.7K

    Posts

  • 48K

    Comments