delorie.com/archives/browse.cgi | search |
From: | "billy chen" <billyc AT intrex DOT net> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Need help for rdtsc inline asm |
Date: | Tue, 18 Jun 2002 16:20:04 -0400 |
Organization: | . |
Message-ID: | <ugv5asq8muh79d@corp.supernews.com> |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 5.00.2615.200 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2615.200 |
X-Complaints-To: | newsabuse AT supernews DOT com |
Lines: | 15 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Hi everyone, I try to write an inline asm code for getting the time stamp counter a 64 bits will store at edx:eax when rdtsc is called. Hoever I could not get to working by passing the compiler not allow the compiler (gcc 2.95.2 (djgpp 2.03)) to follow the asm code for me, even I am using asm volatile and looks like the gas did not know how to translate the rdtsc code to machine ? Could some one help on this ? TIA billyc
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |