]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[ARM] 3473/1: Use numbers 0-15 for the VFP double registers
authorCatalin Marinas <catalin.marinas@arm.com>
Mon, 10 Apr 2006 20:32:46 +0000 (21:32 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 10 Apr 2006 20:32:46 +0000 (21:32 +0100)
commit1356c1948da967bc1d4c663762bfe21dfcec4b2f
tree7d7ddbaa5b9b69b53b9079bd7562eb3daf7682c4
parentbb54a335ae6d282a4f177c7b35cd149aa9b0b9be
[ARM] 3473/1: Use numbers 0-15 for the VFP double registers

Patch from Catalin Marinas

This patch changes the double registers numbering to 0-15 from even 0-30,
in preparation for future VFP extensions. It also fixes the VFP_REG_ZERO
bug (value 16 actually represents the 8th double register with the original
numbering).

The original mcrr/mrrc on CP10 were generating FMRRS/FMSRR instead of
FMRRD/FMDRR. The patch changes to CP11 for the correct instructions.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/vfp/vfpdouble.c
arch/arm/vfp/vfphw.S
arch/arm/vfp/vfpsingle.c