[Mesa-dev] PATCH: R600 + SI Private memory fixes; Use more SALU instructions on SI

Tom Stellard tom at stellard.net
Thu Oct 10 20:32:19 CEST 2013


On Thu, Oct 10, 2013 at 11:29:17AM -0700, Matt Arsenault wrote:
> On 10/10/2013 10:55 AM, Tom Stellard wrote:
> > Hi,
> >
> > The attached patches simplify the handling of OpenCL private memory
> > space for VLIW4/VLIW5 GPUs and should fix a crash with pyrit on r600g.
> > Also included in the series is private memory support on SI as well as an
> > optimization to prefer selecting SALU instructions over VALU instructions.
> >
> > Please test/review.
> >
> > -Tom
> >
> >
> > _______________________________________________
> > llvm-commits mailing list
> > llvm-commits at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
> The last one doesn't apply for me:
> 
> $ git am *.patch
> Applying: R600: Remove unused InstrInfo::getMovImmInstr() function
> Applying: R600: Simplify handling of private address space
> Applying: R600/SI: Prefer SALU instructions for bit shift operations
> Applying: R600/SI: Add support for i64 bitwise or
> Applying: R600/SI: Add support for private address space load/store
> error: patch failed: lib/Target/R600/SIRegisterInfo.cpp:26
> error: lib/Target/R600/SIRegisterInfo.cpp: patch does not apply
> Patch failed at 0005 R600/SI: Add support for private address space 
> load/store
> The copy of the patch that failed is found in:
>     /home/marsenau/src/llvm/.git/rebase-apply/patch
> When you have resolved this problem, run "git am --resolved".
> If you prefer to skip this patch, run "git am --skip" instead.
> To restore the original branch and stop patching, run "git am --abort".
>

Sorry about that. I have pushed rebased patches to this branch:
http://cgit.freedesktop.org/~tstellar/llvm/log/?h=r600-private-mem-fixes

-Tom


More information about the mesa-dev mailing list