qemu-s390x
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2] tests/tcg/s390x: Cleanup of mie3 tests.


From: Richard Henderson
Subject: Re: [PATCH v2] tests/tcg/s390x: Cleanup of mie3 tests.
Date: Tue, 1 Mar 2022 10:15:42 -1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

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 via email to

[Prev in Thread] Current Thread [Next in Thread]