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.1 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,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 27524 invoked from network); 24 Jun 2021 11:56:43 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 24 Jun 2021 11:56:43 -0000 Received: (qmail 17615 invoked by uid 550); 24 Jun 2021 11:56:41 -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 17594 invoked from network); 24 Jun 2021 11:56:40 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to; bh=IeMW/W/R3b0W04m5cPDOhmW0CrD0Gaq271II96KRSBY=; b=sjcCQ5dk/Jwn2Hu4m7ZBQU7ivAQt+D8qYHh8I0PWw3kf7zqeywClRuM8eH2W6J5OLe jcqthlOhJyPs+rmzUyMunRiagLDATAfiZatv8tPSm95IehDwqvNpg5sDwJ5LjvmkJ/yk 6V/zkxn8h1gLJLCPxEWkowJoYLkSmJSDztESwqmJjicokHZ2tJ2xj+cQdQBM2UWYTWN+ pIu6yiNVin9uTcCFWx757bllHIQF8YbHVgOSCqe8l5kUR3plUuc8j1FfF783S6tknGsy 6Bqmmvx0tdMzaH5fYyW2sbw9eIQapulPIwOEwRTNKpNQSUho0+zGg1hmgAQwo+Jyb1rs Kd+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:reply-to :from:date:message-id:subject:to; bh=IeMW/W/R3b0W04m5cPDOhmW0CrD0Gaq271II96KRSBY=; b=W6vqxsXTxf2pS+MSkpfUeO8SD0F4zdLrCT3Tjdx4Ou3mjngiKNfqo8JYq0ly6XfZCE 7W8usJbLoE3u7nKvzKG+VBIYJOMbCPQ+uU+IqT9Mfmzv/prJYFARf0nh+RBw5JfpToMD Uao16ZPZlw/xUesMr9UDkMsbNojruVFXyfYiPM29nGhwYbDLKq9rWf0Al3XE7MnvNwIW i4AAn6nT8It6KlwJrIkh3QpEUhpFkloHM7zAF9znYo6K81N+Nn1CZMMTMvKYNoqKhMoK ZaQbj6jYACfikJWKpHL6RBHsk2O7aoNIu6t0VRyuVPhG7ZHotodV3YpaC/qufk9aCNr6 OMPw== X-Gm-Message-State: AOAM530i95+3pTpni7AU/Unc8ddC3LNGYOvnJvZ548KP5Z7bf5d7clob gkeudYAehLH7+mKYOXb2YFDeGenuxBYVXUCKo/+59NOV9IMizw== X-Google-Smtp-Source: ABdhPJxzm/ZrSLh3+VE9m+TAIUmAquZL/hBMpyfOUy26CSVqPLLbDoZdf2HS6EDXAFjENkVQt1siotBSnCh/A29BBXQ= X-Received: by 2002:ac5:c4c1:: with SMTP id a1mr2082775vkl.18.1624535788102; Thu, 24 Jun 2021 04:56:28 -0700 (PDT) MIME-Version: 1.0 References: <5f6d09a5.c3a.179460eee20.Coremail.zhaixiaojuan@loongson.cn> <631a1416.5853.17a3dd4c129.Coremail.zhaixiaojuan@loongson.cn> In-Reply-To: <631a1416.5853.17a3dd4c129.Coremail.zhaixiaojuan@loongson.cn> From: =?UTF-8?B?572X5YuH5YiaKFlvbmdnYW5nIEx1byk=?= Date: Thu, 24 Jun 2021 19:56:17 +0800 Message-ID: To: Musl Content-Type: multipart/alternative; boundary="00000000000093262405c581b688" Subject: Re: Re: [musl] Port the new architecture loongarch64 to musl --00000000000093262405c581b688 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Thu, Jun 24, 2021 at 7:43 PM =E7=BF=9F=E5=B0=8F=E5=A8=9F wrote: > > Hi, qemu supports loongarch64 architecture has been completed: https://github.com/loongson/qemu . Good to hear that, which qemu branches support for loongarch64? > For musl loongarch64 source code can also be obtained from https://github.com/loongson-community/musl. If necessary, we can also provide a remote testing enviroment. > See the attachment for specific modifications. > > -----=E5=8E=9F=E5=A7=8B=E9=82=AE=E4=BB=B6----- > =E5=8F=91=E4=BB=B6=E4=BA=BA:"=E7=BD=97=E5=8B=87=E5=88=9A(Yonggang Luo)" <= luoyonggang@gmail.com> > =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4:2021-05-08 00:29:40 (=E6=98=9F=E6=9C= =9F=E5=85=AD) > =E6=94=B6=E4=BB=B6=E4=BA=BA: Musl > =E6=8A=84=E9=80=81: "=E9=99=88=E5=9B=BD=E7=A5=BA" > =E4=B8=BB=E9=A2=98: Re: [musl] Port the new architecture loongarch64 to m= usl > > Same question, does qemu have already support for loongarch64, that's means a lot for auto testing > As the real hardware will be not broadly available in the next few years= . > > > > On Fri, May 7, 2021 at 5:01 PM =E7=BF=9F=E5=B0=8F=E5=A8=9F wrote: > Hi, > I ported a new architecture loongarch64 on the latest branch of musl master. It has been successfully compiled and run the official test libraries libc-testsuit and libc-test of musl. > The source code of the prot has been published in https://github.com/loongson-community/musl. Or check the attachment 0001-port-to-loongarch64.patch, it is the transplanted patch file. > > Introduction to loongarch architecture: > The Loongarch architecture is a simplified instruction computer style instruction system architecture. The instruction length is fixed and the encoding format is regular. Most instructions have only two source operands and one destination operand. The load/store architecture is adopted, that is, only load/store memory access instructions can access the memory, and the operation objects of other instructions are all It is the immediate value in the register or instruction code in the processor core. > The Loongson architecture is divided into two versions, 32bit and 64bit, called LA32 and LA64 respectively. LA64 architecture application level is downward binary compatible with LA32 architecture. > > > > -- > =E6=AD=A4=E8=87=B4 > =E7=A4=BC > =E7=BD=97=E5=8B=87=E5=88=9A > Yours > sincerely, > Yonggang Luo > > > -- =E6=AD=A4=E8=87=B4 =E7=A4=BC =E7=BD=97=E5=8B=87=E5=88=9A Yours sincerely, Yonggang Luo --00000000000093262405c581b688 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Thu, Jun 24, 2021 at 7:43 PM =E7=BF=9F=E5=B0=8F= =E5=A8=9F <zhaixiaojuan@loon= gson.cn> wrote:
>
> Hi, qemu supports loongarch64 archit= ecture has been completed: htt= ps://github.com/loongson/qemu .

