RE: [Patch] asm workarounds in generic header files

From: Nakajima, Jun
Date: Wed Sep 10 2003 - 00:53:21 EST


Yes, ECC is only for IA-64. ICC is for x86. ICC does not require
intrinsics because it supports asm inline, and it can build the kernel.
Please look at
http://lists.insecure.org/lists/linux-kernel/2002/Oct/8790.html for
example.

Note that asm inline support is just one of many GCC extensions required
to build the kernel, and for optimization purposes Intel compiler for
IA-64 chose not to support inline asm, but it uses intrinsic to do the
equivalent things.

Thanks,
Jun

> -----Original Message-----
> From: Andrew Morton [mailto:akpm@xxxxxxxx]
> Sent: Tuesday, September 09, 2003 10:08 PM
> To: Siddha, Suresh B
> Cc: davidm@xxxxxxxxxx; torvalds@xxxxxxxx; jes@xxxxxxxxxxxxxxxxxx;
> hch@xxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; Nakajima, Jun;
Mallick,
> Asit K
> Subject: Re: [Patch] asm workarounds in generic header files
>
> "Siddha, Suresh B" <suresh.b.siddha@xxxxxxxxx> wrote:
> >
> > --- linux/include/linux/compiler-intel.h Wed Dec 31 16:00:00 1969
> > +++ linux-/include/linux/compiler-intel.h Tue Sep 9 21:34:19 2003
> > @@ -0,0 +1,21 @@
> > +/* Never include this file directly. Include <linux/compiler.h>
> instead. */
> > +
> > +#ifdef __ECC
> > +
> > +/* Some compiler specific definitions are overwritten here
> > + * for Intel ECC compiler
> > + */
> > +
> > +#include <asm/intrinsics.h>
>
> This is ia64-only, yes?
>
> Where do we stand with ECC/ia32 support?

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/