Analyzers
Support for Analyzers (Intel VTune™ Profiler, Intel Advisor, Intel Inspector)
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
4679 Discussions

Getting Front-End Bound in a modulas operation

singh__dipanker
Beginner
253 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