glibc/sysdeps/i386
H.J. Lu 72771e5375 x86: Use _rdtsc intrinsic for HP_TIMING_NOW
Since _rdtsc intrinsic is supported in GCC 4.9, we can use it for
HP_TIMING_NOW.  This patch

1. Create x86 hp-timing.h to replace i686 and x86_64 hp-timing.h.
2. Move MINIMUM_ISA from init-arch.h to isa.h so that x86 hp-timing.h
can check minimum x86 ISA to decide if _rdtsc can be used.

NB: Checking if __i686__ isn't sufficient since __i686__ may not be
defined when building for i686 class processors.

	* sysdeps/i386/init-arch.h: Removed.
	* sysdeps/i386/i586/init-arch.h: Likewise.
	* sysdeps/i386/i686/init-arch.h: Likewise.
	* sysdeps/i386/i686/hp-timing.h: Likewise.
	* sysdeps/x86_64/hp-timing.h: Likewise.
	* sysdeps/i386/isa.h: New file.
	* sysdeps/i386/i586/isa.h: Likewise.
	* sysdeps/i386/i686/isa.h: Likewise.
	* sysdeps/x86_64/isa.h: Likewise.
	* sysdeps/x86/hp-timing.h: New file.
	* sysdeps/x86/init-arch.h: Include <isa.h>.
2018-10-17 15:16:45 -07:00
..
fpu Remove unnecessary math_private.h includes. 2018-09-28 21:53:33 +00:00
htl
i586 x86: Use _rdtsc intrinsic for HP_TIMING_NOW 2018-10-17 15:16:45 -07:00
i686 x86: Use _rdtsc intrinsic for HP_TIMING_NOW 2018-10-17 15:16:45 -07:00
i786
nptl x86: Rename __glibc_reserved2 to ssp_base in tcbhead_t 2018-07-25 04:39:39 -07:00
sys
____longjmp_chk.S
__longjmp.S
abort-instr.h
add_n.S i386: Add _CET_ENDBR to indirect jump targets in add_n.S/sub_n.S 2018-07-17 16:11:44 -07:00
addmul_1.S
asm-syntax.h
atomic-machine.h
backtrace.c
bcopy.S
bsd-_setjmp.S
bsd-setjmp.S
bzero.S
cacheinfo.c
configure
configure.ac
crti.S x86: Add _CET_ENDBR to functions in crti.S 2018-07-17 16:05:18 -07:00
crtn.S
dl-irel.h [BZ #20271] Add newlines in __libc_fatal calls. 2018-08-31 18:04:32 -07:00
dl-lookupcfg.h
dl-machine.h i386: Use _dl_runtime_[resolve|profile]_shstk for SHSTK [BZ #23716] 2018-09-28 13:31:30 -07:00
dl-procinfo.c
dl-tls.h
dl-tlsdesc.h
dl-tlsdesc.S x86: Add _CET_ENDBR to functions in dl-tlsdesc.S 2018-07-17 16:07:17 -07:00
dl-trampoline.S
ffs.c
gccframe.h
gmp-mparam.h
htonl.S
htons.S
i386-mcount.S
Implies
isa.h x86: Use _rdtsc intrinsic for HP_TIMING_NOW 2018-10-17 15:16:45 -07:00
jmpbuf-offsets.h
jmpbuf-unwind.h
ldbl2mpn.c
link-defines.sym
lshift.S
machine-gmon.h
Makefile
malloc-alignment.h
memchr.S
memcmp.S
memcopy.h
memcpy_chk.S
memcpy.S
memmove_chk.S
memmove.S
mempcpy_chk.S
mempcpy.S
memset_chk.S
memset.S
memusage.h
mp_clz_tab.c
mul_1.S
preconfigure
pthread_spin_trylock.S
rawmemchr.S
rshift.S
setfpucw.c
setjmp.S
stackguard-macros.h
stackinfo.h
start.S i386: Use ENTRY and END in start.S [BZ #23606] 2018-09-12 08:41:26 -07:00
stpcpy.S
stpncpy.S
strcat.S
strchr.S
strchrnul.S
strcspn.S
string-inlines.c
strlen.c
strlen.S
strpbrk.S
strrchr.S
strspn.S
sub_n.S i386: Add _CET_ENDBR to indirect jump targets in add_n.S/sub_n.S 2018-07-17 16:11:44 -07:00
submul_1.S
symbol-hacks.h
sysdep.h
tls-macros.h
tlsdesc.c
tlsdesc.sym
tst-audit3.c
tst-audit3.h
tst-audit.h
tst-auditmod3a.c
tst-auditmod3b.c
tst-ld-sse-use.sh
tst-stack-align.h
Versions Move __fentry__ version definition to sysdeps/{i386,x86_64} 2018-08-10 09:07:44 +02:00