In article <[email protected]>, Joerg Sonnenberger <[email protected]> wrote: >On Tue, Jun 30, 2015 at 05:08:24PM -0400, Christos Zoulas wrote: >> Module Name: src >> Committed By: christos >> Date: Tue Jun 30 21:08:24 UTC 2015 >> >> Modified Files: >> src/sys/arch/amd64/amd64: cpu_in_cksum.S >> >> Log Message: >> handle PIC compilation (if we are building a PIE system; this is used >by tests) > >Isn't the leaq generally preferable as smaller?
I believe leaq is 7 bytes, and movq is 5. But I am not sure which takes more cycles. christos
