target-i386: SSE4.2: fix pcmpXstri instructions
commit93e3c0ae69ae73d7f04ac378c5df6e98c7faa6dd
authorAurelien Jarno <aurelien@aurel32.net>
Tue, 26 Mar 2013 18:56:01 +0000 (26 19:56 +0100)
committerAurelien Jarno <aurelien@aurel32.net>
Mon, 1 Apr 2013 16:49:15 +0000 (1 18:49 +0200)
treea51eef1ebbe5fc729bdade7c8c06d4f2fcda322f
parentda5156cd9a62274839d6fa685cc52614886cc722
target-i386: SSE4.2: fix pcmpXstri instructions

ffs1 returns the first bit set to one starting counting from the most
significant bit.

pcmpXstri returns the most significant bit set to one, starting counting
from the least significant bit.

Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
target-i386/ops_sse.h