]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commite6dbc84a2d900f4f3020d5498438a3f1a7b6e96a
tree3ee6d9f6b2075d4a5e340d2a3370f9e068aab723
parentf53e249db3c02ae1ec257d72bc66cf556cedc4eb
[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