From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggsout.gnu.org ([209.51.188.92]:55533 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gfY2M-0005jK-Tw for qemu-devel@nongnu.org; Fri, 04 Jan 2019 17:33:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gfY2K-0004Dm-Tz for qemu-devel@nongnu.org; Fri, 04 Jan 2019 17:33:54 -0500 Received: from mail-yw1-xc33.google.com ([2607:f8b0:4864:20::c33]:37095) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gfY2I-0004AJ-UG for qemu-devel@nongnu.org; Fri, 04 Jan 2019 17:33:50 -0500 Received: by mail-yw1-xc33.google.com with SMTP id h193so15087061ywc.4 for ; Fri, 04 Jan 2019 14:33:49 -0800 (PST) MIME-Version: 1.0 References: <945511ac-d99a-d483-12a2-e6ad4dda09c2@linaro.org> <38b906b7-56a6-a0dc-95f3-365452b59099@linaro.org> <85031ff4-cc90-32f7-1ec4-e342a5d52f34@linaro.org> In-Reply-To: <85031ff4-cc90-32f7-1ec4-e342a5d52f34@linaro.org> From: Nick Renieris Date: Sat, 5 Jan 2019 00:33:23 +0200 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] AVX support for TCG List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Richard Henderson Cc: QEMU Developers =CE=A3=CF=84=CE=B9=CF=82 =CE=A3=CE=AC=CE=B2, 5 =CE=99=CE=B1=CE=BD 2019 =CF= =83=CF=84=CE=B9=CF=82 12:14 =CF=80.=CE=BC., =CE=BF/=CE=B7 Richard Henderson =CE=AD=CE=B3=CF=81=CE=B1=CF=88=CE=B5: > 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. I know host ABI's can differ like that, but I don't understand why that should matter. Everything (TCG compiler included) is compiled with the same way, right? For the host arch. Or is that a host ABI vs guest ABI thing? Though I don't understand why that would matter either. All this is stuff that runs on the host, right? Oh or does it have to do with JIT'ted tcg helper functions where ABI would matter? No real need to explain, I'm just curious.