From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yw1-x1134.google.com (mail-yw1-x1134.google.com [IPv6:2607:f8b0:4864:20::1134]) by sourceware.org (Postfix) with ESMTPS id D0C373858414 for ; Sun, 25 Jun 2023 04:59:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D0C373858414 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-yw1-x1134.google.com with SMTP id 00721157ae682-570808d8ddeso23276577b3.0 for ; Sat, 24 Jun 2023 21:59:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687669140; x=1690261140; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=QvZBmMlL+3UU3anTrDXMM6qINkxxuScNElvT46M5Cc4=; b=PzAQu8uz7/BQqlTwWz5DBhqI+vvGQodWluo9ixH2ppaoYo2J5I8pRC6g/9tFqeFO63 YF4gogoH2VETVFBKKBV1sxr3QX5SfsSzdonx1yJU8irVGCJaJbAioVJeV3qMAD9y4tlY sMBzcqtji0LJeDUcFyGfcEzRa9SEnuaJcWiyQ6H+DWtKNdOiaTBAoxkks9lKPSZmAmPQ YMECD7Odn6hY8njjgUDLPQLZWj9ATPBAD+kvDDjOU0VOgwAbLBob4ZQoJP8NanZbwd1P WuOtSWkhKGvKx7UXFndUw/UmEHwGRwnos7iotL8p64AbDM6xVICJ6SE7J8K4qGCfBtPv fp5Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687669140; x=1690261140; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QvZBmMlL+3UU3anTrDXMM6qINkxxuScNElvT46M5Cc4=; b=Z/RQ0o60sLLEYJwyYYgyFYe5i1PPp/YWGdgs2+xc00vRlCIjBSiLbMZvaY2cSXOfeA SkHrqAcvVwJXo4HOe5G9VkAxo7r44juOtFMUreQk00Sar7kzmjNkMCo3qo21geLjnvsw V5TdyZzqb5iVRYb1LaY8rBjtw0SUskx8xXbqjCKLYWupKx8N1piGs+wnyJ3OvWKJSjGM rsqWmpb08re6ZUIIY7GZs7pPkQlLBckmCm8vvocTKShCl9mCqzqC+UzmdIFyyq3T5klS V4jJst0Pmb9pQ5BMGsx2mlDFlN7wBRNAvsI72H9oi/layIIWQsw/St4bQWkwwxpbM+z0 Iatg== X-Gm-Message-State: AC+VfDzvvL8FvNpxhwuVZREflIT6gm5F/LRHbyTgj8j22uY22UOFlYtD qSZdaccbFKYIgDvgqr3kt2f4O9Shqeua6O8bT8U= X-Google-Smtp-Source: ACHHUZ7BoAXsI5DPwtOhE3/0ch4Dp+ra2Cg5eeiF2B1zuHh/Bzi+IO+Q0nA8YrEtxEIJqzLO0xpYGjrPUUSsV4nWcnA= X-Received: by 2002:a81:6d55:0:b0:56d:43bd:5513 with SMTP id i82-20020a816d55000000b0056d43bd5513mr26567241ywc.5.1687669140015; Sat, 24 Jun 2023 21:59:00 -0700 (PDT) MIME-Version: 1.0 References: <04f99abe-a563-d093-23b7-4abf0f91633d@suse.com> <4080e2a5-7d77-0ff7-8dc6-935ac79da0ce@suse.com> In-Reply-To: <4080e2a5-7d77-0ff7-8dc6-935ac79da0ce@suse.com> From: Hongtao Liu Date: Sun, 25 Jun 2023 12:58:49 +0800 Message-ID: Subject: Re: [PATCH 3/5] x86: allow memory operand for AVX2 splitter for PR target/100711 To: Jan Beulich Cc: "gcc-patches@gcc.gnu.org" , Hongtao Liu , Kirill Yukhin Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Wed, Jun 21, 2023 at 2:28=E2=80=AFPM Jan Beulich via Gcc-patches wrote: > > The intended broadcast (with AVX512) can very well be done right from > memory. Ok. > > gcc/ > > * config/i386/sse.md: Permit non-immediate operand 1 in AVX2 > form of splitter for PR target/100711. > > --- a/gcc/config/i386/sse.md > +++ b/gcc/config/i386/sse.md > @@ -17356,7 +17356,7 @@ > (and:VI_AVX2 > (vec_duplicate:VI_AVX2 > (not: > - (match_operand: 1 "register_operand"))) > + (match_operand: 1 "nonimmediate_operand"))) > (match_operand:VI_AVX2 2 "vector_operand")))] > "TARGET_AVX2" > [(set (match_dup 3) > --=20 BR, Hongtao