You might want to try measuring the performance of TLS on those platforms.
I don't have a Windows machine handy, but last time I worked in this area, the page size was 64kB…
Decrementing semaphore happens only on WaitForsingleObject function call. If InterlockedCompareExc…
elle —
Yes, I understand, but if a thread fails to get an entry, now, it will also decrement the semaphor…
Hey guys, I figured it out. For those who got the same bug. On the GameOutputSound function, I was…
Yes, but they will try to do it and fail. That's why we use InterlockedCompareExchange instructio…
I don't have the code in front of me right now, but I believe WeShouldSleep is only set to true i…
elle —
Right now in the doNextWorkQueueEntry function, we first check if nextEntry < entryCount and if th…
You're right of course. If the hardware resource doing SIMD operation X is busy, the other hyperth…
I started following HMH back in December and my coding style has been rapidly mutating towards Cas…
This is very cool. I wish Sony would open Native SDK for Vita for everybody, not just the managed …
You can look at this a lot like the port pressure stuff we were doing with IACA. With HyperThread…
The point here is that the only possible way to actually have what you're talking about work is if…
In theory, as long as the SIMD unit executes only one hyperthread's stuff at a time it'll be as fa…
I was wondering if it is possible to combine HT with SIMD. They are different types of parallelism…
Hey guys. I've got a bug on the code, after to watch the video "Day 012 - Platform-independent Sou…
Aidan —
So I recently got access to a PS Vita Dev Kit through the PlayStation First program where they giv…
Makes sense. I guess I'm more curious about there being some OS magic in between releasing semapho…
If there's a performance gain to be had, it's more likely to be in having the job queue take n job…
Good video. I liked the "juggling razorblades" analogy.
Yep, it makes sense and I agree it's the better option. I was initially thinking the implementatio…
To clarify on the anti-aliasing: Since we are always drawing from bitmaps which have alpha-blended…
There's really no such thing as non-32-bit-aligned 32-bit value on the stack unless you really go …
What other platforms are you talking about? You have working TLS also on Linux, OSX, Android and i…
The point of the queue here is not to maximize the amount of sleeping, but rather minimize the amo…
We haven't really gotten to the point where we need to start caring about thread_context. It's re…
I was wondering what the purpose of thread_context is now that multi-threading has added to HH. Do…
Such approach is fine. It will work. Just don't forget to increase max count. Semaphore value has …
If I was to implement something like this I'd probably go the route of the WaitForSingleObjectEx e…