Submit

Back to the RSS Reader

purplesyringa's blog

64 items · latest · The site

  1. Superoptimizing an FPU emulator purplesyringa.moe ·

    Superoptimization is the process where a compiler automatically finds the optimal sequence for a loop-free sequence of instructions. – Wikipedia Compilers are good at making mechanical transformations that make code faster. Unfortunately, most of them are not as good at non-trivial reasoning, so they can’t invent a completely novel approach to solving your problem. When designing a library for floating-point calculations, I had to implement a function that takes a float f and produces a...

  2. Things I wish I knew before starting speedrunning purplesyringa.moe ·

    I started speedrunning Minecraft a while ago. It’s an interesting niche with many tutorials and a helpful community, so all the information you need is freely available. But I used to struggle a lot, because it wasn’t clear to me how to learn to execute this stuff – partially because my hand-eye coordination and reaction time suck, but also because most of the advice on improving mechanics is literally “play more”, and for me personally familiarity doesn’t easily translate into improvements....

  3. Who is vfmaddrnd231pd?? purplesyringa.moe ·

    vfmaddrnd231pd is a unique instruction from the FMA instruction set. Most instructions in that set have mnemonics like vfmadd231pd, but here rnd means something very specific. The Intel Software Development Manual documents it as: VFMADDRND231PD – Fused Multiply-Add of Packed Double-Precision Floating-Point Values with rounding control […] The immediate byte defines several bit fields that control rounding, DAZ, FTZ, and exception suppression (See Table 5-3).

  4. Vectorized CLZ and CTZ purplesyringa.moe ·
  5. Grieving the loss of details purplesyringa.moe ·
  6. Write while learning purplesyringa.moe ·
  7. Don't call yourself an artisanal programmer purplesyringa.moe ·
  8. The NX bit is not just about security purplesyringa.moe ·
  9. accept() and socket inheritance purplesyringa.moe ·
  10. DuplicateHandle works on sockets, mostly purplesyringa.moe ·
  11. Race-free handle inheritance, maybe purplesyringa.moe ·
  12. std::process::Command is a bad citizen on Windows purplesyringa.moe ·
  13. Impressions of Teal purplesyringa.moe ·
  14. Thoughts on "SIMD in Pure Python" purplesyringa.moe ·
  15. log is non-monotonic in PHP and Lua purplesyringa.moe ·
  16. Sorted rank coding purplesyringa.moe ·
  17. Quadrupling code performance with a "useless" if purplesyringa.moe ·
  18. Optimal parse with phminposuw purplesyringa.moe ·
  19. Does technical blogging spark joy? purplesyringa.moe ·
  20. Suffix BWT vs cyclic shift BWT, and fast computation purplesyringa.moe ·

Search posts