https://bugs.kde.org/show_bug.cgi?id=492210

--- Comment #14 from Paul Floyd <pjfl...@wanadoo.fr> ---
(In reply to Alexander Monakov from comment #13)

> It's "long" only in the first instance, for ADDW/ADDB it's word/byte
> respectively.

I don't think that the comments are very consistent in this respect. They
should probably all be long long.

 /* long add, then Z --> test ((char)(dst+src) == 0) */
         return unop(Iop_1Uto64,
                     binop(Iop_CmpEQ8,
                           unop(Iop_64to8, binop(Iop_Add64, cc_dep1, cc_dep2)),
                           mkU8(0)));

binop(Iop_Add64, cc_dep1, cc_dep2) is the long long add

unop(Iop_64to8 ...) is the char cast

binop(Iop_CmpEQ8, ...  mkU8(0)) is the test == 0 and finally

 unop(Iop_1Uto64 ...) is the conversion to 1 bit Z flag.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to