Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
5000 Discussions

Getting Front-End Bound in a modulas operation

singh__dipanker
Beginner
557 Views

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