]> git.baikalelectronics.ru Git - kernel.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)
commit4bc4d1970ab20ff7bc960f26977344e1dc015c3a
tree7d7ddbaa5b9b69b53b9079bd7562eb3daf7682c4
parent4410286c43558957ea1a1be31629d6a0d9e649ee
[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