[Libre-soc-bugs] [Bug 251] Initial 3D MESA non-accelerated software-only driver is needed
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Thu Aug 6 17:09:05 BST 2020
https://bugs.libre-soc.org/show_bug.cgi?id=251
--- Comment #12 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to vivekvpandya from comment #10)
> Just to note:
> There is a translator based on
> https://github.com/KhronosGroup/SPIRV-LLVM-Translator and generates LLVM IR
> which has AMDGPU specific intrinsic in it.
> https://github.com/GPUOpen-Drivers/llpc/tree/dev/llpc/translator
interesting! and that's work done in the last 6 months.
so the question becomes, here: are those intrinsics supported only by
a special version of LLVM? (i don't believe so: AMDGPU LLVM has been
upstream for some time).
or: is it the case that if we tried handing the LLVM-IR with AMDGPU
specific intrinsics to ask it to be compiled to x86 standard assembler,
that LLVM would throw a compile-time error *because* of those AMDGPU
intrinsics?
i.e. have they made them *general-purpose* LLVM IR intrinsics or are
they *really* actually AMDGPU-only intrinsics?
if they are specific to AMDGPU, then could we (hypothetically) create
a (temporary) mapping translator?
or:
would it be better to see what general-purpose vector intrinsics exist
in LLVM IR that are properly supported for general-purpose use?
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-soc-bugs
mailing list