| 1 Aug 2025 |
dramforever | i mean... riscv is mips with extra steps right? | 12:03:02 |
K900 | The extra step is 1) make a lot of it 2) sell to Chinese hyperscalers | 12:03:17 |
emily | in the case of RISC-V that's a lot of extra steps | 12:03:17 |
dramforever | no i don't think loongarch is any more mips than riscv is | 12:03:19 |
emily | like it's MIPS brain but I don't think you can call it MIPS | 12:03:25 |
K900 | Loongarch is compatible with MIPS64 | 12:03:54 |
dramforever | the extra step is the chinese company has control over the whole thing now | 12:03:54 |
K900 | (though they'll never admit it) | 12:03:59 |
dramforever | rather than licensing it from whoever else | 12:04:01 |
K900 | I think they have some things on top now | 12:04:06 |
emily | fair warning I am removing lib.systems.platforms.fuloong2f_n32 | 12:04:25 |
emily | but it was broken anyway | 12:04:28 |
emily | you shouldn't need it if you build a more normal system | 12:04:35 |
dramforever | In reply to @k900:0upti.me Loongarch is compatible with MIPS64 source? compatible in what sense? | 12:04:42 |
emily | fwiw K900's statements match what I heard | 12:04:54 |
emily | that LoongArch just decided to fork MIPS | 12:05:04 |
dramforever | i've never been able to track down a source on "compatible" | 12:05:27 |
dramforever | yeah, "fork" is more like it | 12:05:38 |
K900 | It's the exact same instruction encodings | 12:05:58 |
K900 | I think they might have diverged somewhat by now? | 12:06:09 |
emily | "This is why LoongArch is better than RISC-V and also why the author of LoongArch does not like RISC-V and creates this new ISA." | 12:06:14 |
K900 | But the actual opcodes are identical | 12:06:16 |
emily | https://godbolt.org/z/ncGdnxqEf lol | 12:06:20 |
emily | (this is the entire link the reddit post goes to) | 12:06:28 |
dramforever | it's literally not the same instruction encodings | 12:07:41 |
emily | RISC-V feels like the kind of architecture I would have produced as a teenager who was monomaniacally fixated on orthogonality and minimality in all things | 12:07:57 |
emily | I guess this comparison is probably not using uhh RV32 or whatever though | 12:08:13 |
emily | or whatever you're meant to be using now. the real architecture | 12:08:20 |
K900 | It's literally like that | 12:08:26 |
emily | yeah ok the reddit comments say as much | 12:08:34 |