diff options
author | Yang Rong <rong.r.yang@intel.com> | 2017-02-07 16:23:33 +0800 |
---|---|---|
committer | Yang Rong <rong.r.yang@intel.com> | 2017-02-10 18:18:04 +0800 |
commit | 1e6d0103aba114f5a424dcdb3143ac95919a4d70 (patch) | |
tree | 7c4998eccef0190f618744e770e66dca26cc7744 /kernels | |
parent | 0c6e7e6f935dd00213de5e870345d2204379e304 (diff) | |
download | beignet-1e6d0103aba114f5a424dcdb3143ac95919a4d70.tar.gz |
GBE: use shr instead of division as possible.
GEN's div instruction need several cycles, use the shl
instruction when divisor is pow of 2 constant.
Signed-off-by: Yang Rong <rong.r.yang@intel.com>
Reviewed-by: Ruiling Song <ruiling.song@intel.com>
Diffstat (limited to 'kernels')
0 files changed, 0 insertions, 0 deletions