The MASM Forum Archive 2004 to 2012

General Forums => The Workshop => Topic started by: hamids on April 22, 2011, 05:30:39 AM

Title: Assembler/Compiler for new processor family
Post by: hamids on April 22, 2011, 05:30:39 AM
Hi all,

recently when intel launched new Core family processor, all its mac product line computer had to boot in I386 mode, but soon enough Apple released kernel compatible to Core or Nehlam core .


the chip manufacturing company -Intel, AMD, etc- constantly come up with new processor families, which either supercede earlier product line or totally different technology.

I wonder how compiler /assembler  are keep up with the progress in H/W technology. optimize performance instead doling out legacy code only

Title: Re: Assembler/Compiler for new processor family
Post by: hutch-- on April 22, 2011, 05:46:12 AM
Probably much the same as anyone else, they download the Intel manuals for each new release. It is most probably the case that major compiler companies have existing arrangments with both Intel and AMD to get the processor info as early as possible.
Title: Re: Assembler/Compiler for new processor family
Post by: donkey on April 22, 2011, 06:51:25 AM
Open a developer account at Intel and like the rest of us you will get emails and technical specs on upcoming products.
Title: Re: Assembler/Compiler for new processor family
Post by: hamids on April 23, 2011, 07:28:53 PM
Quote from: hutch-- on April 22, 2011, 05:46:12 AM
Probably much the same as anyone else, they download the Intel manuals for each new release. It is most probably the case that major compiler companies have existing arrangments with both Intel and AMD to get the processor info as early as possible.

in that case do they have to start from the scratch  or the add new code leveraging on the new features ?
Title: Re: Assembler/Compiler for new processor family
Post by: hutch-- on April 24, 2011, 12:55:11 AM
There is probably no generalisable answer to your question but as would be the case with most, they upgrade their compilers on a needs basis for processor features.
Title: Re: Assembler/Compiler for new processor family
Post by: Twister on April 24, 2011, 07:22:13 PM
The developers get the document specifications, private hardware for testing from the companies before the public release.

They add new features, take some out, optimize others; you will see most of that in the change logs.
Title: Re: Assembler/Compiler for new processor family
Post by: clive on April 25, 2011, 01:07:47 AM
Quote from: hamids
I wonder how compiler /assembler  are keep up with the progress in H/W technology. optimize performance instead doling out legacy code only

We read the technical reference manuals and documentation.

Even before the existence of a specific piece of hardware it is possible to write cross assemblers and compilers that can target wholly different architectures than the host.
Title: Re: Assembler/Compiler for new processor family
Post by: vanjast on May 03, 2011, 09:35:19 PM
Quote from: donkey on April 22, 2011, 06:51:25 AM
Open a developer account at Intel and like the rest of us you will get emails and technical specs on upcoming products.
I've learn't something new today.. thank you... woooff  :green2