[libre-riscv-dev] llvm review

Luke Kenneth Casson Leighton lkcl at lkcl.net
Tue Feb 5 04:17:15 GMT 2019


Hi Jacob, Robin (cc'd) says this below
https://reviews.llvm.org/D57504

Robin it is worthwhile pointing out that the vulkan implementation Kazan is
a direct SPIRV to LLVM IR compiler, you may be expecting that we intend to
add the vector intrinsics to eg clang-llvm, when that is in fact being
bypassed.

We do not even need or intend vectorisation to be added to rust-llvm, as
the vulkan driver which happens to be in rust is near-exclusively a SPIRV
to IR compiler. It could just as well be written in Visual Basic :)

Will take a look, the idea is to design everything simultaneously, to cover
the triple roles of CPU, GPU and VPU.

---

king". In fact, I am by now inclined to propose that Jacob and
collaborators start out by expressing their architecture's operations with
target-specific intrinsics that also use the attributes introduced here
(especially since none of the typical vectorizers are equipped to generate
the sort of code they want from scalar code using e.g. float


-- 
---
crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68


More information about the libre-riscv-dev mailing list