diff options
author | Johan Alfven <johan.alfven@arm.com> | 2023-08-16 12:18:09 +0200 |
---|---|---|
committer | Johan Alfven <johan.alfven@arm.com> | 2023-08-16 12:24:35 +0200 |
commit | 3db30ff556fab8a6041a63e4d34a82e2b64f6a51 (patch) | |
tree | 36c41ccbb9d269717f0107c8310086d35716b518 /ethosu/vela/live_range.py | |
parent | 75d3402204145731c2ebe0131ee47d966fd95562 (diff) | |
download | ethos-u-vela-3db30ff556fab8a6041a63e4d34a82e2b64f6a51.tar.gz |
MLBEDSW-7884: Fix crash for RSQRT3.9.0.rc2
- RSQRT is only defined for positive numbers and
therefore the zeropoint and actual input value
will have an impact
- Clamp the range to avoid crashing. As long as the actual
input is within valid range everything works. If the input
is not valid the reference will crash and not generating
any output
Change-Id: I1082b508d9cd85ad4b017e7b786cfff730585172
Signed-off-by: Johan Alfven <johan.alfven@arm.com>
Diffstat (limited to 'ethosu/vela/live_range.py')
0 files changed, 0 insertions, 0 deletions