Skip to content

u/iCapa

In this archive from May 2015 to Mar 2023

2
posts
19
comments
1
media
52
score

Top posts

Top comments

Or maybe one day you'll get interested in a compiler, recompile your system with -O3 -funroll-loops -ftree-loop-linear -ftracer -floop-interchange -floop-parallelize-all (or whatever other set of cool sounding CFLAGS you want) to see that, yes, indeed it doesn't increase system performance and yes, it makes some packages randomly segfault ;)

You can actually do this on Arch easily too! Edit /etc/makepkg.conf and it will be applied for almost every PKGBUILD. You do need to compile some things from the AUR manually. You can also use ASP to recompile prebuilt packages. I did this for gnome-shell and mutter.

I believe saying "it doesn't increase system performance" is wrong, though.

I use

CFLAGS="-march=native -O3 -pipe -fstack-protector-strong -fno-plt -floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-block -flto=8 -ftree-vectorize"

CXXFLAGS="$CFLAGS"

currently, but I'm rather inexperienced here and still tweaking things. Also considering using Clang + Polly + LTO. :)

12 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.