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
..
2018-09-20 21:11:10 +00:00
2018-08-03 08:05:00 -07:00
2018-07-25 04:39:39 -07:00
2018-01-01 00:32:25 +00:00
2018-07-14 05:59:53 -07:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2017-12-15 17:12:14 -08:00
2017-12-15 17:12:14 -08:00
2018-07-17 16:05:18 -07:00
2018-01-01 00:32:25 +00:00
2018-08-31 18:04:32 -07:00
2018-01-01 00:32:25 +00:00
2018-04-04 23:09:37 +01:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-07-17 16:07:17 -07:00
2018-07-16 14:08:27 -07:00
2018-08-06 06:25:43 -07:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2017-06-26 22:02:24 +00:00
2018-10-17 15:16:45 -07:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2017-08-10 16:54:57 +02:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-08-02 23:49:19 +05:30
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2017-07-06 04:43:20 -07:00
2018-01-01 00:32:25 +00:00
2018-07-14 05:59:53 -07:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2017-06-20 20:30:06 -04:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-07-18 06:31:53 -07:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2017-06-20 20:30:06 -04:00
2017-06-15 08:59:05 -07:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2017-07-06 04:43:20 -07:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2017-02-16 17:33:18 -05:00
2017-02-16 17:33:18 -05:00
2017-02-16 17:33:18 -05:00
2017-02-16 17:33:18 -05:00
2017-02-16 17:33:18 -05:00
2017-02-16 17:33:18 -05:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2017-02-09 12:19:58 -08:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2017-02-09 12:19:58 -08:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-07-24 05:12:14 -07:00
2018-07-24 05:12:14 -07:00
2018-01-01 00:32:25 +00:00
2017-02-09 12:19:58 -08:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-08-10 09:07:44 +02:00
2018-01-01 00:32:25 +00:00
2018-06-01 16:32:43 -05:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2018-01-01 00:32:25 +00:00
2017-06-05 11:09:59 -07:00