[X86_64] Smaller code for add_ir when register is accumulator.
Created attachment 226307 [details] Patch
Comment on attachment 226307 [details] Patch What about the CAN_SIGN_EXTEND_8_32(imm) cases and adding the 8 byte immediate variants?
(In reply to comment #2) > (From update of attachment 226307 [details]) > What about the CAN_SIGN_EXTEND_8_32(imm) cases and adding the 8 byte immediate variants? The 8 byte immediate variant adds to AL only, and not the upper part of the accumulator.
Oh oops, I was thinking about 8-bit, not 8 byte. From reading the Intel manual, it looks like the "ADD r/m32,imm8" variant is the shortest possible instruction in that path.
Comment on attachment 226307 [details] Patch Clearing flags on attachment: 226307 Committed r165390: <http://trac.webkit.org/changeset/165390>
All reviewed patches have been landed. Closing bug.