gcc/gcc/config/i386
H.J. Lu 7c45393e40 config.gcc (extra_headers): Add ia32intrin.h for x86.
2009-06-16  H.J. Lu  <hongjiu.lu@intel.com>

	* config.gcc (extra_headers): Add ia32intrin.h for x86.

	* config/i386/i386.c (ix86_builtins): Add IX86_BUILTIN_BSRSI,
	IX86_BUILTIN_BSRDI.  IX86_BUILTIN_RDPMC, IX86_BUILTIN_RDTSC.
	IX86_BUILTIN_RDTSCP.  IX86_BUILTIN_ROLQI, IX86_BUILTIN_ROLHI,
	IX86_BUILTIN_RORQI and IX86_BUILTIN_RORHI.
	(ix86_special_builtin_type): Add UINT64_FTYPE_VOID,
	UINT64_FTYPE_PINT, INT_FTYPE_INT, UINT64_FTYPE_INT,
	INT64_FTYPE_INT64, UINT16_FTYPE_UINT16_INT and
	UINT8_FTYPE_UINT8_INT
	(bdesc_special_args): Add __builtin_ia32_rdtsc and
	__builtin_ia32_rdtscp.
	(bdesc_args): Add __builtin_ia32_bsrsi, __builtin_ia32_bsrdi,
	__builtin_ia32_rolqi, __builtin_ia32_rolhi, __builtin_ia32_rorqi
	and __builtin_ia32_rorhi,
	(ix86_init_mmx_sse_builtins): Handle UINT64_FTYPE_VOID,
	UINT64_FTYPE_PINT, INT_FTYPE_INT, UINT64_FTYPE_INT,
	INT64_FTYPE_INT64, UINT16_FTYPE_UINT16_INT and
	UINT8_FTYPE_UINT8_INT.
	(ix86_expand_args_builtin): Likewise.
	(ix86_expand_special_args_builtin): Likewise.

	* config/i386/i386.md (UNSPECV_RDTSCP): New.
	(UNSPECV_RDTSC): Likewise.
	(UNSPECV_RDPMC): Likewise.
	(*bsr): Removed to ...
	(bsr): This
	(*bsr_rex64): Removed to ...
	(bsr_rex64): This.
	(rdpmc): New.
	(*rdpmc): Likewise.
	(*rdpmc_rex64): Likewise.
	(rdtsc): Likewise.
	(*rdtsc): Likewise.
	(*rdtsc_rex64): Likewise.
	(rdtscp): Likewise.
	(*rdtscp): Likewise.
	(*rdtscp_rex64): Likewise.

	* config/i386/ia32intrin.h: New.

	* config/i386/x86intrin.h: Include <ia32intrin.h>.

