From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id E5A773858C53 for ; Sat, 27 May 2023 21:43:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E5A773858C53 Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=gmail.com Received: from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q31gt-00084Y-5c for gcc@gnu.org; Sat, 27 May 2023 17:43:12 -0400 Received: by mail-pf1-x436.google.com with SMTP id d2e1a72fcca58-64d24136685so1449207b3a.1 for ; Sat, 27 May 2023 14:43:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1685223789; x=1687815789; 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=yuTvS3YzrCec8c0FthCQPPbrDcHjT80xsu/39S11qyY=; b=M7ME6csTBWkqZZGgD2Aoo3nLm4VKhdSxonwzlQF6zTDq4bQETGtlIlkIKNu214BxNn GcLIoA75F/fUJaR2/d+K7SEwMcIZQtmvcOhibadQkpwqa+OV0DXGB2k6iZUWtpt+BNp+ nwOCko0P0eoUJ+1Q/R8ihpAMBlL3PceeYrijzoAt33gT+CJcU//kmeWyAl/xr39/GNgQ Si/G9ibK6bx7qBtWSq3wsFUvTjZZE7aU4/gFYdOeHO3vWE4jHyaT5bMSLHi5YjbJ2mSY L0y18FUrtXSs+hlDI0rOnhI4sZuyn9Pw6nnDjel5kmH3TG7/rFVf6tFNGqCBHk0RUY2k dOFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1685223789; x=1687815789; 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=yuTvS3YzrCec8c0FthCQPPbrDcHjT80xsu/39S11qyY=; b=DPmaIK2HDLMH0ZsXZsZPca5hpQsTmpX9uOUqT+jy5N6Yuni9YZUXpP5M7/yv+/d/Yu xeKvsLqnh8XkHiKimTPgEKhrouB8/HFgHaC0/Rhg9hpGLQPPhNxvppNPmucM9aAgyAWQ 0kt+d1hvPDOq4AxMMCN5Tax2s7fnIKJQjCntW5ly9vX30FC+XjTcv+ltzgtB2iYdhIvx bHwGyuNnJxCE/ycdKzu+TYUnqo5enb9bxAU+GRGzypti0kbm/dHKK7smHJLlY8FaLx7+ 2uwgoIz1OQSu8X+VBol4Ep7PR+AjQWoH3nCUYQVmUmcNZEyr8swxiwHd6EKao23HAr+o sf5Q== X-Gm-Message-State: AC+VfDx/E8esgYr4/SJgRCX77t8uApSLYdPo2uxz/Yx+o9QV7/lmXVsF hmxAs8Sqg04LsGgPZT3Biw4KBkCYJlkkp4pKiNo= X-Google-Smtp-Source: ACHHUZ5+b/vkH7cgP1wB8dixkO0APEAZ1aeIMqLe+HV/AJc45A+kJIwIiIlK3YnMvzKkLQBMHkI1QkckpA8Ws0KbwKs= X-Received: by 2002:a05:6a00:2e90:b0:63f:2959:a271 with SMTP id fd16-20020a056a002e9000b0063f2959a271mr3958397pfb.6.1685223789158; Sat, 27 May 2023 14:43:09 -0700 (PDT) MIME-Version: 1.0 References: <2A5397441B7D46C7928856D7AAF5836B@H270> <3E52AE4B49614D19BDC50FC79B8653F3@H270> In-Reply-To: <3E52AE4B49614D19BDC50FC79B8653F3@H270> From: Andrew Pinski Date: Sat, 27 May 2023 14:42:57 -0700 Message-ID: Subject: Re: Another epic optimiser failure To: Stefan Kanthak Cc: Jakub Jelinek , gcc@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::436; envelope-from=pinskia@gmail.com; helo=mail-pf1-x436.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_FROM=0.001,RCVD_IN_DNSWL_NONE=-0.0001,SPF_HELO_NONE=0.001,SPF_PASS=-0.001,T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,KAM_SHORT,SPF_HELO_PASS,SPF_SOFTFAIL,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 Sat, May 27, 2023 at 2:38=E2=80=AFPM Stefan Kanthak wrote: > > "Jakub Jelinek" wrote, completely clueless: > > > On Sat, May 27, 2023 at 11:04:11PM +0200, Stefan Kanthak wrote: > >> OUCH: popcnt writes the WHOLE result register, there is ABSOLUTELY > >> no need to clear it beforehand nor to clear the higher 24 bits > >> afterwards! > > > > Except that there is. See https://gcc.gnu.org/PR62011 for details. > > GUESS WHY I EXPLICITLY WROTE > > | JFTR: before GCC zealots write nonsense: see -march=3D or -mtune=3D > > NOT AMUSED ABOUT YOUR CRYING INCOMPETENCE! So you want to complain about GCC knowing about an Intel performance errata= ???? If you read that bug report, you would have learned why the zeroing is done. I am sorry you hate GCC for actually following advice from the processor maker after all. > Stefan