From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf1-x12d.google.com (mail-lf1-x12d.google.com [IPv6:2a00:1450:4864:20::12d]) by sourceware.org (Postfix) with ESMTPS id EF6683858D39 for ; Thu, 3 Mar 2022 13:52:49 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org EF6683858D39 Received: by mail-lf1-x12d.google.com with SMTP id 5so6644150lfz.9 for ; Thu, 03 Mar 2022 05:52:49 -0800 (PST) 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:content-transfer-encoding; bh=vub768dEhaBbjHSmRi33/w8z7tXBMh4v6e1b8LyD9t8=; b=AuFTRJVZmcyaJXeuD/Gnncn6oAUhPnqwb569v1KZhQXohmgdR+dssmfMUyNZmzNIR+ TlPdVN0Z3Kv5zsDRjG+donw9ysyJk+HRKHE6q3pKJdL/OvIXt7Q9EUnHhqc5CIR+mgTW bT57t+1tUoeSInP8Oqkf+UuemFO7rPmUAM60ZKMssZOSCHIIntWOrs2D5jxyb9zUC2Nj 6JhbFc86Srq8V1L1EuTkXRhAoqXCFIvCN3Fa920N2s9QMEuSjrqN2LJQ3aLF8mcuAT4T RHf1kcldjuDmhN97rJVX/MAtrl4nPdYbwJzeX/JEOgduu2G7E49vkDxIAtSAkpHIaoPn UN3w== X-Gm-Message-State: AOAM5333nMr/n+ke8yz48R2iJah5C/dF9q/A7q5Yp6TyAa8rpEIkb7PJ Jp3z5AWIlST+w7gVYs5jQxTgFMNeJqpReZI28NY= X-Google-Smtp-Source: ABdhPJxwoevMujyhB5h9zDy8NdFmq5DiVFAByLRbxN2IXiiECwZzm8fZtGHE4QnGkukmLo/8aFLt46lUquujFbFr61w= X-Received: by 2002:ac2:4e11:0:b0:443:b076:460d with SMTP id e17-20020ac24e11000000b00443b076460dmr21204915lfr.209.1646315568476; Thu, 03 Mar 2022 05:52:48 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Dongjiu Geng Date: Thu, 3 Mar 2022 21:52:36 +0800 Message-ID: Subject: Re: what is the difference with and without crc extension support To: =?UTF-8?Q?Martin_Li=C5=A1ka?= Cc: gcc@gcc.gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=1.8 required=5.0 tests=BAYES_00, BODY_8BITS, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Level: * X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Mar 2022 13:52:51 -0000 Thanks for the answer, my source file is complex=EF=BC=8Cit is not convenie= nt attach, because it is company code. According to your experience=EF=BC= =8C what is the reason about it? Martin Li=C5=A1ka =E4=BA=8E2022=E5=B9=B43=E6=9C=883=E6=97= =A5=E5=91=A8=E5=9B=9B 21:48=E5=86=99=E9=81=93=EF=BC=9A > > On 3/3/22 14:41, Dongjiu Geng via Gcc wrote: > > Hi, > > My program does not use CRC instructions=EF=BC=8Cbut I find the c= ompiled > > binary has much difference between using "-march=3Darmv8-a+crc" and > > using "-march=3Darmv8-a". Even stranger, when I use > > "-march=3Darmv8-a+crc", I find my compiled binary can not run. but when > > I change -O2 to -O0 based on "-march=3Darmv8-a+crc", it can run. I do > > not know what is the reason.. can you answer it? Thanks. > > Hello. > > Please report bug here: > https://gcc.gnu.org/bugzilla/ > > and attach a pre-processed source file: > https://gcc.gnu.org/bugs/ > > Martin