LoongArch

By: Ariadne Conill (ariadne.delete@this.dereferenced.org), April 17, 2021 3:19 pm
Room: Moderated Discussions
Marcus (m.delete@this.bitsnbites.eu) on April 17, 2021 1:42 am wrote:
> Ariadne Conill (ariadne.delete@this.dereferenced.org) on April 16, 2021 10:53 pm wrote:
> > Hello,
> >
> > Anon (no.delete@this.spam.com) on April 16, 2021 4:51 pm wrote:
> > > LoongShot (Lsx.delete@this.lasx.com) on April 16, 2021 3:01 pm wrote:
> > > > Big week for ISAs - LoongArch
> > >
> > > Will it be another boring RISC?
> >
> > I did some digging into this, as I maintain the MIPS64 port in
> > Alpine, and was planning to target Loongson at some point.
> >
> > From what I can tell, LoongArch is just a fork of the MIPS ISA, in a similar way to how MIPS32r5
> > and MIPS64r6 are backward-incompatible forks of the MIPS ISA. I conclude this based on the fact
> > that LoongArch offers the same extensions that MIPS CPUs do, just with slightly different names,
> > as can be seen in this translated press release. For example, what MIPS CPUs call the Virtualization
> > Extension (VZ), LoongArch calls the LoongArch Virtualization Extension (LVZ). Another example is
> > that the MIPS SIMD instructions (MSA) are renamed to LoongArch Vector Extension (LSX).
> >
> > Specifically, I believe LoongArch to be a fork of MIPS64r6. If you look at the unofficial
> > programmer's documentation
, there are a lot of similarities, notably the removal of the
> > delay slot and all instructions related to delayed branching using the delay slot.
> >
> > So, most likely LoongArch is just a fork of MIPS64r6. Perhaps it is even just a branded version of
> > MIPS64r6. Without seeing the bytecode emitted by an assembler for LoongArch, I can't know for sure.
>
> I suppose they will upstream patches to gcc and binutils at some point?
>

They seemed pretty eager to collaborate on mips64el in Alpine, so I am sure they will be upstreaming patches ASAP. There is some news about a source code leak for the Linux kernel adaptation of LoongArch, but I've yet to find it. It's not in their usual repos on GitHub.
< Previous Post in ThreadNext Post in Thread >
TopicPosted ByDate
LoongArchLoongShot2021/04/16 03:01 PM
  LoongArchdmcq2021/04/16 03:25 PM
    LoongArchMarcus2021/04/17 01:52 AM
      LoongArchanon22021/04/17 03:21 AM
        LoongArchGabriele Svelto2021/04/17 07:07 AM
          LoongArchAriadne Conill2021/04/17 03:22 PM
    Please discuss politics elsewhere (NT)Foo_2021/04/17 03:27 AM
  LoongArchDuane Sand2021/04/16 04:11 PM
  LoongArchAnon2021/04/16 04:51 PM
    LoongArchMark Roulo2021/04/16 05:52 PM
      LoongArchdmcq2021/04/17 10:23 AM
        LoongArchdmcq2021/04/17 10:44 AM
        LoongArch---2021/04/18 08:53 AM
          LoongArchdmcq2021/04/18 03:14 PM
            LoongArchMarcus2021/04/19 07:07 AM
              LoongArchdmcq2021/04/19 01:07 PM
    LoongArchAriadne Conill2021/04/16 10:53 PM
      LoongArchMarcus2021/04/17 01:42 AM
        LoongArchAriadne Conill2021/04/17 03:19 PM
    Another boring SIMD yesHeikki Kultala2021/04/17 09:31 AM
      Another boring SIMD yesGabriele Svelto2021/04/19 12:39 AM
        Another boring SIMD yesdmcq2021/04/19 02:00 AM
      Another boring RISC I mean (NT)Heikki Kultala2021/04/19 05:41 AM
Reply to this Topic
Name:
Email:
Topic:
Body: No Text
How do you spell avocado?