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 406DE3858C60 for ; Mon, 13 Sep 2021 13:28:57 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 406DE3858C60 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 3128B21F58; Mon, 13 Sep 2021 13:28:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1631539736; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=iNxtB3KBqncVYf+4EZdFot9++YRzgxZqxEagDJsIh2k=; b=cSPbMH4WtuD32xSrELARSqogEXAtlUpxRfYjLlHQZ0JVcGJuVyHAhI2hX3+up9Ugk2N+Fq hUneb0jsySEkSvR0G/jiDVF1Mh28chplbNIhsNz5Ae9G3WozO8A0hv0AaIZPsfQ6btvP0d n/zD7uFNI+63ElMe6Lx9V2Icd+mUIME= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1631539736; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=iNxtB3KBqncVYf+4EZdFot9++YRzgxZqxEagDJsIh2k=; b=GJnapKmqnHqY6rejwHkbOrV+TT2YSg8CgyJ5u/yb2N11ymyvleRdo+DCmfi1y47wnkMjZZ 5IaljZaBnJZqagBg== 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 1B9E213AB4; Mon, 13 Sep 2021 13:28:56 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id +3TFBRhSP2FOQgAAMHmgww (envelope-from ); Mon, 13 Sep 2021 13:28:56 +0000 Message-ID: Date: Mon, 13 Sep 2021 15:28:55 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.0.3 Subject: Re: [PATCH] i386: support micro-levels in target{,_clone} attrs [PR101696] Content-Language: en-US To: "H.J. Lu" Cc: GCC Patches References: <09e4b2bd-2055-f0f8-e339-b1aeeff5176a@suse.cz> <18b1cf5b-a80c-fc00-e638-2f5b5d4136a9@suse.cz> <23b15820-f0c1-3e5e-c740-d6fdb6f3dfff@suse.cz> 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=-6.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, SPF_HELO_NONE, SPF_PASS, TXREP 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-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Sep 2021 13:28:58 -0000 PING^1 On 8/13/21 15:41, H.J. Lu wrote: > On Fri, Aug 13, 2021 at 1:10 AM Martin Liška wrote: >> >> On 8/12/21 7:35 PM, H.J. Lu wrote: >>> What happens for arch=x86-64-v5? >> >> pr101696.c:5:55: error: bad value (‘x86-64-v5’) for ‘target("arch=")’ attribute >> >> 5 | __attribute__ ((target ("arch=x86-64-v5"))) void foo () { __builtin_printf ("arch=x86-64-v4\n"); } >> >> | ^ >> >> pr101696.c:5:55: note: valid arguments to ‘target("arch=")’ attribute are: nocona core2 nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client rocketlake icelake-server cascadelake tigerlake cooperlake sapphirerapids alderlake bonnell atom silvermont slm goldmont goldmont-plus tremont knl knm x86-64 x86-64-v2 x86-64-v3 x86-64-v4 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 znver3 btver1 btver2 native; did you mean ‘x86-64-v2’? >> >> >> Which seems to me a reasonable error message. >> > > The patch looks good to me. > > Thanks. >