COMPMID-3926: Floor CTS failing in Neon
authorMichele Di Giorgio <michele.digiorgio@arm.com>
Thu, 29 Oct 2020 15:32:45 +0000 (15:32 +0000)
committerMichele Di Giorgio <michele.digiorgio@arm.com>
Fri, 30 Oct 2020 16:58:36 +0000 (16:58 +0000)
commit70ddabcd07e79cdc5409e286aaf4aaea5b202b7a
tree4ce452d7158d9287f6242c6669cbb076f0124aab
parent839e19865d4b654899d1da5cfb94304841e7f210
COMPMID-3926: Floor CTS failing in Neon

Depending n the value of `len`, the left-over loop might end up
writing/reading out-of-bounds, therefore corrupting the memory.

Change-Id: I1b0bb300f3e5ea668b585266e1aa6af7f93a5d1e
Signed-off-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/4290
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Manuel Bottini <manuel.bottini@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
src/core/NEON/kernels/floor/impl/fp16_neon_floor.cpp
src/core/NEON/kernels/floor/impl/fp32_neon_floor.cpp