commit | af60459a543483c5ad155a92daa8c3a6c00a0829 | [log] [tgz] |
---|---|---|
author | Chunyan Zhang <chunyan.zhang@unisoc.com> | Fri Jul 24 20:21:47 2020 +0800 |
committer | Sebastian Reichel <sebastian.reichel@collabora.com> | Tue Jul 28 00:47:18 2020 +0200 |
tree | 7c38ee31d9ee6f37e750033a6df3ca2094ff7187 | |
parent | ab92ffd5f6ac3ebd4a7650ef906702ab86127b45 [diff] |
math64: New DIV_S64_ROUND_CLOSEST helper Provide DIV_S64_ROUND_CLOSEST helper which uses div_s64 to perform division rounded to the closest integer using signed 64bit dividend and signed 32bit divisor. Signed-off-by: Chunyan Zhang <chunyan.zhang@unisoc.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>