DescriptionRemove initialize to zero on output variables for inline.
Inline that uses temporary variables is currently initializing them
to 0 and passing in as output "+r".
This CL replaces the output constraint to "=&r" for most meaning an
output with early write (before inputs). This allows the initialize
to zero step to be removed, saving 1 instruction.
BUG=libyuv:580
TESTED=local libyuv build on gcc/linux and try bots
R=harryjin@google.com
Committed: https://chromium.googlesource.com/libyuv/libyuv/+/cf101116c977d8c452d2e5b690c30c04da7519c8
Patch Set 1 #Patch Set 2 : unattenuate use =&r for early output #Patch Set 3 : use early write for all outputs to avoid them being reassigned to input #
Messages
Total messages: 4 (1 generated)
|