Fixing bad vector compare.

This commit is contained in:
Ben Vanik 2014-01-27 09:25:48 -08:00
parent 6c7e392088
commit 58c0ea9ac7
1 changed files with 1 additions and 1 deletions

View File

@ -2098,7 +2098,7 @@ int Translate_DID_SATURATE(TranslationContext& ctx, Instr* i) {
const vec128_t& src2 = ics.rf[i->src2_reg].v128; \
vec128_t& dest = ics.rf[i->dest_reg].v128; \
for (int n = 0; n < count; n++) { \
dest.value[n] = (type)src1.value[n] op (type)src2.value[n]; \
dest.value[n] = ((type)src1.value[n] op (type)src2.value[n]) ? (type)0xFFFFFFFF : 0; \
} \
return IA_NEXT;