Yes, _rotl is an intrinisc. But it is only MSVC intrinsic. GCC and clang doesn't provide such. Fo…
In handmade_intrinsics.h:
1
2
3#if COMPILER_MSVC
uint32 Result = _rotl(Value, Amount);
#else…
And the SoC they use is Allwinner. They are know to violate GPL and not providing all the source …
The kickstarter project page claims that the system will be fully open source, but the GPU they c…
Ale —
I just I wanted to know what do you do guys after a HMH streaming, do you play around with the co…
EDIT: I am leaving this as a shaming lesson for myself and others. For some reason my bitwise &g…
As far as I can see it will run some kind of Linux as its standard OS. So by default HH Linux por…
(I guess is too soon to say, so I'll speculate.)
My guess is that if Casey started writing the a…
When you say GPU, does Intel HD graphics count? I know it is an integrated one, and doesn't compa…
That's good to hear because at my work I use inline and gcc at lot and I don't want to go back an…
Microsoft thought it would be ok to make you run a batch file everything you close and open your …
I literally just saw this a few minutes ago and when I saw it was fully open source I thought I s…
Fabian Giesen's explanation makes a lot of sense:
https://twitter.com/rygorous/status/59694983151…
For CPU cache profiling there's also Cachegrind (part of the Valgrind suite). It's a linux-only o…
+1 for the #include <x86intrin.h> and support for BEGIN_TIMED_BLOCK on other compilers. It …
I don't think that was the reason to choose SSE2. I would guess Casey will ship also 32-bit binar…
mmozeiko He said he will require user to have SSE2 capable CPU, so he freely uses any SSE or SSE2…
You would do it like this:
1
2
3
4
5
6
7
8
9
10
11#if COMPILER_MSVC
#define GET_CYCLE_CO…
Thank you for this thread, Jez! Perhaps the #include line was too obvious for the internet to men…
I would prefer that BEGIN_TIMED_BLOCK, END_TIMED_BLOCK and END_TIMED_BLOCK_COUNTED macros would b…
In this case inlining is not the problem in a sense that it "replicates" function body. Compiler …
Jez —
Hi Casey,
Would it be possible to get you to make a couple of updates to your codebase for those…
Not sure if this is relevant or if it explains the reason
"The problem with inline functions is …
You don't need to worry about folder where live-editing loop files are stored. Casey wrote code f…
Trevor —
That fixed it!! Thanks!
I dont know why I changed it. Dident casey say at a later episode that w…
How are you running executable? From Visual Studio? Have you set correct current working director…
Trevor —
Hey everyone,
Is there something im missing when is comes to loading BMPs?
From what I can get …
When you write C code like "a = b * c" compiler will convert that to multiply instruction. There …
If you have use for IPP then sure, use it. But for fairly simply stuff like what we see and will …
Hello everyone,
do anyone have any say about IPP? how does it stands up to just coding your own c…