Formal annotating Code for Optimizations?
Walter Bright
newshound1 at digitalmars.com
Fri Jul 18 23:16:32 PDT 2008
BCS wrote:
> Reply to Walter,
>
>> JAnderson wrote:
>>
>>> MSVC++ 2005 has this profile that you can run on the code and then it
>>> will use that to optimize the code to use the most common paths. I'm
>>> not sure if it also optimizes IF statements. I know it optimizes
>>> functions layout to be more cache friendly.
>>>
>> The dmd profiler does this too. It emits a file, trace.def, which
>> optimally orders functions based on the runtime profile, which you can
>> then use as input to optlink.
>>
>
> Oh? Cool! Link?
http://www.digitalmars.com/ctg/trace.html
More information about the Digitalmars-d
mailing list