Page 1 of 1

AMD-64

Posted: Fri Sep 17, 2004 6:28 pm
by Jaymin
hello all!
just wondering if anyone has some example code for enabling long mode on x86-64?
thanks alot ;D

Re:AMD-64

Posted: Sat Sep 18, 2004 8:18 am
by bubach
maybe this "white paper" on amd64 can help you?

http://www.amd.com/us-en/Processors/Pro ... 96,00.html

/ Christoffer

Re:AMD-64

Posted: Sat Sep 18, 2004 4:06 pm
by Jaymin
hmm... thanks but no it doesn't :)
i have some code from the AMD papers already but it fails to compile. now that i think of it im not sure djgpp supports 64bit. ill try compiling with gcc 3.4 in gentoo.
just out of curiousity is anyone else here developing on amd64?

Re:AMD-64

Posted: Sat Sep 18, 2004 4:44 pm
by Dreamsmith
Jaymin wrote:i have some code from the AMD papers already but it fails to compile. now that i think of it im not sure djgpp supports 64bit. ill try compiling with gcc 3.4 in gentoo.
One assumes you're using the amd64 version of Gentoo, not the x86 version, otherwise that won't work either. It's like sticking some PowerPC or SPARC assembly language instructions into your source code -- it ain't gonna work unless you're either running in that environment or you're using a cross-compiler.