dotgnu-libjit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Libjit-developers] Alignment of branch targets


From: ktreichel
Subject: [Libjit-developers] Alignment of branch targets
Date: Thu, 05 Oct 2006 08:52:47 +0200

Hi,

i've made a small patch for aligning blocks which are branch targets but are 
not entered via top.

This gives improvements on my AMD box.

The alignment is specified at the top.

To disable the block alignment simply don't define X86_BRANCH_TARGET_ALIGN.

Maybe the alignment should be set depending on the CPU.

You can play around with the values 0x4, 0x8 and 0x10  (0x10 is recommended in 
the intel docs).

Cheers,

Klaus
_____________________________________________________________________
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071&distributionid=000000000066

Attachment: kt-061005.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]