search for: sgpr2

Displaying 1 result from an estimated 1 matches for "sgpr2".

Did you mean: sgpr32
2012 Oct 26
0
[LLVMdev] Data sharing between two ALUs and avoiding illegal copies
...an read from VGPRs and also SGPRs, but the sALU can only read from SGPRs. This restriction on the sALU seems to be causing the instruction selector to generate some illegal copies, which is the main problem I'm trying to solve. For example: NODE0 = ISD::ADD SGPR0, VGPR0 can be selected to: SGPR2 = COPY VGPR0 SGPR1 = S_ADD SGPR0, SGPR2 This leaves us with a copy from a VGPR to an SGPR, which is illegal. Any suggestions on how to solve this problem or how best to model these two ALUs? Thanks, Tom