[Mesa-dev] [Bug 50317] [r600g+llvm] Piglit test failures: LLVM ERROR: Cannot select: target intrinsic %llvm.AMDGPU.sin

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jun 18 11:48:12 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=50317

--- Comment #13 from Török Edwin <edwin+mesa at etorok.net> 2012-06-18 11:48:12 PDT ---
(In reply to comment #7)

> Currently R600 chips are treated as RV710 chips, which is another bug.  To fix
> this, we need to modify the r600_llvm_gpu_string() function in r600_llvm.c to
> return "r600" for R600 chips.  Then we need to add a processor type for it in
> Processors.td, and finally we need to handle the "r600" processor in
> AMDIL7XXDevice.cpp (No need to create a AMDIL6XXDevice class). For R600
> mDeviceFlag should be 0.

Attached a patch for this, Processors.td has wrong EOLs though so you may need
to apply 0002 to clean up the CR/LF, and then 0003.

BTW I noticed that RV670 is treated as R700, but according to RadeonFeature on
the wiki thats a R600 class GPU. Which one is right?

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list