delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/01/26/06:00:13

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: kala AT sankya DOT com (Babu Kalakrishnan)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Inline assembly problem
Date: Sat, 26 Jan 2002 16:19:34 +0530
Lines: 16
Message-ID: <slrna552du.43o.kala@ganga.sankya.com>
References: <slrna551c4 DOT 43o DOT kala AT ganga DOT sankya DOT com>
NNTP-Posting-Host: ppp-177-140.bng.vsnl.net.in (203.197.177.140)
X-Trace: fu-berlin.de 1012042189 37468761 203.197.177.140 (16 [76750])
X-Orig-Path: kala
User-Agent: slrn/0.9.6.2 (Linux)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Sat, 26 Jan 2002 16:01:32 +0530, Babu Kalakrishnan <kala AT sankya DOT com> wrote:
>Hi,
>
>The gcc bundled with djgpp 2.03 seems to choke on the following inline
>assembly statement :
>
>long long clk_time;
>
>__asm__("rdtsc":"=A"::"%eax","%edx");

Sorry - that should have been

__asm__("rdtsc":"=A" (clk_time)::"%eax","%edx");

BK

- Raw text -


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