qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Richard Henderson <richard.henderson@linaro.org>
To: David Miller <dmiller423@gmail.com>,
	qemu-s390x@nongnu.org, qemu-devel@nongnu.org
Cc: thuth@redhat.com, david@redhat.com, cohuck@redhat.com,
	farman@linux.ibm.com, pasic@linux.ibm.com,
	borntraeger@linux.ibm.com
Subject: Re: [PATCH v2] tests/tcg/s390x: Cleanup of mie3 tests.
Date: Tue, 1 Mar 2022 10:15:42 -1000	[thread overview]
Message-ID: <234dc90d-7e7a-8281-d0db-14c8c4c6efea@linaro.org> (raw)
In-Reply-To: <20220301195933.1500-1-dmiller423@gmail.com>

On 3/1/22 09:59, David Miller wrote:
> +{                       \
> +    uint64_t res = 0;   \
> +asm volatile (          \
> +    "lg %%r0, %[c]\n"   \
> +    "ltgr %%r0, %%r0\n" \
> +    ASM                 \
> +    "stg %%r0, %[res] " \
> +    : [res] "=m" (res)  \
> +    : [a] "r" (a),      \
> +      [b] "r" (b),      \
> +      [c] "m" (c)       \
> +    : "r0", "memory"    \
> +);                      \

I don't understand why you're still going through memory.

r~


  reply	other threads:[~2022-03-01 20:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-01 19:59 [PATCH v2] tests/tcg/s390x: Cleanup of mie3 tests David Miller
2022-03-01 20:15 ` Richard Henderson [this message]
2022-03-01 20:21   ` David Miller
2022-03-01 20:22     ` David Miller
2022-03-01 21:18       ` Richard Henderson

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=234dc90d-7e7a-8281-d0db-14c8c4c6efea@linaro.org \
    --to=richard.henderson@linaro.org \
    --cc=borntraeger@linux.ibm.com \
    --cc=cohuck@redhat.com \
    --cc=david@redhat.com \
    --cc=dmiller423@gmail.com \
    --cc=farman@linux.ibm.com \
    --cc=pasic@linux.ibm.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-s390x@nongnu.org \
    --cc=thuth@redhat.com \
    /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).