[Issue 5612] core.cpuid not implemented on 64

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Feb 20 02:54:41 PST 2011


http://d.puremagic.com/issues/show_bug.cgi?id=5612



--- Comment #4 from Russel Winder <russel at russel.org.uk> 2011-02-20 02:51:59 PST ---
I don't agree this is an enhancement, it is a bug, even if the 64-bit stuff is
in early days.  OpenMP, OpenMPI, just::thread and all the other C, C++ and
Fortran paralellism frameworks handle this correctly.

Why is this being handled by assembly code, all the operating systems must have
APIs for handling this?

Of course with Mac hardware with 64-bit processors where the boot ROM is 32-bit
the OS boots 32-bit -- since Mac OS X refuses to boot 64-bit in this case. 

A hypothesis:  the current assembly code can only deal with a single processor
which is why it reports 4 in 32-bit mode on my dual quad-core workstation.  If
this is the case should a new bug be raised or can this be handled here?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list