From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 8A949C433EF for ; Tue, 1 Mar 2022 20:25:35 +0000 (UTC) Received: from localhost ([::1]:46852 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nP93u-0002By-De for qemu-devel@archiver.kernel.org; Tue, 01 Mar 2022 15:25:34 -0500 Received: from eggs.gnu.org ([209.51.188.92]:33322) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nP91J-0000Y6-G9; Tue, 01 Mar 2022 15:22:54 -0500 Received: from [2607:f8b0:4864:20::329] (port=39931 helo=mail-ot1-x329.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nP91I-0007nL-4g; Tue, 01 Mar 2022 15:22:53 -0500 Received: by mail-ot1-x329.google.com with SMTP id j3-20020a9d7683000000b005aeed94f4e9so13175537otl.6; Tue, 01 Mar 2022 12:22:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=cnq69asC/OnBz5aaepAEavHtgKCtmjU6hN7Tk1oVuSU=; b=kJxZaMy+Kckaq5GSfneV0eFOE1AILQRNtd45SzZ7Vn3bS3W+9sw9ilgrJ4qTTlI/MN NmxSOqwiEU0TNXM2kOGqKDb6UP/y9lF/zOjFnYZjlpoFW6IZPCT6Gw4itcszmgDTmL9N dG3MMNCtsY6/SrkPahfLWW7Q4elzy/3RV4cyUbQTns9oteXyfGnu3Gw5HyYcXfgByBy9 l33Bu6FPD75mcD+i+xXHGbYkfjXCOklaQ6Zh6bP6VdzijdM2IX7HMeWd9F8GUz6ISs9L 4O7HofOmSTWCRXsAgU4uBku33poeI+a7fizQ65gOUTm0qsfiegkaweJnKAZw+nl16GxK qt1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=cnq69asC/OnBz5aaepAEavHtgKCtmjU6hN7Tk1oVuSU=; b=BSgEY78XtinDATdzJwnWeG4Ui7Bqotif+tROfT0ABDlcQTfyleUDvc2GCQr1rRePTt hQS6VkL6RcTCyZfIxnEqZdF974nhvD7e+mvq29KI2wLYUY0WiqWUoNkHrSN7XIG0mMIf 9zuHc1rJiuhoaoLX+lvBsAx7MZA3BehPdzXZ5ulYBRoLFTv4hbZwiml1F0unIICKKS6/ 6aziW9pJjV/nsBRA0V33GQBoYGA1ncQ4cnQShMVc4mZxhKtEQYhdpVA9chHTLoSbJuV5 9J6sToWVjWJyEXp7m/x5ODLWog3AM6k2x3RccJ0ciWJSVrQuC5KR42yAiGuDuEEuFnu9 RJFw== X-Gm-Message-State: AOAM5304cgp4TdHfHUOhrMwhYsVY713HfBnITutVRu6ldJAqaT44jncu GYOrbWbhODSUez31hqW0S8VfelscoMQ5cWgHu3w= X-Google-Smtp-Source: ABdhPJwJTLDj+9QVdgo4sPOzg5cwglfd4cVJNGhkbUi7uOpFmb16UZzSarkGrkI587A4IK2JUITJ/jD5gk8a/XXyrgA= X-Received: by 2002:a05:6830:90b:b0:5ad:3891:b0a4 with SMTP id v11-20020a056830090b00b005ad3891b0a4mr13462716ott.58.1646166169719; Tue, 01 Mar 2022 12:22:49 -0800 (PST) MIME-Version: 1.0 References: <20220301195933.1500-1-dmiller423@gmail.com> <234dc90d-7e7a-8281-d0db-14c8c4c6efea@linaro.org> In-Reply-To: From: David Miller Date: Tue, 1 Mar 2022 15:22:38 -0500 Message-ID: Subject: Re: [PATCH v2] tests/tcg/s390x: Cleanup of mie3 tests. To: Richard Henderson Content-Type: multipart/alternative; boundary="000000000000c9989505d92ded63" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::329 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::329; envelope-from=dmiller423@gmail.com; helo=mail-ot1-x329.google.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Huth , David Hildenbrand , farman@linux.ibm.com, cohuck@redhat.com, qemu-devel@nongnu.org, pasic@linux.ibm.com, qemu-s390x@nongnu.org, Christian Borntraeger Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" --000000000000c9989505d92ded63 Content-Type: text/plain; charset="UTF-8" However the constraint must be wrong there. Sorry about split message. On Tue, Mar 1, 2022 at 3:21 PM David Miller wrote: > I used > > > #define Fi3(S, ASM) uint64_t S(uint64_t a, uint64_t b, uint64_t c) \ > { \ > uint64_t res = 0; \ > asm volatile ( \ > "ltgr %[c], %[c]\n" \ > ASM \ > "stg %[c], %[res] " \ > : [res] "=&r" (res) \ > : [a] "r" (a), \ > [b] "r" (b), \ > [c] "r" (c) \ > ); \ > return res; \ > } > > > --000000000000c9989505d92ded63 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
However the constraint must be wrong t= here.
Sorry about split message.

On Tue, Mar = 1, 2022 at 3:21 PM David Miller <dmiller423@gmail.com> wrote:
I used=C2=A0=


#define Fi3(= S, ASM) uint64_t S(uint64_t a<= span style=3D"color:rgb(204,120,50)">, uint64_t b, uint64_t c) \
{ \
= uint64_t res =3D 0; = \
asm volatile ( = \
"= ;ltgr %[c], %[c]\n" \
ASM \
"stg %[c], %[res] &qu= ot; \
: [res] "=3D&r" (res) \
: [a] "r" (a), \
[b] "r" (b), \
[c] "r" (c) \
= ); \
= return res; \
}

--000000000000c9989505d92ded63--