| 17 Jun 2023 |
@lotte:chir.rs | iirc the core ip they licensed does advertise support for the “B extension” | 15:53:18 |
@lotte:chir.rs | and so does the IPL/firmware | 15:53:28 |
Alex | For the SiFive U74, Zba and Zbb appear to be optional, so I'm not sure every CPU variant have them. | 15:54:39 |
@lotte:chir.rs | yeah | 15:57:38 |
@lotte:chir.rs | okay i just verified that, Zbc and Zbc are not supported | 16:17:17 |
@lotte:chir.rs | * okay i just verified that; Zbc and Zbc are not supported | 16:17:24 |
@lotte:chir.rs | * okay i just verified that; Zbc and Zbs are not supported | 16:17:31 |
Alex | In reply to @lotte:chir.rs iirc the core ip they licensed does advertise support for the “B extension” By the way, SiFive call it "RV64GBC", but it's actually "RV64GC_Zba_Zbb"; only the latter works with GCC's -march flag (GCC >=12). | 17:09:09 |
@lotte:chir.rs | yeah it’s why i put it in quotes | 17:09:40 |
@lotte:chir.rs | the B extension is nowhere near ratified and it’s a lot more complicated than a bit of shifted adding, rotation, and additional ALU outputs | 17:10:32 |
@lotte:chir.rs | * the B extension is nowhere near ratified and it’s a lot more complicated than a bit of shifted adding, rotation, and ALU ops that just require a bit of extra control logic | 17:11:12 |
@lotte:chir.rs | (andn, orn, and xnor is what sub is to add basically) | 17:11:30 |
@lotte:chir.rs | * the B extension is nowhere near ratified and it’s a lot more complicated than a bit of shift-adding, rotation, and ALU ops that just require a bit of extra control logic | 17:12:02 |
| 18 Jun 2023 |
| quasineutral joined the room. | 09:50:10 |
@lotte:chir.rs | I wonder what the extension instructions are on the jh7110 | 15:10:10 |
@lotte:chir.rs | * I wonder what the custom instructions are on the jh7110 | 15:10:18 |
| 25 Jun 2023 |
Alyssa Ross | ugh, loongarch64 linux includes the kernel version number in the name of the image it installs, so we can't use our normal kernelTarget mechanism | 13:49:13 |
Alyssa Ross | (although tbh, I've been wanting to change how kernelTarget works for a while. It doesn't really make sense for it to be a platform property. It should be an option + passthru on the kernel derivation.) | 13:49:39 |
| 26 Jun 2023 |
raitobezarius | https://twitter.com/Houge_Langley/status/1673110240647331840 | 09:38:52 |
Alex | In reply to @raitobezarius:matrix.org https://twitter.com/Houge_Langley/status/1673110240647331840 If they're using upstream Nixpkgs, it's probably going to fail on LLVM 11; adding an overlay for llvmPackages = self.llvmPackages_15 should fix it. | 09:42:38 |
raitobezarius | Redacted or Malformed Event | 09:42:48 |
raitobezarius | We will see what OP says :) | 09:43:06 |
misuzu | In reply to @alex:tunstall.xyz If they're using upstream Nixpkgs, it's probably going to fail on LLVM 11; adding an overlay for llvmPackages = self.llvmPackages_15 should fix it. it builds fine on native afaik | 14:43:53 |
Alex | In reply to @misuzu:matrix.org it builds fine on native afaik I'm talking about native.
The commit I'm on (7c67f006ea0e7d0265f16d7df07cc076fdffd91f) failed on LLVM 11.
Or maybe it's because I have added -march and -mtune in my platform configuration? | 14:56:01 |
| Luke joined the room. | 18:37:18 |
raitobezarius | In reply to @qyliss:fairydust.space (although tbh, I've been wanting to change how kernelTarget works for a while. It doesn't really make sense for it to be a platform property. It should be an option + passthru on the kernel derivation.) I definitely join you on this as I was fiddling with the zboot PR | 22:00:25 |
| 27 Jun 2023 |
misuzu | In reply to @alex:tunstall.xyz
I'm talking about native.
The commit I'm on (7c67f006ea0e7d0265f16d7df07cc076fdffd91f) failed on LLVM 11.
Or maybe it's because I have added -march and -mtune in my platform configuration? Works for me (I didn't mess with build options) | 06:42:01 |
@lotte:chir.rs | Anyone in here with a DevTerm? Specifically with a CM4 core | 20:25:05 |
@lotte:chir.rs | * Anyone in here with a clockwork pi DevTerm? Specifically with a CM4 core | 20:25:32 |
@lotte:chir.rs | Having some issue getting any kernel to work, although maybe I'm just missing some kernel modules or sth | 20:35:10 |