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)
commit50f67e95e2de0ce145f76ccc480057c9c683a0c7
tree5af46926003be9ed157d998592f40d25a78f1735
parentca9a32e4f3da59f07ae2c68df68d1130e02d4665
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