Community
cancel
Showing results for 
Search instead for 
Did you mean: 
singh__dipanker
Beginner
133 Views

Getting Front-End Bound in a modulas operation

Hi,

I am using VTune Profile for tuning my code and getting the following:

Retiring=45.4%, FrontenendBound=30%

The line here performs a modulus operation:

 currentSegmentIndex = marketDataTries%TOTAL_SEG;

Assembly code for this is :

movsxdl  0x238(%rbx), %rcx

xor %edx, %edx

movq  0xe8(%rbx), %rax

div %rcx

movl  %edx, 0x100(%rbx)

Anyone with some suggestions, what optimizations can I try here ?

 

Thanks and Regards 

Dipanker Singh

0 Kudos
0 Replies
Reply