All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fabrice Bellard <fabrice.bellard@free.fr>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] QEMU 0.2 is out
Date: Tue, 03 Jun 2003 02:49:09 +0200	[thread overview]
Message-ID: <3EDBF085.6000308@free.fr> (raw)
In-Reply-To: 874r386p8k.fsf@student.uni-tuebingen.de

Falk Hueffner wrote:
> Fabrice Bellard <fabrice.bellard@free.fr> writes:
> 
> 
>>For Alpha: I am using gcc 3.2.3 and '-msmall-text' is not
>>supported. Is it really necessary ?
> 
> 
> Not really, I was just hoping to avoid a few gp readjustments with it,
> however it doesn't really seem to have that effect, since for
> non-static functions, that cannot be done, and for static functions,
> gcc already knows to avoid gp restoring.

Which version of gcc are you using ? Do you use a patched gcc ? Can you 
give me your spec file and the gcc -v log when you compile op-i386.c ?

I am totally unable to get correct code. In particular, I cannot make 
gcc 3.2.3 generate R_ALPHA_BRADDR relocations. Currently, to get correct 
code, I must do the following:
--
int __op_param1;
#define PARAM1 ({ int _r; asm("ldah %0,__op_param1($29) !gprelhigh\n" \
                               "lda %0,__op_param1(%0)   !gprellow" : 
"=r"(_r) ); _r; })

#define CALL(x) asm volatile ("bsr $26, %0" : : "i" (x))
--
and use the macro CALL to call a function!

Fabrice.

  reply	other threads:[~2003-06-03  0:49 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-28  0:58 [Qemu-devel] QEMU 0.2 is out Fabrice Bellard
2003-06-01 18:19 ` Falk Hueffner
2003-06-02 22:52   ` Fabrice Bellard
2003-06-02 23:20     ` Falk Hueffner
2003-06-03  0:49       ` Fabrice Bellard [this message]
2003-06-03 13:18         ` Falk Hueffner
2003-06-04 22:43           ` Fabrice Bellard
2003-06-05  1:12           ` [Qemu-devel] QEMU on Alpha Fabrice Bellard

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=3EDBF085.6000308@free.fr \
    --to=fabrice.bellard@free.fr \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.