From patchwork Wed Jan 17 01:24:06 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: chenxiaolong X-Patchwork-Id: 188653 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:42cf:b0:101:a8e8:374 with SMTP id q15csp630096dye; Tue, 16 Jan 2024 17:25:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IEQtQ3UVJkyxDnxHd00OVMsbO16cZDbjVERAf/TfVvnIj+EdhiMlSNy5xSwlj0yGJhqbk6e X-Received: by 2002:a81:6d4b:0:b0:5ff:6264:65c4 with SMTP id i72-20020a816d4b000000b005ff626465c4mr563108ywc.0.1705454728852; Tue, 16 Jan 2024 17:25:28 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705454728; cv=pass; d=google.com; s=arc-20160816; b=qxnVyt/T1sYxvv+lRdrIRvyRbHsxPBlmJ8nHB2wJAkiJy3MupTGHMJqS7f3fpvqDo4 bnCggnw5inr7BETYxFyNpXAM6YqK16rfYmYjG2rmCXnrIjsqAuT6r5TaOZjIPO1l+v60 nhrrbiY36k2mqLwrnetNPAf8dvb9I3moUfCUQgITiDARk1snLTdP6ukZFRRjj9rR3R/S BO7xwqWMhPR5V3/6L5jpiiHh94yi/ODTlFFBVZWiFJ0/eUi8KKJL3u6+cLlnw8TACqRj 02PW8RaIa/RB7P3sLOwRk3DNplE6hed2Ga2jo/MMWd69NbJrHWekiZiJr8OUnEHIVB8O dsYg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:arc-filter :dmarc-filter:delivered-to; bh=60U6kBbBz8stcw/ujQXUdAtWGUSEaaJg+GFZPzR/wZE=; fh=6LgICDG6zE7j/CxCHu23CB0rJd/K2ImLz1UJ2l2oyZE=; b=Y6tyao1LU9STJsJn1iXqn1RlpDbCJLAPYTjWbHUfUwmG+BQkLGgBHrm9kJ4cx5utbs HpL5iJauU8MsvSeKjDOO+7FO8M3OmzeewS55vCbW/sugsvQCLwOYUMPidYSdAWLbz7jC RSYZMosYE5HQZ19kl6V5TFGvpYf2mSM14HiJDTkXIharR2Ntxh1yAl1z5zS22cNraARZ wO8zfEL+egkiL3q5KfPaSFfyMUDdF8PACSqOUFayC9sa2+Si/H+9JsINXgq5rtoPoU/M fBq6IsNA7LB45qeHWwP/ma4SuBMQdFPC8lAgmz/cr95ulQAS2t6sgtXCFJ/3mcnOzruN k9dA== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id d8-20020a0cdb08000000b0067f969bf1d6si10879047qvk.272.2024.01.16.17.25.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Jan 2024 17:25:28 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 9006C3860C31 for ; Wed, 17 Jan 2024 01:25:28 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from eggs.gnu.org (eggs.gnu.org [IPv6:2001:470:142:3::10]) by sourceware.org (Postfix) with ESMTPS id 9379B385840D for ; Wed, 17 Jan 2024 01:24:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9379B385840D Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=loongson.cn Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=loongson.cn ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 9379B385840D Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2001:470:142:3::10 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705454686; cv=none; b=Gc+rNsXElP283WWO21xeJm49s7+cpqBrLPMMgXbTKdxKXxycUm/6cYqHkgnFYjXf28ZyGgCLIMjtdFdNloXwgdQjNKhLyiVSd1f4tMpInQEYhxbd6j8kj0j0NMyues6z5Ude+kkQt8GF99p6T2R7h15ZqJl/4sDCpnVOm6kBzLM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705454686; c=relaxed/simple; bh=XAJfcF3YCqx9fqmkK9Yf4YVJJtJsOaVB2YWI757snmI=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=MfcbirGCk0S2lVN6Bf1UTJtVPGyNew+x1NZm3AzmKCrkmXd15UvPkBFDbnOwjgYJb5w41RnzS3CyXvmGeW3vp62yrKOFWGq9tLNKP8PHjlbSg4x/EzZ/00GbDnVu/LWbtkLKfKCG29joNZwEQp5voLlG3LvKb2TZZSv8hZnMcPw= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from mail.loongson.cn ([114.242.206.163]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rPufY-0007Lr-Pm for gcc-patches@gcc.gnu.org; Tue, 16 Jan 2024 20:24:43 -0500 Received: from loongson.cn (unknown [10.10.130.252]) by gateway (Coremail) with SMTP id _____8DxfetRLKdlgPgAAA--.4561S3; Wed, 17 Jan 2024 09:24:33 +0800 (CST) Received: from slurm-master.loongson.cn (unknown [10.10.130.252]) by localhost.localdomain (Coremail) with SMTP id AQAAf8Cxbs1PLKdlp2wFAA--.25813S4; Wed, 17 Jan 2024 09:24:31 +0800 (CST) From: chenxiaolong To: gcc-patches@gcc.gnu.org Cc: xry111@xry111.site, i@xen0n.name, xuchenghua@loongson.cn, chenglulu@loongson.cn, schwab@linux-m68k.org, ci_notify@linaro.org, chenxiaolong Subject: [PATCH v1] LoongArch: doc:Combined with the content of target-supports.exp, add the attribute description related to LoongArch. Date: Wed, 17 Jan 2024 09:24:06 +0800 Message-Id: <20240117012406.2488-1-chenxiaolong@loongson.cn> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 X-CM-TRANSID: AQAAf8Cxbs1PLKdlp2wFAA--.25813S4 X-CM-SenderInfo: hfkh05xldrz0tqj6z05rqj20fqof0/1tbiAQASBWWk7N8INgAMsW X-Coremail-Antispam: 1Uk129KBj9xXoWrtrWkZrW5GryDtFWrArWfXrc_yoWDtrXEqF 1Sqas8Grn8Cas8tasFy3WfAayUGa95WFyYkFyDJF42gFy8ZFn5XFZ3Xrn3Zr1jkrWkK3Z5 Arsrtr1rZ3srtosvyTuYvTs0mTUanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUj1kv1TuYvT s0mT0YCTnIWjqI5I8CrVACY4xI64kE6c02F40Ex7xfYxn0WfASr-VFAUDa7-sFnT9fnUUI cSsGvfJTRUUUb78YFVCjjxCrM7AC8VAFwI0_Jr0_Gr1l1xkIjI8I6I8E6xAIw20EY4v20x vaj40_Wr0E3s1l1IIY67AEw4v_JrI_Jryl8cAvFVAK0II2c7xJM28CjxkF64kEwVA0rcxS w2x7M28EF7xvwVC0I7IYx2IY67AKxVWUCVW8JwA2z4x0Y4vE2Ix0cI8IcVCY1x0267AKxV WUJVW8JwA2z4x0Y4vEx4A2jsIE14v26r4j6F4UM28EF7xvwVC2z280aVCY1x0267AKxVW8 JVW8Jr1le2I262IYc4CY6c8Ij28IcVAaY2xG8wAqjxCEc2xF0cIa020Ex4CE44I27wAqx4 xG64xvF2IEw4CE5I8CrVC2j2WlYx0E2Ix0cI8IcVAFwI0_Jr0_Jr4lYx0Ex4A2jsIE14v2 6r1j6r4UMcvjeVCFs4IE7xkEbVWUJVW8JwACjcxG0xvY0x0EwIxGrwCF04k20xvY0x0EwI xGrwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r18MI8I3I0E7480 Y4vE14v26r106r1rMI8E67AF67kF1VAFwI0_Jw0_GFylIxkGc2Ij64vIr41lIxAIcVC0I7 IYx2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Jr0_Gr1lIxAIcVCF04k2 6cxKx2IYs7xG6r1j6r1xMIIF0xvEx4A2jsIE14v26r1j6r4UMIIF0xvEx4A2jsIEc7CjxV AFwI0_Jr0_GrUvcSsGvfC2KfnxnUUI43ZEXa7IU8czVUUUUUU== Received-SPF: pass client-ip=114.242.206.163; envelope-from=chenxiaolong@loongson.cn; helo=mail.loongson.cn X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Status: No, score=-13.5 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, SPF_FAIL, SPF_HELO_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 X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1788298897990395356 X-GMAIL-MSGID: 1788298897990395356 gcc/ChangeLog: * doc/sourcebuild.texi: Add attributes for keywords. --- gcc/doc/sourcebuild.texi | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/gcc/doc/sourcebuild.texi b/gcc/doc/sourcebuild.texi index 8082100a3c9..6c33237ac78 100644 --- a/gcc/doc/sourcebuild.texi +++ b/gcc/doc/sourcebuild.texi @@ -2352,6 +2352,26 @@ AArch64 target that is able to generate and execute armv8.3-a FJCVTZS instruction. @end table +@subsubsection LoongArch specific attributes + +@table @code +@item loongarch_sx +LoongArch target that generates instructions for SX. + +@item loongarch_asx +LoongArch target that generates instructions for ASX. + +@item loongarch_sx_hw +LoongArch target that is able to generate and execute SX code. + +@item loongarch_asx_hw +LoongArch target that is able to generate and execute ASX code. + +@item loongarch_call36_support +LoongArch binutils supports call36 relocation. + +@end table + @subsubsection MIPS-specific attributes @table @code