[PATCH] R600: Match sign_extend_inreg to BFE instructions

Jan Vesely jan.vesely at rutgers.edu
Thu Mar 20 09:30:56 PDT 2014


This patch regresses parts of the following piglit tests on my Turks
card:
builtin-char-abs-1.0.generated
builtin-char-abs_diff-1.0.generated
builtin-char-clamp-1.1.generated
builtin-char-hadd-1.0.generated
builtin-char-max-1.1.generated

builtin-short-abs-1.0.generated
builtin-short-abs_diff-1.0.generated
builtin-short-clamp-1.1.generated
builtin-short-hadd-1.0.generated
builtin-short-max-1.1.generated

Only the vector variants of byte/word size types are affected, so the
attached patch fixes the issue by expanding vectors.

regards,
Jan

On Mon, 2014-03-17 at 12:07 -0700, Matt Arsenault wrote:
>   r204072
> 
> http://llvm-reviews.chandlerc.com/D3036
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

-- 
Jan Vesely <jan.vesely at rutgers.edu>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-R600-Expand-sign-extension-of-vectors.patch
Type: text/x-patch
Size: 2018 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140320/012e46bd/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140320/012e46bd/attachment.sig>


More information about the llvm-commits mailing list