This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] A new meta intrinsic header file for current and future x86 instrinsics.
- From: "Andrew Pinski" <pinskia at gmail dot com>
- To: "H.J. Lu" <hjl dot tools at gmail dot com>
- Cc: "Chris Lattner" <clattner at apple dot com>, "rajagopal, dwarak" <dwarak dot rajagopal at amd dot com>, "Uros Bizjak" <ubizjak at gmail dot com>, "Richard Guenther" <richard dot guenther at gmail dot com>, "Guo, Xuepeng" <xuepeng dot guo at intel dot com>, gcc-patches at gcc dot gnu dot org, jakub at redhat dot com, "Ye, Joey" <joey dot ye at intel dot com>, "Lin, Weiliang" <weiliang dot lin at intel dot com>, "Harle, Christophe" <christophe dot harle at amd dot com>, "Sebastian Pop" <sebpop at gmail dot com>
- Date: Fri, 21 Nov 2008 10:59:47 -0800
- Subject: Re: [PATCH] A new meta intrinsic header file for current and future x86 instrinsics.
- References: <820531547ADB6847AF89CC220F6128F1737F@pdsmsx001.ccr.corp.intel.com> <5787cf470811192337q7ee8ae1eid0e296650f1d9fdb@mail.gmail.com> <84fc9c000811200213w13f1774cif607d50cfad5741d@mail.gmail.com> <5787cf470811200230n61a73f4dn43ba4c1cfbb5520c@mail.gmail.com> <9E1304B144EBEB4C97F4162BFAC4788602D3AAB5@SAUSEXMB2.amd.com> <6dc9ffc80811210941h35b40f8hfb4e60aa96b80426@mail.gmail.com> <9E1304B144EBEB4C97F4162BFAC4788602D3AAC8@SAUSEXMB2.amd.com> <6dc9ffc80811211004o43630995o1221454dfd342513@mail.gmail.com> <EDA71DF9-E597-4F94-BE64-B3C9CA6E4BCE@apple.com> <6dc9ffc80811211055v7d879a3dr73a994c6b4e44dd5@mail.gmail.com>
On Fri, Nov 21, 2008 at 10:55 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> We can have <x86intrin.h> which has
>
> #include <immtrin.h> // ISA extensions from Intel
> #include <myISAintrin.h> // ISA extensions from AMD
> #include <yourISAintrin.h> // ISA extensions from XYZ
>
> Intel, AMD and XYZ can add new ISA extensions to
> their header files. It doesn't stop FOOBAR from
> creating a processor which implements ISAs
> from <immtrin.h>, <myISAintrin.h> and <yourISAintrin.h>.
But WHY???? Just have x86_intrinsics.h (spelled out too).
x86 architecture has become a mess because there is no standardization
between the companies. Even the Power ISA is now mostly controlled by
Power.org with standardization of the ISA happening there instead of
by IBM/Freescale.
Thanks,
Andrew Pinski