AMD-64

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Jaymin

AMD-64

Post by Jaymin »

hello all!
just wondering if anyone has some example code for enabling long mode on x86-64?
thanks alot ;D
User avatar
bubach
Member
Member
Posts: 1223
Joined: Sat Oct 23, 2004 11:00 pm
Location: Sweden
Contact:

Re:AMD-64

Post by bubach »

maybe this "white paper" on amd64 can help you?

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

/ Christoffer
"Simplicity is the ultimate sophistication."
http://bos.asmhackers.net/ - GitHub
Jaymin

Re:AMD-64

Post 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?
Dreamsmith

Re:AMD-64

Post 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.
Post Reply