www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2013/01/11/13:53:10

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
X-Recipient: djgpp-workers AT delorie DOT com
Date: Fri, 11 Jan 2013 20:53:02 +0200
From: Eli Zaretskii <eliz AT gnu DOT org>
Subject: Re: gcc-4.8.0 and DJGPP time.h
In-reply-to: <50F0432D.3060108@iki.fi>
X-012-Sender: halo1 AT inter DOT net DOT il
To: djgpp-workers AT delorie DOT com
Message-id: <83sj67tuup.fsf@gnu.org>
References: <50F0432D DOT 3060108 AT iki DOT fi>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

> Date: Fri, 11 Jan 2013 18:51:57 +0200
> From: Andris Pavenis <andris DOT pavenis AT iki DOT fi>
> 
> #if ((__GNUC__==4 && __GNUC_MINOR__>=8) || (__GNUC__>4))
> #include <x86intrin.h>
> #else
> 
> current definitions of _rdtsc goes here
> 
> #endif
> 
> Does such approach look OK?

Yes, but please put there a comment saying that _rdtsc is defined in
GCC 4.8 and later by that header.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019