On Tue, Nov 23, 2010 at 06:53:50PM +0000, Peter Maydell wrote: > Use the softfloat conversion routines for conversion to 16 bit > integers, because just casting to a 16 bit type truncates the > value rather than saturating it at 16-bit MAXINT/MININT. > > Signed-off-by: Peter Maydell <peter.mayd...@linaro.org>
Reviewed-by: Nathan Froyd <froy...@codesourcery.com> -Nathan