From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) by sourceware.org (Postfix) with ESMTPS id 8AE013858C60 for ; Thu, 3 Mar 2022 13:41:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 8AE013858C60 Received: by mail-lj1-x241.google.com with SMTP id p20so6885284ljo.0 for ; Thu, 03 Mar 2022 05:41:59 -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:from:date:message-id:subject:to :content-transfer-encoding; bh=aAcDuOOzZEBhGxFDneDJwV+KSIuzTJBgXOM/Nduuwzw=; b=08I1yL4B7p7GdEbVTLZNwHQgz6CKVTAM4BIucWgIs9psbJ7gdw5nmYfeVWjJvhBJ3w TXtCwErIyiG/XMgaGJpJWxlpDA8Flng9ZkV8dJfwKqi+kVNUqboAYlqgc/6eWNPjaPT1 lhnRcKexID7QRFYVOE+wfvYIPqkRW8H2z6+VyugWoW0CkqzmxV7aSMKWkGlB59pGH2CG SNIIu7RCV9R/krW7No9otgd0F0McOySKxVA3UXWqxuIWCoba+CfBSoRA/E8mWbM/2KrX sZLDMgkzpS5ugNDBBp0ow8SLLSMGc7LvocPgqPjY9CLqdSQq8X34lQX1PQvoZ9Hp1LMn u0Jg== X-Gm-Message-State: AOAM530kezq35/XyZm3ZftXmpZBAD0LL0J7pCR59FIQGbALwIHwoCuGw QvUyx0B5qKB/CFVk3HlUNR2J22Nebcupp/i7ztO4atLSjBQ= X-Google-Smtp-Source: ABdhPJzIVty1OUbq5sUksurYg0avlmY9/6BVX1C8ALJUtoKVubDdbNUs4ZzIb3tkmrVdx8y/7xFz5nWnjnevjuYPsz4= X-Received: by 2002:a05:651c:19a5:b0:247:a0b7:c2ee with SMTP id bx37-20020a05651c19a500b00247a0b7c2eemr7093130ljb.26.1646314917890; Thu, 03 Mar 2022 05:41:57 -0800 (PST) MIME-Version: 1.0 From: Dongjiu Geng Date: Thu, 3 Mar 2022 21:41:45 +0800 Message-ID: Subject: what is the difference with and without crc extension support To: gcc@gcc.gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_05, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, 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:42:01 -0000 Hi, My program does not use CRC instructions=EF=BC=8Cbut I find the compil= ed 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.