Today was a fairly... mediocre day. I got paid for a script I wrote (some JavaScript) earlier and that was a fairly good part of the day. It's sad that money is such an integrated part of our happyness.
I started writing a low-level library in C. It's a library of memory copy/set/clear/move/compare operations that are heavily optimized for the x86 and x86-64 architectures. I use SSE (2 and 4.1 mostly) to control large blocks of memory without filling up the caches due to a lot of small memory transfers. I'm particularly fond of the MOVNTDQA SSE4.1 instruction. The library will be released under the MIT license and currently only has memory_copy(x,y,z) and memory_clear(x,y) functions. It's designed to be very OS independant (not *that* hard due to the low-level nature of it) and should only end up relying on some basic typedefs (size_t) and CPUID structures (for feature parsing of SSEx capabilities).
The Lord of the Rings trilogy (extended versions) came today via NetFlix (which is awesome). Time to drone out for ~7-9 hours while I drool to epic battle scenes.
A grilled cheese sandwich is in order!
Stay Tuned,
Josh
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment