[ARM] 3749/3: Correct VFP single/double conversion emulation
authorDaniel Jacobowitz <drow@false.org>
Sun, 27 Aug 2006 11:42:10 +0000 (12:42 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 27 Aug 2006 11:42:10 +0000 (12:42 +0100)
commitc29ecac18cb740ae845db14963ac586c53962453
treec9de25e8cd7ee3729a613b0176b448fd86a62d94
parent7c6f25141b88b5e926f9d43932ce668602d611ae
[ARM] 3749/3: Correct VFP single/double conversion emulation

Patch from Daniel Jacobowitz

The fcvtsd/fcvtds emulation was left behind when the numbering of double
precision registers was changed from 0-30 to 0-15.  Both conversion
instructions were writing their results to the wrong register.  Also,
the conversion instructions should stop after the first element even
if a vector length is specified.

Signed-off-by: Daniel Jacobowitz <dan@codesourcery.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/vfp/vfpdouble.c
arch/arm/vfp/vfpsingle.c