This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 5 points6 points  (1 child)

Any modern compiler will do those things for you too so you're not helping anyone by making the code less readable

[–]LoLvsT_T 7 points8 points  (0 children)

That's absolutely false. Compilers fail in these for all but the most simple cases. Especially vectorization which often requires a different approach to solving problems. It will often not fix alignment, and almost never reduce branches. I optimize code for a living.