DescriptionSubzero: Add more kinds of RMW lowering.
Specifically: sub, and, or, xor; for all integer types.
Turns out that RMW is not possible for fadd/fsub/fmul/fdiv as well as operations on vector types, because the corresponding x86 instructions require the result to be in a physical register.
Refactors the assembler's implementations of add/or/adc/sbb/and/sub/xor/cmp to avoid repetition.
BUG= https://code.google.com/p/nativeclient/issues/detail?id=4095
R=jvoung@chromium.org
Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=cac003e8f33c970e233e4f9194930b7869f0b65a
Patch Set 1 #Patch Set 2 : Refactor the assembler for 8 integer arithmetic instructions #
Messages
Total messages: 4 (1 generated)
|