[ARM] 3789/4: Fix VFP emulation to ignore VECITR for scalar instruction
authorGen FUKATSU <fukatsu.gen@jp.panasonic.com>
Thu, 21 Sep 2006 13:08:24 +0000 (14:08 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 25 Sep 2006 09:34:06 +0000 (10:34 +0100)
commit4cc9bd2eaa1063c68341c1c00e66660adcfdf254
tree3ee6d9f6b2075d4a5e340d2a3370f9e068aab723
parentf8c440b209581809c5c8acac599410f23597a7b8
[ARM] 3789/4: Fix VFP emulation to ignore VECITR for scalar instruction

VECITR in Floating-Point Exception register indicates the number of
remaining short vector iterations after a potential exception was
detected.

In case of exception caused by scalar instructions, VECITR is NOT updated.
Therefore emulation for VFP must ignore VECITR field
and treat "veclen" as zero when recognizing scalar instructing.

Signed-off-by: Gen Fukatsu <fukatsu.gen@jp.panasonic.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/vfp/vfp.h
arch/arm/vfp/vfpdouble.c
arch/arm/vfp/vfpsingle.c