Re: [Beignet] [PATCH] backend: refine math log function

2017-07-03 Thread Yang, Rong R
LGTM, pushed, thanks. > -Original Message- > From: Beignet [mailto:beignet-boun...@lists.freedesktop.org] On Behalf Of > rander.wang > Sent: Monday, June 19, 2017 13:21 > To: beig...@freedesktop.org > Cc: Wang, Rander > Subject: [Beignet] [PATCH] backend: ref

[Beignet] [PATCH] backend: refine math log function

2017-06-18 Thread rander.wang
remove a few unnecessary codes , and get 20% improvement at worse case. If X is a NAN, there are some if-return codes to return NAN. Now change it to add(x - x) which get the same NAN pass the conformance tests and utests Signed-off-by: rander.wang --- ba