Identification of 64 Bit AMD CPU
Posted: Wed Oct 10, 2007 9:19 am
Hi All,
I am just investigating a 64 bit extensions to my OS at the moment and am trying to identify whether long mode is available. On Intel, this seems pretty easy (CPUID EAX=1, returns in bit 30 of EDX), but according to the AMD manuals, bits 29:31 of EDX with CPUID EAX=1 are reserved (even in the latest PDF from their site).
Scanning the document, I can't find how to check if long mode is available. Does anyone know how I should do this (I have googled but may not be using the correct search term)?
Cheers,
Adam
I am just investigating a 64 bit extensions to my OS at the moment and am trying to identify whether long mode is available. On Intel, this seems pretty easy (CPUID EAX=1, returns in bit 30 of EDX), but according to the AMD manuals, bits 29:31 of EDX with CPUID EAX=1 are reserved (even in the latest PDF from their site).
Scanning the document, I can't find how to check if long mode is available. Does anyone know how I should do this (I have googled but may not be using the correct search term)?
Cheers,
Adam