[Bug target/39942] Nonoptimal code - leaveq; xchg %ax,%ax; retq

vvv at ru dot ru gcc-bugzilla@gcc.gnu.org
Thu May 14 19:44:00 GMT 2009



------- Comment #34 from vvv at ru dot ru  2009-05-14 19:43 -------
(In reply to comment #32)
> Please make sure that you only test nop paddings for branch insns,
> not nop paddings for branch targets, which prefer 16byte alignment.

Additional tests (for Core2) results:
1. Execution time don't depend on paddings for branch target.
2. Execution time don't depend on position of NOP within 16-byte chunk with 4
branch. Even if NOP inserted between CMP and conditional jump.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39942



More information about the Gcc-bugs mailing list