!pbdtvoHxUGLhcEvnlu:nixos.org

Exotic Nix Targets

332 Members
102 Servers

Load older messages


SenderMessageTime
17 Jun 2023
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ&but it works now 🦀15:44:50
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ&semi related thing i just noticed, the vf2 apparently supports the Zbb extension15:45:35
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ&and then i noticed that gcc was outputting suboptimal assembly for a test case but it’s fixed already15:46:08
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ&https://godbolt.org/z/eEvcbqGYn15:46:08
@alex:tunstall.xyzAlex
In reply to @lotte:chir.rs
semi related thing i just noticed, the vf2 apparently supports the Zbb extension
Yes, it also has Zba despite neither being mentioned in the vendor's documentation.
15:52:38
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ&iirc the core ip they licensed does advertise support for the “B extension”15:53:18
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ&and so does the IPL/firmware15:53:28
@alex:tunstall.xyzAlexFor 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.rsLotte (it/its)/Cinny (she/her) θΔ&yeah15:57:38
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ&okay i just verified that, Zbc and Zbc are not supported16:17:17
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ& * okay i just verified that; Zbc and Zbc are not supported16:17:24
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ& * okay i just verified that; Zbc and Zbs are not supported16:17:31
@alex:tunstall.xyzAlex
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.rsLotte (it/its)/Cinny (she/her) θΔ&yeah it’s why i put it in quotes17:09:40
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ& 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.rsLotte (it/its)/Cinny (she/her) θΔ& * 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.rsLotte (it/its)/Cinny (she/her) θΔ&(andn, orn, and xnor is what sub is to add basically)17:11:30
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ& * 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:matrix.orgquasineutral joined the room.09:50:10
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ&I wonder what the extension instructions are on the jh711015:10:10
@lotte:chir.rsLotte (it/its)/Cinny (she/her) θΔ& * I wonder what the custom instructions are on the jh711015:10:18
25 Jun 2023
@qyliss:fairydust.spaceAlyssa Rossugh, loongarch64 linux includes the kernel version number in the name of the image it installs, so we can't use our normal kernelTarget mechanism13:49:13
@qyliss:fairydust.spaceAlyssa 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:matrix.orgraitobezariushttps://twitter.com/Houge_Langley/status/167311024064733184009:38:52
@alex:tunstall.xyzAlex
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:matrix.orgraitobezariusRedacted or Malformed Event09:42:48
@raitobezarius:matrix.orgraitobezariusWe will see what OP says :)09:43:06
@misuzu:matrix.orgmisuzu
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:tunstall.xyzAlex
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:vuksta.comLuke joined the room.18:37:18

Show newer messages


Back to Room ListRoom Version: 6