Open romameie opened 1 week ago
The same issue occurs with df2e7bd3e17c1d6a6bc2e2f8c40488ff6c4d1db7 and ed9d9964fb200af225739a89bfb988cbe8d8f69e .
The same assertion fails for "fixtfti.c" and "mulvti3.c".
Presumably, there's an issue with 128bit intrinsics.
Using commit 578ea4f7ef67d589f0ca7d10ec9e383333567421 (latest on main at time of writing) When compiling subrepo-cheri-compiler-rt/lib/builtins/fixdfti.c from https://github.com/CTSRD-CHERI/cheribsd in a custom context for RISC-V purecap target
-target riscv64-none-elf -march=rv64imafdcxcheri -mabi=l64pc128d -mxcheri-norvc -mno-relax
.The exact same build step succeeds with the Morello LLVM fork's baremetal release.
Processed source: fixdfti-e74d5d.c.txt Run script: fixdfti-e74d5d.sh.txt
Full trace: