|
You are here |
probablydance.com | ||
| | | | |
coredumped.dev
|
|
| | | | | In this post, we are going to take a deep dive into pointer tagging, where metadata is encoded into a word-sized pointer. Doing so allows us to keep a compact representation that can be passed around in machine registers. This is very common in implementing dynamic programming languages, but can really be used anywhere that additional runtime information is needed about a pointer. We will look at a handful of different ways these pointers can be encoded and see how the compiler can optimize them for diff... | |
| | | | |
basesandframes.wordpress.com
|
|
| | | | | Download Presentation part 1 Download Presentation part 2 I was trying to interpolate a scaling function on an SPU on PS3 and realized, this device has no math library. How do you write powf() without access to libm? The IEEE754 standard for floating point numbers only covers five fundamental functions - addition, subtraction, multiplication, division... | |
| | | | |
blog.m-ou.se
|
|
| | | | | A few years ago, due to some random chain of events, I ended up implementing a conversion from 128 bit integers to 64 bit floats. This would've turned out to be a complete waste of time, except that my final version is faster than the builtin conversion of every compiler I tested. In this blog post, I'll explain what happened, how floats work, how this conversion works, and how it got a bit out of hand. | |
| | | | |
wiki.openssl.org
|
|
| | | |||