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: References: 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 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