[Mesa-dev] [PATCH 2/3] gallivm: Override getHostCPUName() "generic" w/ "pwr8" (v2)
Emil Velikov
emil.l.velikov at gmail.com
Tue Jan 17 13:42:52 UTC 2017
Hi Ben,
On 16 January 2017 at 23:31, Ben Crocker <bcrocker at redhat.com> wrote:
> If llvm::sys::getHostCPUName() returns "generic", override
> it with "pwr8" (on PPC64LE).
>
> This is a work-around for a bug in LLVM: a table entry for "POWER8NVL"
> is missing, resulting in (big-endian) "generic" being returned on
> little-endian Power8NVL systems. The result is that code that
> attempts to load the least significant 32 bits of a 64-bit quantity in
> memory loads the wrong half.
>
I hope you've reported that bug the the LLVM people ? Can you please
add a comment in the code and reference the respective bug report
(either commit message or inline is fine).
Please add the following tag so that we get this for stable.
Cc: "12.0 13.0 17.0" <mesa-stable at lists.freedesktop.org>
Thanks !
Emil
More information about the mesa-dev
mailing list