In article <[email protected]>,
Felix Deichmann  <[email protected]> wrote:
>Am 22.11.2015 um 15:38 schrieb Christos Zoulas:
>> Can you please compile and run this and tell me what it prints?
>> [...]
>
>486# ./cpuid_test
>0
>
>corei5# ./cpuid_test
>run 200292 292
>5
>
>Looks like correct behaviour.

Hmm, so what's going on here? Is the code being miscompiled? Did you
compile with -O2? Also can you move the "run" printf before the test
so it prints even when it returns 0?

christos

Reply via email to