qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <richard.henderson@linaro.org>
To: Nick Renieris <makren67@gmail.com>
Cc: QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] AVX support for TCG
Date: Sat, 5 Jan 2019 08:14:37 +1000	[thread overview]
Message-ID: <85031ff4-cc90-32f7-1ec4-e342a5d52f34@linaro.org> (raw)
In-Reply-To: <CAObpvQ=uzvxqFxD0AC=F6kcAysqwAdLwvwUWEGqWGa3mWgVQmQ@mail.gmail.com>

On 1/5/19 8:09 AM, Nick Renieris wrote:
> Στις Παρ, 4 Ιαν 2019 στις 11:51 μ.μ., ο/η Richard Henderson
> <richard.henderson@linaro.org> έγραψε:
>> As an integer it is always passed by value.  As a structure some host abis pass
>> it by reference, and the TCG compiler doesn't know about that.
> 
> Ah so they modify it? If so it could surely be worked around with
> explicit stack copies, right?

No, it's just calling conventions.  And it could be worked around, but I think
what we have is convenient enough.

Especially since the sizes are encoded as (n+1)*8, which also shows the
compiler that the size is positive, so the for loop must iterate at least once.


r~

  reply	other threads:[~2019-01-04 22:23 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-25 23:43 [Qemu-devel] AVX support for TCG Nick Renieris
2018-12-26  1:07 ` Richard Henderson
2018-12-26  1:28   ` Nick Renieris
2018-12-26  2:12     ` Richard Henderson
2018-12-28 13:43       ` Nick Renieris
2018-12-28 14:13         ` Peter Maydell
2018-12-28 14:28           ` Nick Renieris
2018-12-28 14:38             ` Peter Maydell
2018-12-28 17:19               ` Nick Renieris
2018-12-28 21:15         ` Alex Bennée
2018-12-29 20:24         ` Richard Henderson
2018-12-30 20:51           ` Nick Renieris
2018-12-31  1:58             ` Richard Henderson
2019-01-04 21:43               ` Nick Renieris
2019-01-04 21:51                 ` Richard Henderson
2019-01-04 22:09                   ` Nick Renieris
2019-01-04 22:14                     ` Richard Henderson [this message]
2019-01-04 22:33                       ` Nick Renieris
2019-01-04 22:38                         ` Richard Henderson
2019-01-04 22:42                           ` Nick Renieris
2019-01-17  9:29     ` Stefan Hajnoczi
2019-01-17 13:57       ` Nick Renieris
2019-01-18  9:57         ` Stefan Hajnoczi

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=85031ff4-cc90-32f7-1ec4-e342a5d52f34@linaro.org \
    --to=richard.henderson@linaro.org \
    --cc=makren67@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).