Search found 2 matches

by dyaitskov
2020-05-14, 7:57:56
Forum: Agner's CPU blog
Topic: Optimization manuals
Replies: 9
Views: 96294

Re: Optimization manuals

Sorry,



I found what I was looking for

https://graphics.stanford.edu/~seander/bithacks.html

Over the years these papers got mixed in my head.
by dyaitskov
2020-05-14, 6:32:30
Forum: Agner's CPU blog
Topic: Optimization manuals
Replies: 9
Views: 96294

Re: Optimization manuals

Hi Agner, I was reading your book, Optimization C++, many years ago. Today I wanted to find arithmetic hacks and I wasn't able to do that. I checked random older versions on internet archive. I remember hacks such as: An int value is treated as a vector of bytes (simulation SIMD in plain C) Add numb...