From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io1-xd32.google.com (mail-io1-xd32.google.com [IPv6:2607:f8b0:4864:20::d32]) by sourceware.org (Postfix) with ESMTPS id 1FB813858D37 for ; Sat, 22 Jan 2022 21:54:38 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 1FB813858D37 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=moxielogic.com Authentication-Results: sourceware.org; spf=none smtp.mailfrom=moxielogic.com Received: by mail-io1-xd32.google.com with SMTP id e79so15005854iof.13 for ; Sat, 22 Jan 2022 13:54:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=moxielogic-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=hC3f5pVwLtqZoAJHAkpbFVIGZGLIk60fBVNrCFufqLE=; b=uuK/WTgXNrZSK1tYa4KZeuFJWR0VYAhuhvQ/GzLdtmLbpAHENElBDmUl9hAEyeYE1G I/QfXewoDfyYcrusVuLzv5VWMDoyfacjTYalT0X0M0EYYWHOIp5CQP+raCHpzSvSodyo LygWysAXWcMyHqKx6cMmpNxESFSgq3mGH+f6HBTLowuhDSlysOYnnCMpXi+7Dhmr7dcM f4KHRzOOZjthvbeXI5TKytJ27Rg8/15tt02gxHAiXT9O2PUrTijrcZrt1Hy4vLBx28qS rHq91Wcga/yX3a4JZIV9zpzpEo3T1j+W2vwnVg/7EDaZsfN3TJcNNUn5EjoZUY2O5m9q CAZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=hC3f5pVwLtqZoAJHAkpbFVIGZGLIk60fBVNrCFufqLE=; b=dUZZP3Ii5cLYpWiQvN9Q6SOKn1CgM8tY158P7yIiIpCXlZVR6DxYF64ilLmH2njrq9 u8H5Nbzl/gsl1B38xHDVmTGBIT37U9iYIL7v2t7jppUCVY2nEjAXdp++DL5XIuaRPUug sHTbM+H3ZZ/96tNb/0kZN6kYUg82EYMykYla+C1UCpxM8/gmF7TMhkBXEgK3ZBwFqm9j ZKp/SgQlWZs/B+wufwb5+HCBB2XJrYkDwv867OL3Ltbl6x2doPKBflF4SzcZH9TDmYcc XMXi3NTMTyn8r27/RpHnyY5kqHNcO2EU2DIJhNBg3X6m8Q1SQaK+GEN75kp8LoSG6OOW 5TCA== X-Gm-Message-State: AOAM533Vitz0ZwjUDMNomSg3RfWo3QNZBidRFuwPoWwxdJDWt3WbnJTW XG66Eo8IK6oLANtHgoLJ1bFVQLKvB7ea8r5TA0Pkc6wmzVjU7g== X-Google-Smtp-Source: ABdhPJzwwwI5zGTDU6q6V6hPsGIw/27LvboBpWaqSNREi/FkE2tt89vgxMLPtuSFVUVJVKuduUmO6xsDHCUf1yKJ9Jg= X-Received: by 2002:a05:6602:24c8:: with SMTP id h8mr2245989ioe.173.1642888477462; Sat, 22 Jan 2022 13:54:37 -0800 (PST) MIME-Version: 1.0 References: <2b92dcc1.9d56.17e4d7bbe4e.Coremail.panxuefeng@loongson.cn> In-Reply-To: <2b92dcc1.9d56.17e4d7bbe4e.Coremail.panxuefeng@loongson.cn> From: Anthony Green Date: Sat, 22 Jan 2022 16:54:26 -0500 Message-ID: Subject: Re: Add a new Architecture to libffi upstream To: =?UTF-8?B?5r2Y5a2m5bOw?= Cc: libffi-discuss Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=0.4 required=5.0 tests=BAYES_00, BODY_8BITS, DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_NONE, 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: libffi-discuss@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libffi-discuss mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 22 Jan 2022 21:54:40 -0000 Hello, There are no specific rules, but off of the top of my head I would say: - align to existing coding styles and licenses - implement closure support - add testing support for the platform (we don't need much -- even a gdb-based simulator would work -- look at the moxie port for example) - update the README file - submit the patches through github PRs Thanks, AG On Wed, Jan 12, 2022 at 3:51 AM =E6=BD=98=E5=AD=A6=E5=B3=B0 wrote: > > Hi all: > > > > > Loongarch is a new RISC ISA. I want to add Loongarch code to libffi ups= tream. I am a newbie in this community, I am not clear about the libffi co= mmunity code submission rules. Can someone introduce the libffi community c= ode submission rules? > > > > > Thanks