[LLVMdev] Macro-op fusion experiment
Nicolas Capens
nicolas.capens at gmail.com
Tue Apr 19 02:22:29 PDT 2011
Hi Jacob,
I've considered that, but it would require either decoding the binary code, or detecting these instruction pairs during assembly output. I'm not sure which would work best and how to get started. Any and all ideas are greatly appreciated.
Thanks!
Nicolas
On 17 Apr 2011, at 20:19, Jakob Stoklund Olesen <stoklund at 2pi.dk> wrote:
>
> On Apr 17, 2011, at 9:59 AM, Nicolas Capens wrote:
>
>> My immediate concern is getting a reasonable estimate for how often this macro-op fusion could be performed. This could then be used to evaluate whether it's worth the added decoder complexity.
>
> In that case, just look at the generated code. I don't think any pass is inserting instructions between 'mov' and two-address arithmetic instructions.
>
> /jakob
>
More information about the llvm-dev
mailing list