MLBEDSW-10719 Refactor GetScaleFactor()
Function is architecture agnostic but was only used for Ethos-U85. This commit makes a few refactors:
- Refactor to common function to be used by all architectures.
- Re-use the function in more places.
- Added
reducedPrecision
flag to the function.
Change-Id: I8c50b91cfc6790cc767eb30e030d6ba940d5d3d2 Signed-off-by: Jacob Bohlin jacob.bohlin@arm.com