[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 10:45:42 PDT 2012


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

--- Comment #7 from Tom Stellard <tstellar at gmail.com> 2012-06-18 10:45:42 PDT ---
(In reply to comment #6)
> (In reply to comment #4)
> > 
> > R700 chips normalize trigonometric inputs the same was as Evergreen+, so the
> > correct fix would be to create a SIN_r700 instruction and use the TRIG_eg class
> > to create a pattern for it.
> 
> Thanks, the attached patch seems to fix the problem for me.
> 
> >  This will also require adding a predicate to
> > identify r700 chips, because r600 normalizes the inputs differently.
> 
> Oldest chip listed is OCL_DEVICE_RV710, so it would appear that R600_LLVM
> only supports chips >= RV710 and doesn't support R600 at all. Am I missing
> something?
> Anyway the patch checks for HD4XXX and >= RV710.
> 
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.

-- 
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