Good to hear that, which qemu br= anches support for loongarch64?

> For musl loongarch64 source cod= e can also be obtained from https://github.com/loongson-community/musl. If necessary, we ca= n also provide a remote testing enviroment.
> See the attachment for = specific modifications.
>
> -----=E5=8E=9F=E5=A7=8B=E9=82=AE=E4= =BB=B6-----
> =E5=8F=91=E4=BB=B6=E4=BA=BA:"=E7=BD=97=E5=8B=87=E5= =88=9A(Yonggang Luo)" <luo= yonggang@gmail.com>
> =E5=8F=91=E9=80=81=E6=97=B6=E9=97=B4:202= 1-05-08 00:29:40 (=E6=98=9F=E6=9C=9F=E5=85=AD)
> =E6=94=B6=E4=BB=B6= =E4=BA=BA: Musl <musl@lists.o= penwall.com>
> =E6=8A=84=E9=80=81: "=E9=99=88=E5=9B=BD=E7= =A5=BA" <chenguoqi@loongso= n.cn>
> =E4=B8=BB=E9=A2=98: Re: [musl] Port the new architectu= re loongarch64 to musl
>
> Same question, does qemu have alread= y support for =C2=A0loongarch64, that's means a lot for auto testing> As the real hardware will be not broadly =C2=A0available in the next = few years.
>
>
>
> On Fri, May 7, 2021 at 5:01 PM = =E7=BF=9F=E5=B0=8F=E5=A8=9F <zhaixiaojuan@loongson.cn> wrote:
> Hi,
> I ported a new= architecture loongarch64 on the latest branch of musl master. It has been = successfully compiled and run the official test libraries libc-testsuit and= libc-test of musl.
> The source code of the prot has been published = in https://github.co= m/loongson-community/musl.=C2=A0 Or check the attachment 0001-port-to-l= oongarch64.patch, it is the transplanted patch file.
>
> Introd= uction to loongarch architecture:
> The Loongarch architecture is a s= implified instruction computer style instruction system architecture. The i= nstruction length is fixed and the encoding format is regular. Most instruc= tions have only two source operands and one destination operand. The load/s= tore architecture is adopted, that is, only load/store memory access instru= ctions can access the memory, and the operation objects of other instructio= ns are all It is the immediate value in the register or instruction code in= the processor core.
> The Loongson architecture is divided into two = versions, 32bit and 64bit, called LA32 and LA64 respectively. LA64 architec= ture application level is downward binary compatible with LA32 architecture= .
>
>
>
> --
> =E6=AD=A4=E8=87=B4
> =E7= =A4=BC
> =E7=BD=97=E5=8B=87=E5=88=9A
> Yours
> sincerely,=
> Yonggang Luo
>
>
> </zhaixiaojuan@loongson.cn></chenguoqi@loongson.cn></musl@lists.openwall.com></luoyonggang@gmail.com>



--<= br>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0=E6=AD=A4=E8=87=B4
=E7=A4=BC
=E7= =BD=97=E5=8B=87=E5=88=9A
Yours
=C2=A0 =C2=A0 sincerely,
Yonggang L= uo
--00000000000093262405c581b688--