From: "ma, yi" <mikema@cc.gatech.edu>
To: <gcc-help@gcc.gnu.org>
Subject: the problem about difference between gcc2.7 and gcc2.96
Date: Sat, 13 Oct 2001 18:27:00 -0000 [thread overview]
Message-ID: <00e401c1544f$e0d5ebb0$3c323d80@mikema> (raw)
Dear all,
I have a software that can been compiled and run well under redhat 5.2 (gcc 2.7). However I can not compile it now under redhat7.1(gcc 2.96). I don't know why!
The error is:
i586-msrs.h:122: Can't find a register in class 'AREG' while reloading
'asm'
the error happened in the lines below:
/* In a minimal tight loop with no unrolling, a micro benchmark shows this
as requiring 16 cycles */
extern __inline__ void
read_tsc(uint64 *dst)
{
__asm__ __volatile__("rdtsc"
: "=a" (*(uint32 *)dst), "=d" (*(((uint32 *)dst) + 1))
:
: "eax", "edx");
}
About the software, there are many other problems under gcc 2.96. I don't
know why. can you give me some suggestion or solution to solve this
problem?Thank you very much!
Best Regards,
Ma
next reply other threads:[~2001-10-13 18:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-13 18:27 ma, yi [this message]
2001-12-02 8:27 ` Alexandre Oliva
2001-10-15 12:03 Paolo Carlini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='00e401c1544f$e0d5ebb0$3c323d80@mikema' \
--to=mikema@cc.gatech.edu \
--cc=gcc-help@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).