Some Assembly Required
AssemblyPerformance / optimizationCPU / microarchitectureLinux / Unix
- Posts
- 30 from 1 Jan 2012 to 17 Oct 2025
- Posting
- now and then
- Kind
- personal blog
- Feed
- https://mindfruit.co.uk/index.xml
2025 4
2024 4
2012 22
- Another vectorised bitwise-OR function for kdb+, AVX style
- A vectorised bitwise-OR function for kdb+
- Intel Performance Monitoring: Loose Ends
- Scripting MSR Performance Tests With kdb+: Part 2
- Scripting MSR Performance Tests with kdb+
- Fun With MSRs: Counting Performance Events On Intel
- Intel MSR Performance Monitoring Basics
- A Linux Kernel Module For Reading/Writing MSRs
- Interpreting readelf -r, in this case R_X86_64_PC32
- Relocations, Relocations
- The Trouble With FSUB
- A Caesar Cypher? Using SIMD? Why?
- The System V ABI “AMD64 Architecture Processor Supplement” stipulates that the stack should be aligned to a 16-byte boundary before calling a function. It provides the…
- It’s been a while since the last post, and I can confidently say that I understand one or two percent of the new (well, new to me) world of AVX instructions. There was the…
- Well, here it is, the ubiquitous “Hello, World!” example.
- If you’ve been inquisitive enough to read the “About” pages1 you’ll see that my day job involves writing software in Java. To that end, I’ve put together some code which…
- Hi there,
- This is now completely irrelevant as I’m now running this website using Quarto, which is completely brilliant. I thought I’d leave this in the catalogue as it was my first…
- I wrote a 32-bit assembly application a while ago which performed the simple task of printing out the program arguments and then the environment variables. Most people have…
- Atomic instructions are used by the OS to provide higher-level concurrency constructs such as locks and semaphores. Probably the best known is the cmpxchg instruction, which…
- I didn’t know how jump tables were assembled prior to starting this investigation, and as anyone interested in assembly code will testify, using Google doesn’t really help…
- So, given the ability to build a jump table for a range of inputs, it would be useful to transform a given input value onto one of the valid options for that table. If you…