[PATCH] R600/SI: implement range reduction for sin/cos

Grigori Goronzy greg at chown.ath.cx
Fri Jun 20 11:50:04 PDT 2014


On 20.06.2014 20:02, Matt Arsenault wrote:
> I think it would be better to to this with custom lowering rather than
> the instruction patterns.

Probably, this is just my first naive attempt to make a useful
contribution. I hardly know the R600 backend and/or LLVM. I guess we
should also try to skip the range reduction if it can be determined that
inputs are restricted to the allowed range.

Can you give me any pointers? And how should this be tested?

Best regards
Grigori


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140620/e7a93277/attachment.sig>


More information about the llvm-commits mailing list