From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pj1-x102b.google.com (mail-pj1-x102b.google.com [IPv6:2607:f8b0:4864:20::102b]) by sourceware.org (Postfix) with ESMTPS id 61DB43850426 for ; Mon, 31 May 2021 10:32:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 61DB43850426 Received: by mail-pj1-x102b.google.com with SMTP id k22-20020a17090aef16b0290163512accedso1502391pjz.0 for ; Mon, 31 May 2021 03:32:32 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=F/DpIf6tl1IwhKINw0+6zIU2799RwqUh47U+1EO6uHM=; b=FpldBw3sqyprO1ODcQzak7NLsSEzDYoD0kSoGh9fJBvCG+O7rTDqc3mbTajJNuoJ7I fLCtzUf76+31w31h5U4NcxF8E1WVPiizGR2QLScxdmV+MOubvAgggpdWjVJ1FjFJpeNs OEmXEX7W7gwZwvBYaszCfADxOuaECSlIQnTXVXIBFKc4V+C3/z270r3vqGdmpyuqlCV4 QIv7ppitM5K7vhRoo55soZk+vUAiWw0OM1i538zqZOtVcI8RM+zfA0o1L/8EuBGeo33C 7ezVShJJju/KCboqtYaJsRBruKMFeSl2FJZQ73dvdMKaKcP0miiDDLStW3/I4Amxnqlz 2TEQ== X-Gm-Message-State: AOAM531OEKfPfNbP08Hgs/gphwRlEJLw0wXkpT9t3o88NvetRQ75rFzI wjF2GOuV3/v+7jwvejBW029ZaUtYFf1fxKBuU0nJKHOV/hE= X-Google-Smtp-Source: ABdhPJx/3F9VOn0tG+CuZF1hvSNLNlMIVT2Qa7eKNWix4mN8uhxFcUJgs4/vs9G1HgnDqRW7jup6hGXqUnGY1I2zWsk= X-Received: by 2002:a17:90b:30cb:: with SMTP id hi11mr18409645pjb.204.1622457150904; Mon, 31 May 2021 03:32:30 -0700 (PDT) MIME-Version: 1.0 References: <4b7e5a3-5596-3dcb-e142-53cb7a909f7b@hippo.saclay.inria.fr> In-Reply-To: From: Prathamesh Kulkarni Date: Mon, 31 May 2021 16:01:54 +0530 Message-ID: Subject: Re: [ARM] PR66791: Replace calls to builtin in vmul_n (a, b) intrinsics with __a * __b To: gcc Patches Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 May 2021 10:32:33 -0000 On Mon, 31 May 2021 at 15:22, Prathamesh Kulkarni wrote: > > On Wed, 26 May 2021 at 14:07, Marc Glisse wrote: > > > > On Wed, 26 May 2021, Prathamesh Kulkarni via Gcc-patches wrote: > > > > > The attached patch removes calls to builtins in vmul_n* (a, b) with __a * __b. > > > > I am not familiar with neon, but are __a and __b unsigned here? Otherwise, > > is vmul_n already undefined in case of overflow? > Hi Marc, > Sorry for late reply, for vmul_n_s*, I think they are signed > (intx_t). Oops, I meant intx_t. > I am not sure how should the intrinsic behave in case of signed overflow, > but I am assuming it's OK since vmul_s* intrinsics leave it undefined too. > Kyrill, is it OK to leave vmul_s* and vmul_n_s* undefined in case of overflow ? > > Thanks, > Prathamesh > > > > -- > > Marc Glisse