commit | 9ea62f571ce8953dba1d2bad2bdeaf9c3a84b7d7 | [log] [tgz] |
---|---|---|
author | Peter Maydell <peter.maydell@linaro.org> | Fri Jan 14 20:39:18 2011 +0100 |
committer | Aurelien Jarno <aurelien@aurel32.net> | Fri Jan 14 20:39:18 2011 +0100 |
tree | 8895bae6a06582fa53a2cbee9a9bec360cb53c76 | |
parent | 6f3300ad2b5a1e7090720993d9fcb9f550259e12 [diff] |
target-arm: Fix implementation of VRSQRTS The implementation of the ARM VRSQRTS instruction (which calculates (3 - op1 * op2) / 2) was missing the division operation. It also did not handle the special cases of (0,inf) and (inf,0). Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>