From-SVN: r148554
2009-06-16 14:17:31 -07:00
..
ammintrin.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
athlon.md ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
atom.md atom.md: Add bypasses with ix86_dep_by_shift_count. 2009-04-20 10:09:25 -07:00
att.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
avxintrin.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
biarch32.h biarch32.h: New file. 2009-05-17 11:45:39 +02:00
biarch64.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
bmmintrin.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
bsd.h Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
constraints.md
cpuid.h cpuid.h (bit_MOVBE): New. 2009-05-21 11:42:20 -07:00
cross-stdarg.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
crtdll.h
crtfastmath.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
crtprec.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
cygming-crtbegin.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
cygming-crtend.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
cygming.h re PR target/39472 (Add -mabi=[ms|sysv]) 2009-03-27 15:22:30 -07:00
cygming.opt re PR target/37216 ([cygming] Invalid alignment for SSE store to .comm data generated with -O3) 2009-05-28 10:48:35 +00:00
cygwin1.c Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
cygwin2.c
cygwin-stdint.h cygwin-stdint.h (INTPTR_TYPE): Remove "long". 2009-04-19 21:15:01 +00:00
cygwin.asm Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
cygwin.h Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
darwin64.h
darwin-libgcc.10.4.ver ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
darwin-libgcc.10.5.ver ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
darwin.h Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
djgpp.h
djgpp.opt
driver-i386.c driver-i386.c (describe_cache): Optimize concatenation of strings. 2009-06-03 08:33:31 +02:00
emmintrin.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
freebsd64.h
freebsd.h
gas.h re PR inline-asm/39590 (inline asm %z on amd64 says "ll" instead of "q") 2009-04-25 10:10:51 +02:00
geode.md
gmm_malloc.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
gmon-sol2.c
gnu.h re PR target/28102 (GNU Hurd bootstrap error: 'OPTION_GLIBC' undeclared) 2008-11-14 00:28:46 +01:00
gstabs.h
gthr-win32.c Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
host-cygwin.c
host-i386-darwin.c
host-mingw32.c re PR bootstrap/39660 (Mingw Bootstrap stops with "..host-mingw32.c:140: error: ISO C90 forbids mixed..") 2009-04-08 08:02:48 +00:00
i386-c.c combine.c (record_value_for_reg): Change 0 to VOIDmode, twice. 2009-04-24 15:31:38 +00:00
i386-interix3.h
i386-interix.h Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
i386-modes.def Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
i386-protos.h tm.texi (TARGET_LEGITIMATE_ADDRESS_P): Refer mainly to this in the former documentation of... 2009-05-14 13:42:45 +00:00
i386.c config.gcc (extra_headers): Add ia32intrin.h for x86. 2009-06-16 14:17:31 -07:00
i386.h i386.c (OPTION_MASK_ISA_CRC32_SET): New. 2009-06-11 21:27:34 -07:00
i386.md config.gcc (extra_headers): Add ia32intrin.h for x86. 2009-06-16 14:17:31 -07:00
i386.opt i386.c (OPTION_MASK_ISA_CRC32_SET): New. 2009-06-11 21:27:34 -07:00
i386elf.h Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
ia32intrin.h config.gcc (extra_headers): Add ia32intrin.h for x86. 2009-06-16 14:17:31 -07:00
immintrin.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
k6.md
kfreebsd-gnu.h
knetbsd-gnu.h
kopensolaris-gnu.h configure.ac: Recognize GNU/kOpenSolaris (*-*-kopensolaris*-gnu). 2009-01-29 18:48:41 +00:00
libgcc-glibc.ver ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
linux64.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
linux-unwind.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
linux.h re PR target/39942 (Nonoptimal code - leaveq; xchg %ax,%ax; retq) 2009-05-16 09:09:52 +02:00
lynx.h
mach.h ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
mingw32.h re PR target/39472 (Add -mabi=[ms|sysv]) 2009-03-27 15:22:30 -07:00
mingw-stdint.h config.gcc (mingw32 tm_file): Add mingw-stdint.h. 2009-04-06 07:25:36 +00:00
mingw-tls.c mingw-tls.c: New file. 2009-05-30 11:05:56 +02:00
mingw-w64.h mingw-w64.h (STANDARD_INCLUDE_DIR): Redefine it to just use mingw/include. 2009-04-26 15:50:12 +02:00
mingw-w64.opt config.gcc: Add additional configuration for i686-w64-mingw* and x86_64-w64-mingw* triplet. 2009-04-21 18:41:14 +02:00
mingw.opt Fix PR/25502 2008-10-13 12:32:07 +02:00
mm3dnow.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
mmintrin-common.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
mmintrin.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
mmx.md i386.md (prefix_data16, prefix_rep): Set to 0 for TYPE_SSE{MULADD,4ARG,IADD1,CVT1} by default. 2009-05-29 18:59:31 +02:00
msformat-c.c msformat-c.c (ms_printf_length_specs): Use enumeration values even in sentinel and empty entries. 2009-05-14 00:59:33 +00:00
netbsd64.h
netbsd-elf.h
netbsd.h ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
netware-crt0.c
netware-libgcc.c
netware-libgcc.def
netware-libgcc.exp
netware.c alpha.c (alpha_need_linkage, [...]): Fix -Wc++-compat and/or -Wcast-qual warnings. 2008-07-02 06:43:45 +00:00
netware.h Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
nmmintrin.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
nto.h
nwld.c
nwld.h
openbsd.h
openbsdelf.h
pentium.md
pmm_malloc.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
pmmintrin.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
ppro.md Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
predicates.md i386.md (prefix_data16, prefix_rep): Set to 0 for TYPE_SSE{MULADD,4ARG,IADD1,CVT1} by default. 2009-05-29 18:59:31 +02:00
rtemself.h
sfp-machine.h re PR target/36669 (Wrong versioning for __float128) 2008-07-02 08:59:19 -07:00
smmintrin.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
sol2-10.h * config/i386/sol2-10.h [!HAVE_AS_IX86_DIFF_SECT_DELTA] 2009-01-29 16:06:53 +00:00
sol2-c1.asm Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
sol2-ci.asm Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
sol2-cn.asm Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
sol2-gc1.asm Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
sol2.h re PR bootstrap/40027 (i686-pc-solaris2.10 bootstrap fails using Sun ld) 2009-05-25 12:12:08 +00:00
sse.md i386.md (prefix_data16, prefix_rep): Set to 0 for TYPE_SSE{MULADD,4ARG,IADD1,CVT1} by default. 2009-05-29 18:59:31 +02:00
sync.md i386.md (cmpcc): New. 2009-04-09 10:57:03 +00:00
sysv4.h Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
t-crtfm
t-crtpc ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
t-crtpic
t-crtstuff
t-cygming Makefile.in (COMPILER, [...]): Define. 2009-05-26 14:02:04 +00:00
t-cygwin Makefile.in (COMPILER, [...]): Define. 2009-05-26 14:02:04 +00:00
t-darwin re PR target/36669 (Wrong versioning for __float128) 2008-07-02 08:59:19 -07:00
t-darwin64 t-darwin64: Add m32 multilib support. 2008-12-02 19:05:24 +01:00
t-djgpp
t-dw2-eh re PR target/38904 (Shared libgcc DLL violates Cygwin platform conventions.) 2009-01-31 18:52:00 +00:00
t-fprules-softfp re PR target/36669 (Wrong versioning for __float128) 2008-07-02 08:59:19 -07:00
t-gmm_malloc
t-gthr-win32 mingw-tls.c: New file. 2009-05-30 11:05:56 +02:00
t-i386 Makefile.in (COMPILER, [...]): Define. 2009-05-26 14:02:04 +00:00
t-i386elf
t-interix Makefile.in (COMPILER, [...]): Define. 2009-05-26 14:02:04 +00:00
t-linux re PR target/36669 (Wrong versioning for __float128) 2008-07-02 08:59:19 -07:00
t-linux64 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
t-mingw32 t-mingw32 (SHLIB_LC): Change order of import libraries. 2008-09-04 10:25:25 +02:00
t-mingw-w64 mingw-w64.h (STANDARD_INCLUDE_DIR): Redefine it to just use mingw/include. 2009-04-26 15:50:12 +02:00
t-netware Makefile.in (COMPILER, [...]): Define. 2009-05-26 14:02:04 +00:00
t-nto
t-nwld Makefile.in (COMPILER, [...]): Define. 2009-05-26 14:02:04 +00:00
t-openbsd
t-pmm_malloc
t-rtems-i386 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
t-sjlj-eh re PR target/38904 (Shared libgcc DLL violates Cygwin platform conventions.) 2009-01-31 18:52:00 +00:00
t-sol2-10 ABOUT-GCC-NLS, [...]: Add copyright and license notices. 2009-04-21 20:03:23 +01:00
t-svr3dbx
t-vxworks
t-vxworksae
tmmintrin.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
unix.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
vx-common.h Update Copyright years for files modified in 2008 and/or 2009. 2009-02-20 16:20:38 +01:00
vxworks.h
vxworksae.h
w32-unwind.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
winnt-cxx.c
winnt-stubs.c
winnt.c winnt.c (i386_pe_encode_section_info): Update call to make_decl_one_only. 2009-06-16 10:59:59 +00:00
wmmintrin.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00
x86-64.h re PR target/39942 (Nonoptimal code - leaveq; xchg %ax,%ax; retq) 2009-05-18 10:21:13 -07:00
x86intrin.h config.gcc (extra_headers): Add ia32intrin.h for x86. 2009-06-16 14:17:31 -07:00
x-cygwin Makefile.in (COMPILER, [...]): Define. 2009-05-26 14:02:04 +00:00
x-darwin Makefile.in (COMPILER, [...]): Define. 2009-05-26 14:02:04 +00:00
x-i386 Makefile.in (COMPILER, [...]): Define. 2009-05-26 14:02:04 +00:00
x-mingw32 Makefile.in (COMPILER, [...]): Define. 2009-05-26 14:02:04 +00:00
xm-cygwin.h
xm-djgpp.h
xm-mingw32.h
xmmintrin.h Licensing changes to GPLv3 resp. GPLv3 with GCC Runtime Exception. 2009-04-09 17:00:19 +02:00