target-arm: fix neon shift helper functions
authorJuha Riihimäki <juha.riihimaki@nokia.com>
Mon, 26 Oct 2009 07:01:07 +0000 (09:01 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Tue, 27 Oct 2009 08:46:26 +0000 (09:46 +0100)
commit24a3a08da992594f08d5d8646418c09e9dd7a5a4
tree5af46926003be9ed157d998592f40d25a78f1735
parentc8898563578eb2c166d03d4de6dc52837738392e
target-arm: fix neon shift helper functions

Current code is broken at least on recent compilers, comparison
between signed and unsigned types yield incorrect code and render
the neon shift helper functions defunct. This is the third revision
of this patch, casting all comparisons with the sizeof operator to
signed ssize_t type to force comparisons to be between signed integral
types.

Signed-off-by: Juha Riihimäki <juha.riihimaki@nokia.com>
Acked-by: Laurent Desnogues <laurent.desnogues@gmail.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-arm/neon_helper.c