NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD/i386 7.0 hangs booting 486



In article <5651E257.1050808%gmail.com@localhost>,
Felix Deichmann  <m4j0rd0m0%gmail.com@localhost> 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



Home | Main Index | Thread Index | Old Index