tcg/i386: fix unsigned vector saturating arithmetic
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Thu, 7 Feb 2019 22:42:58 +0000 (22:42 +0000)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 11 Feb 2019 16:52:44 +0000 (08:52 -0800)
commit3115584d39afe8cf2a84a40549029f53792abca5
treeacfef9681c110f9ae6145d6c7bde9ace136e6441
parentbef16ab4e641636b4e85c3d863b4257ce0be4e6f
tcg/i386: fix unsigned vector saturating arithmetic

Due to a cut/paste error in the original implementation, the unsigned
vector saturating arithmetic was erroneously being calculated as signed
vector saturating arithmetic.

Fixes: 8ffafbcec2 ("tcg/i386: Implement vector saturating arithmetic")
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Message-Id: <20190207224258.426-1-mark.cave-ayland@ilande.co.uk>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
tcg/i386/tcg-target.inc.c