qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Sunil Amitkumar Janki <psychicistnonconformist@gmail.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] 0.9.0 and svn don't build with -march=pentium2	etc.; was: Latest SVN fails to build on Fedora Core 6 (same with 0.9.0)
Date: Fri, 23 Mar 2007 11:21:46 +0100	[thread overview]
Message-ID: <4603AA3A.7090101@gmail.com> (raw)
In-Reply-To: <20070323105825.0f2da762@neuling>

Thomas Orgis wrote:
> Am Thu, 22 Mar 2007 21:13:00 +0100
> schrieb Sunil Amitkumar Janki <psychicistnonconformist@gmail.com>: 
>
>   
>> I have seen this error as well when building with i686/pentium3/athlon
>> optimisations. As I am doing a course on x86 assembly programming
>> at the moment I can tell you that it suffers from register starvation
>> and the message tells you that there aren't enough registers left.
>>     
>
> Yeah, that's the message... what I wonder is this is to be expected.
> Does SSE steal or add registers?
> -march=pentium-mmx -m3dnow
> seems to work, though. Is it just a coincidence that gcc optimizattion
> uses some registers with high march (and SSE) that it didn't use with lower march?
> I'm wondering if it's the code that is just lucky to compile with some
> march settings and not so lucky with others or if it's a gcc bug or
> whatever...
>
>
> Thomas.
>
>
> _______________________________________________
> Qemu-devel mailing list
> Qemu-devel@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/qemu-devel
>
>   
The reason I build it with "-march=i486" is because Pentium optimisations
are really only meant for real Intel Pentium (MMX) and not for AMD K6 
(I/II/II).

You would probably be better off using "-march=k6-* -m3dnow -mmx" for
an Athlon. I have seen my Athlon slowing to a grind with a Pentium kernel
instead of an i486 or Athlon kernel.

I do not understand enough of QEMU yet, but I have checked out CVS and
am reading through its source. When I understand more I hope we can fix
this long-standing annoyance.

Do you have a 64-bit  X86 processor running 64-bit software? It doesn't
seem to suffer from this same problem. I am testing on an AMD Athlon 64
X2 (AM2) now and QEMU works with "-march=opteron" and of course KVM.

Sunil.

  reply	other threads:[~2007-03-23 10:24 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-17 13:37 [Qemu-devel] Latest SVN fails to build on Fedora Core 6 (same with 0.9.0) Thomas Orgis
2007-03-18  4:45 ` Tony Nelson
2007-03-18  8:37   ` Thomas Orgis
2007-03-18  9:18     ` Nigel Horne
2007-03-22 19:46       ` [Qemu-devel] 0.9.0 and svn don't build with -march=pentium2 etc.; was: " Thomas Orgis
2007-03-22 20:13         ` Sunil Amitkumar Janki
2007-03-23  9:58           ` Thomas Orgis
2007-03-23 10:21             ` Sunil Amitkumar Janki [this message]
2007-03-23 15:45               ` Paul Brook
2007-03-23 20:11                 ` Thomas Orgis
2007-03-24 12:32                   ` Sunil Amitkumar Janki
2007-03-24 12:55                     ` Julian Seward
2007-03-26  9:34                       ` Thomas Orgis
2007-03-28 19:56                     ` Rob Landley
2007-03-29 10:55                       ` Thomas Orgis
2007-03-29 14:55                         ` [Qemu-devel] QEMU Alpha target Stuart Brady
2007-03-29 15:08                           ` Paul Brook
2007-03-29 15:12                             ` Stuart Brady
2007-03-29 15:25                               ` Paul Brook
2007-03-29 21:01                                 ` J. Mayer
2007-03-29 15:25                         ` [Qemu-devel] 0.9.0 and svn don't build with -march=pentium2 etc.; was: Latest SVN fails to build on Fedora Core 6 (same with 0.9.0) Sunil Amitkumar Janki
2007-03-29 16:08                           ` Stuart Brady
2007-03-29 19:57                             ` J. Mayer
2007-03-29 20:04                               ` Brian Wheeler
2007-03-29 21:18                               ` [Qemu-devel] QEMU Alpha target Stuart Brady
2007-03-29 21:31                                 ` J. Mayer
2007-03-29 21:57                                   ` Stuart Brady
2007-03-29 21:48                                 ` Thomas Orgis

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=4603AA3A.7090101@gmail.com \
    --to=psychicistnonconformist@gmail.com \
    --cc=qemu-devel@nongnu.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 NNTP newsgroup(s).