!FBuJyWXTGcGtHTPphC:nixos.org

Nix Rust

651 Members
Rust147 Servers

Load older messages


SenderMessageTime
1 Aug 2025
@emilazy:matrix.orgemily fwiw K900's statements match what I heard 12:04:54
@emilazy:matrix.orgemilythat LoongArch just decided to fork MIPS12:05:04
@dramforever:matrix.orgdramforeveri've never been able to track down a source on "compatible"12:05:27
@dramforever:matrix.orgdramforeveryeah, "fork" is more like it12:05:38
@k900:0upti.meK900It's the exact same instruction encodings12:05:58
@k900:0upti.meK900I think they might have diverged somewhat by now?12:06:09
@emilazy:matrix.orgemily"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:0upti.meK900But the actual opcodes are identical12:06:16
@emilazy:matrix.orgemilyhttps://godbolt.org/z/ncGdnxqEf lol12:06:20
@emilazy:matrix.orgemily(this is the entire link the reddit post goes to)12:06:28
@dramforever:matrix.orgdramforeverit's literally not the same instruction encodings12:07:41
@emilazy:matrix.orgemilyRISC-V feels like the kind of architecture I would have produced as a teenager who was monomaniacally fixated on orthogonality and minimality in all things12:07:57
@emilazy:matrix.orgemilyI guess this comparison is probably not using uhh RV32 or whatever though12:08:13
@emilazy:matrix.orgemilyor whatever you're meant to be using now. the real architecture12:08:20
@k900:0upti.meK900It's literally like that12:08:26
@emilazy:matrix.orgemilyyeah ok the reddit comments say as much12:08:34
@k900:0upti.meK900Their response to "why" is "just do more uop fusion lol"12:08:37
@emilazy:matrix.orgemilywell, no12:09:02
@emilazy:matrix.orgemilyhttps://godbolt.org/z/19jnvda7G12:09:03
@emilazy:matrix.orgemilyit looks like rva23u64 beats MIPS there12:09:20
@emilazy:matrix.orgemilyso it's just a dumb comparison12:09:27
@k900:0upti.meK900Well yeah I don't mean this specific case12:09:37
@k900:0upti.meK900I just mean in general12:09:39
@emilazy:matrix.orgemilyalthough the fragmentation of the RISC-V instruction sets in general is its own kind of dumb I suppose12:09:39
@emilazy:matrix.orgemilybut also the thing teenage me would have done12:09:45
@k900:0upti.meK900There's like12:09:46
@k900:0upti.meK900A List12:09:47
@k900:0upti.meK900Of like Officially Mandated Fusions You Must Do To Fast12:10:01
@k900:0upti.meK900That compilers also know12:10:07
@emilazy:matrix.orgemilyI think x86 also involves known uop fusions that compilers take into account12:10:08

Show newer messages


Back to Room ListRoom Version: 6