From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) by sourceware.org (Postfix) with ESMTPS id E9D2D3858D39 for ; Thu, 3 Mar 2022 13:48:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E9D2D3858D39 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.cz Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 9F490218BB; Thu, 3 Mar 2022 13:48:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1646315322; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vmMx4UkL8xduEptXdq5eu0Irx3QC/pZmO2zsOOEB2vQ=; b=RUB6593QbqzZJ6vpEkgwhYqIugx6ziWt4OOhaFjWmWbWB5yXKL2Q/fbleYEz886f5bV6fh Lb1VTppLqVV8LdqYIi1MoRTpEgcN8NpK1wD1mfzsGS9DR+wDdWFD4rKRdMGkCiPGh+gLw4 pGTCnj4MIs5WT7TT12Bp9nYd/BFM+C8= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1646315322; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vmMx4UkL8xduEptXdq5eu0Irx3QC/pZmO2zsOOEB2vQ=; b=v8l5FLRyxcHAnKwCH09RtCRX/U8HmmV1l5WGvr3iIFB8J1iUDm4C5PZbnHjMfZdpRozEd6 XcsKB2HkoFmGTbBw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 8B86C13C23; Thu, 3 Mar 2022 13:48:42 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id UJkPITrHIGJRZQAAMHmgww (envelope-from ); Thu, 03 Mar 2022 13:48:42 +0000 Message-ID: Date: Thu, 3 Mar 2022 14:48:42 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Subject: Re: what is the difference with and without crc extension support Content-Language: en-US To: Dongjiu Geng , gcc@gcc.gnu.org References: From: =?UTF-8?Q?Martin_Li=c5=a1ka?= In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_SHORT, NICE_REPLY_A, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 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:48:54 -0000 On 3/3/22 14:41, Dongjiu Geng via Gcc wrote: > Hi, > My program does not use CRC instructions,but I find the compiled > binary has much difference between using "-march=armv8-a+crc" and > using "-march=armv8-a". Even stranger, when I use > "-march=armv8-a+crc", I find my compiled binary can not run. but when > I change -O2 to -O0 based on "-march=armv8-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