AMD64, ia-64, x86-64, EM64T ... someone, an aspirine, please

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
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

AMD64, ia-64, x86-64, EM64T ... someone, an aspirine, please

Post by Pype.Clicker »

okay, seems like we're running in big confusion here and intel documentation doesn't especially help ...

On [url=http://www.osdev.org/osfaq2/index.php/Tell%20me%20about%20x86%2064%20bits%20CPU%20...]
OSFAQ: Tell me about x86 64 bits CPU ...[/url], solar states that
This page tries to clear ideas about x86-64 CPUs . [Intel EM64T] ( Itanium) are *really* a different beast and not addressed here.
On the other side, in Intel's FAQ, i can read that
"Q9: Is it possible to write software that will run on Intel's processors with Intel? EM64T, and AMD's 64-bit capable processors?
A9: Yes, in most cases. Even though the hardware microarchitecture for each company's processor is different, the operating system and software ported to one processor will likely run on the other processor due to the close similarity of the instruction set architectures (...)
And further reading the FAQ tells me that the XEON (not itanium) are using EM64T ... iirc, the itanium technology (featuring completely new -- or so called -- Explicit Parallel Instruction Code) was IA-64

It also looks that, beyond the usual 3D-now vs SSE dilemma, both EM64T and x86-64 are the same even if we clearly fail to see a mention of one's technology in the other's manual ...

Any confirmation before we state the RealTruth (tm) in the FAQ is welcome ...
AR

Re:AMD64, ia-64, x86-64, EM64T ... someone, an aspirine, ple

Post by AR »

Simply put: (AMD64 == x86-64 == EM64T) != IA-64

There's an article on Wikipedia: http://en.wikipedia.org/wiki/EM64T that says as much
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re:AMD64, ia-64, x86-64, EM64T ... someone, an aspirine, ple

Post by Solar »

So it was my fault when I assumed that the new page [Intel EM64T] referred to Itanium. Sorry.
Every good solution is obvious once you've found it.
smiddy

Re:AMD64, ia-64, x86-64, EM64T ... someone, an aspirine, ple

Post by smiddy »

I created that page from the FASM page. Since FASM does do EM64T and AMD64. I don't know if there are plans for IA-64. I downloaded Intels manuals for it but haven't had the opportunity to do a cursory overview yet. There is also an Itanium Assembler that is included in their C++ compiler. I haven't gotten that downloaded yet either. But, suffice it to say, Itanium is a different animal all together. EM64T is used in XEON processors for 64-bit extensions mainly for their servers, as I read it last night.

BTW, what do I need to do to get an account for the Wiki, if that is possible, so a stamp from me gets associated with the pages I create? I know generally you will be able to tell from my IPs but I haven't found a register option so I haven't yet.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re:AMD64, ia-64, x86-64, EM64T ... someone, an aspirine, ple

Post by Solar »

smiddy wrote: BTW, what do I need to do to get an account for the Wiki, if that is possible, so a stamp from me gets associated with the pages I create? I know generally you will be able to tell from my IPs but I haven't found a register option so I haven't yet.
Think of a user name to use in the Wiki - preferably one that is CamelCased so it's turned into a link (to your user page). Then enter that into the "Sign Up" field in the bottom right before you hit "Submit".

That's it. No password, no double-opt-in. Just edit.
Every good solution is obvious once you've found it.
smiddy

Re:AMD64, ia-64, x86-64, EM64T ... someone, an aspirine, ple

Post by smiddy »

Using Smiddy or smiDDy I get invalid userid or password. ???
mystran

Re:AMD64, ia-64, x86-64, EM64T ... someone, an aspirine, ple

Post by mystran »

As for the 3dNow vs. SSE thing, FYI:

Code: Select all

$ cat /proc/cpuinfo 
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 15
model           : 12
model name      : AMD Athlon(tm) 64 Processor 3000+
stepping        : 0
cpu MHz         : 2003.523
cache size      : 512 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 pni syscall nx mmxext lm 3dnowext 3dnow
bogomips        : 3923.96
The short version: AMD64 supports SSE1/2/3 just fine. In fact, GCC compiles all floating point code for SSE by default on x86-64.
smiddy

Re:AMD64, ia-64, x86-64, EM64T ... someone, an aspirine, ple

Post by smiddy »

Later on, after some trial and error...
Solar wrote:Think of a user name to use in the Wiki - preferably one that is CamelCased so it's turned into a link (to your user page). Then enter that into the "Sign Up" field in the bottom right before you hit "Submit".

That's it. No password, no double-opt-in. Just edit.
smiddy wrote: Using Smiddy or smiDDy I get invalid userid or password. ???
I was able to get in with MrSmiddy, so I suppose both Smiddy and smiDDy had been use previously? Anyhow, there is a page marks Smiddy that can be removed...I was thinking if I created the page that would help, but alas it didn't. There is a MrSmiddy page with some info on it. Thanks for the help.
User avatar
Colonel Kernel
Member
Member
Posts: 1437
Joined: Tue Oct 17, 2006 6:06 pm
Location: Vancouver, BC, Canada
Contact:

Re:AMD64, ia-64, x86-64, EM64T ... someone, an aspirine, ple

Post by Colonel Kernel »

"Smiddy" by itself is not a wiki word. Neither is "smiDDy", because it doesn't start with a capital letter. Wiki words are always PascalCase, and all user names must be wiki words AFAIK.
Top three reasons why my OS project died:
  1. Too much overtime at work
  2. Got married
  3. My brain got stuck in an infinite loop while trying to design the memory manager
Don't let this happen to you!
smiddy

Re:AMD64, ia-64, x86-64, EM64T ... someone, an aspirine, ple

Post by smiddy »

Thanks Gents, my ignorance is very apparent, isn't it? CamelBacked and WikiWikiWord, humm, terms I am certainly (previous to this post) have no idea about. I think that since MrSmiddy worked (Capital M to start, lower case, then Capital S, will work) I will keep it. Thanks again, and sorry about any confusion... ;)
Post Reply