From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 23613 invoked from network); 12 May 2021 19:53:19 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 12 May 2021 19:53:19 -0000 Received: (qmail 9621 invoked by uid 550); 12 May 2021 19:53:16 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 9592 invoked from network); 12 May 2021 19:53:15 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dereferenced.org; s=mailbun; t=1620849182; bh=LyIbUJkGeOZpm732TX4BLTP0Zt5LqRLQKDtsCk/Nml4=; h=Date:From:To:cc:Subject:In-Reply-To:References; b=gaYljOvUHeJwh5a6E0z+2kuiBJhsad6MYi/PmYeOe0cY441xse88hjhWDlzmISNqZ GFm3+MooMrXS0EQLwCiACMotE5q6NZ9efvdBf09xhdJZM35kWad2j1i3qRMcp0BaW3 B7/YXmNruSqfNR3jziy4HWg8+Yo9hKAZUAgX+OFgwtVXhWk6by7pBQE53eoA1OcmIe T0b3iMGeXf/Ip9gbmzBNE293HuxKAN5WOZhV9RNJ4taGUCQ/foBs56iacg0+QTucLH q03bevROkVN8lKf/HS0I4tp4JM+ybvaSerEUd0px94gtBtdLqtqlc6/foT6w5pH/Xl LG9CCbXUpVIKg== Date: Wed, 12 May 2021 13:53:01 -0600 (MDT) From: Ariadne Conill To: musl@lists.openwall.com cc: =?GB2312?B?s8K5+uz3?= In-Reply-To: <58f63682.24a0.1795fe974c7.Coremail.zhaixiaojuan@loongson.cn> Message-ID: <15ccd87-3719-748-785e-40103966b47@dereferenced.org> References: <5f6d09a5.c3a.179460eee20.Coremail.zhaixiaojuan@loongson.cn> <32e9f7ee-bd3c-762a-a771-2da41a8c1bb0@dereferenced.org> <1a5a097f.12d7.1794a6de3a8.Coremail.zhaixiaojuan@loongson.cn> <58f63682.24a0.1795fe974c7.Coremail.zhaixiaojuan@loongson.cn> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="0-1891515739-1620849182=:26181" Subject: Re: Re: Re: [musl] Port the new architecture loongarch64 to musl This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-1891515739-1620849182=:26181 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8BIT Hi, On Wed, 12 May 2021, 翟小娟 wrote: > Hi, > We have ported the code of libucontext for loongarch64 architecture and can be obtained from https://github.com/loongson-community/libucontext > Currently qemu is still being tested, I will announce it as soon as it is completed. It looks alright, but I am wondering why makecontext is written in assembly. The reason why it is written in assembly for mips had to do with specific peculariaties of how the MIPS64 ABI interacted with libucontext. I don't see that the loongarch64 code is trying to capture the $gp register though. Ariadne --0-1891515739-1620849182=:26181--