In article <20150630233112.ga8...@britannica.bec.de>, Joerg Sonnenberger <jo...@britannica.bec.de> 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