Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
def-pri-pub
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
def-pri-pub
6mo ago
>> It also gets in the way of elegance and truth. Where did that come from in the article?
2.
▲
by
def-pri-pub
6mo ago
Thank you for linking that!
3.
▲
Even faster asin() was staring right at me
(16bpp.net)
124 points
by
def-pri-pub
6mo ago
|
64 comments
4.
▲
by
def-pri-pub
6mo ago
The reason for writing out all of the x multiplications like that is that I was hoping the compiler detect such a pattern perform an optimization for me. Mat Godbolt's "Advent of Compiler Optimizations" series mentions some
5.
▲
by
def-pri-pub
6mo ago
I did see that, but isn't the vast majority of that page talking about acos() instead?
6.
▲
by
def-pri-pub
6mo ago
I did scan some (major) open source games and graphics related project and found a few of them using `std::asin()`. I plan on submitting some patches.
7.
▲
by
def-pri-pub
6mo ago
Thanks!
8.
▲
by
def-pri-pub
6mo ago
When I was working on this project, I was trying to restrict myself to the architecture of the original Ray Tracing in One Weekend book series. I am aware that things are not as SIMD friendly and that becomes a major bottle neck. While I
9.
▲
by
def-pri-pub
6mo ago
You'd be surprised how it actually is worth the effort, even just a 1% improvement. If you have the time, this is a great talk to listen to: https://www.youtube.com/watch?v=kPR8h4-qZdk For a little toy ray tracer, it
10.
▲
by
def-pri-pub
6mo ago
Funny enough that fdlimb implementation of asin() did come up in my research. I believe it might have been more performant in the past. But taking a quick scan of `e_asin.c`, I see it doing something similar to the Cg asin() implementatio
11.
▲
by
def-pri-pub
6mo ago
These are books that my uni courses never had me read. I'm a little shocked at times at how my degree program skimped on some of the more famous texts.
12.
▲
by
def-pri-pub
6mo ago
Wait, what? Do you have a resource I could read up on about that? That is moderately concerning if your math isn't portable across chips.
13.
▲
by
def-pri-pub
6mo ago
> floating point bithacks The forbidden magic
14.
▲
Faster asin() was hiding in plain sight
(16bpp.net)
263 points
by
def-pri-pub
6mo ago
|
130 comments
15.
▲
[C++] Free Functions Don't Change Performance (Much)
(16bpp.net)
2 points
by
def-pri-pub
11mo ago
|
0 comments
16.
▲
When Greedy Algorithms Can Be Faster [C++]
(16bpp.net)
63 points
by
def-pri-pub
2y ago
|
29 comments
17.
▲
C++'s `noexcept` can sometimes help or hurt performance
(16bpp.net)
100 points
by
def-pri-pub
2y ago
|
163 comments
18.
▲
Random Art in Nim (with OpenGL rendering too)
(16bpp.net)
2 points
by
def-pri-pub
10y ago
|
0 comments