From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from xry111.site (xry111.site [89.208.246.23]) by sourceware.org (Postfix) with ESMTPS id 2CEA33858C42 for ; Fri, 17 Nov 2023 12:31:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2CEA33858C42 Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=xry111.site Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=xry111.site ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 2CEA33858C42 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=89.208.246.23 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700224295; cv=none; b=A/laWbUKR6rQvmb9GBKxjXlm/iviSjjQ/Tka2HlsNAJELDG+mkmUETsfB7mU1W+wVEKRu4dMk4+dRtadM3uCdLGaV/f+1oM9PCMSDQioAVXMyMHf28QCITCFl98LzLRONpmZXW7gWYL+RznSlDeue0y9cr8NyyJonhxbV0vcUAI= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700224295; c=relaxed/simple; bh=UzaFXcJSkxB1wSGJq+H2xA6p+7Dubn+PWayJLqqxHS4=; h=DKIM-Signature:Message-ID:Subject:From:To:Date:MIME-Version; b=xDWUC74zjnISoBOoIEudb1PeMBi1XkrQdmv33D0OEkeaF8vwi8IRNq15HBiGpt1qyo/m4EPNvy7kMY1s8nHVLiloPxua7yxTHgqJYHfolh2vULLGtQLQaYbCDcqEUn0MntmZjlDWQZXE81mEsVzIcNs64/E02SkzzvCoTqC+670= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xry111.site; s=default; t=1700224292; bh=UzaFXcJSkxB1wSGJq+H2xA6p+7Dubn+PWayJLqqxHS4=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=iZAt0XUe24EnkRcEPi1HwPXXYW43Y/6FNtABxYDgusyJSACP6rWy3pIQW2Gpg68J0 nOl8s0PWSAkAwOnPOqbe57U/rJvuE7YjpN1nPSgNcoTahSiZdxKYEFTCev1+x2dHg1 w9CK4SGq6yyMeiBq3QNvct+KDFuA43JKw2s/92TU= Received: from [127.0.0.1] (unknown [IPv6:2001:470:683e::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) (Authenticated sender: xry111@xry111.site) by xry111.site (Postfix) with ESMTPSA id 69DE566B06; Fri, 17 Nov 2023 07:31:31 -0500 (EST) Message-ID: <8c6a5ac6f2ac6c2991bd1e6a5c164239ec646911.camel@xry111.site> Subject: Re: [PATCH v1 1/3] LoongArch: Add LA664 support. From: Xi Ruoyao To: Lulu Cheng , gcc-patches@gcc.gnu.org Cc: i@xen0n.name, xuchenghua@loongson.cn Date: Fri, 17 Nov 2023 20:31:29 +0800 In-Reply-To: <20231117083344.29037-2-chenglulu@loongson.cn> References: <20231117083344.29037-1-chenglulu@loongson.cn> <20231117083344.29037-2-chenglulu@loongson.cn> Autocrypt: addr=xry111@xry111.site; prefer-encrypt=mutual; keydata=mDMEYnkdPhYJKwYBBAHaRw8BAQdAsY+HvJs3EVKpwIu2gN89cQT/pnrbQtlvd6Yfq7egugi0HlhpIFJ1b3lhbyA8eHJ5MTExQHhyeTExMS5zaXRlPoiTBBMWCgA7FiEEkdD1djAfkk197dzorKrSDhnnEOMFAmJ5HT4CGwMFCwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQrKrSDhnnEOPHFgD8D9vUToTd1MF5bng9uPJq5y3DfpcxDp+LD3joA3U2TmwA/jZtN9xLH7CGDHeClKZK/ZYELotWfJsqRcthOIGjsdAPuDgEYnkdPhIKKwYBBAGXVQEFAQEHQG+HnNiPZseiBkzYBHwq/nN638o0NPwgYwH70wlKMZhRAwEIB4h4BBgWCgAgFiEEkdD1djAfkk197dzorKrSDhnnEOMFAmJ5HT4CGwwACgkQrKrSDhnnEOPjXgD/euD64cxwqDIqckUaisT3VCst11RcnO5iRHm6meNIwj0BALLmWplyi7beKrOlqKfuZtCLbiAPywGfCNg8LOTt4iMD Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.1 MIME-Version: 1.0 X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,LIKELY_SPAM_FROM,SPF_HELO_PASS,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Fri, 2023-11-17 at 16:33 +0800, Lulu Cheng wrote: > Define ISA_BASE_LA64V110, which represents the base instruction set defin= ed in LoongArch1.1. > Support the configure setting --with-arch =3Dla664, and support -march=3D= la664,-mtune=3Dla664. >=20 > gcc/ChangeLog: >=20 > * config.gcc: Support LA664. > * config/loongarch/genopts/loongarch-strings: Likewise. > * config/loongarch/genopts/loongarch.opt.in: Likewise. > * config/loongarch/loongarch-cpu.cc (fill_native_cpu_config): Likewise. > * config/loongarch/loongarch-def.c: Likewise. There should be diff --git a/gcc/config/loongarch/loongarch-def.c b/gcc/config/loongarch/loongarch-def.c index 067629141b6..f22d488acb2 100644 --- a/gcc/config/loongarch/loongarch-def.c +++ b/gcc/config/loongarch/loongarch-def.c @@ -165,6 +165,7 @@ loongarch_cpu_multipass_dfa_lookahead[N_TUNE_TYPES] =3D { const char* loongarch_isa_base_strings[N_ISA_BASE_TYPES] =3D { [ISA_BASE_LA64V100] =3D STR_ISA_BASE_LA64V100, + [ISA_BASE_LA64V110] =3D STR_ISA_BASE_LA64V110, }; =20 const char* --=20 Xi Ruoyao School of Aerospace Science and Technology, Xidian University