Vectorization - pragma asm interpretation

srimks
Total Points:
5,884
Status Points:
5,384
Brown Belt
April 26, 2009 9:57 AM PDT
Rate
 
#2 Reply to #1
Quoting - Igor Levicki
Two LEA instructions at the function end are simply fillers (NOPs) to ensure proper alignment for the next function -- they aren't part of the function epilogue.

As for the prologue difference it is hard to tell without seeing the rest of the surrounding code. Most likely vectorization enables the compiler to "see" an opportunity for some other optimizations thus resulting in a bit shorter code which uses less variables.

yeah, you are right for epilogue, code-generators normally generates NOP (no-operation) instructions to align instructions.

Lets look for prologue part if possible.

Thanks Igor.

~BR

Intel Software Network Forums Statistics

8491 users have contributed to 31629 threads and 100767 posts to date.
In the past 24 hours, we have 30 new thread(s) 136 new posts(s), and 192 new user(s).

In the past 3 days, the most popular thread for everyone has been gemm(A,A,A) like possible? The most posts were made to Crash when loading skeleton The post with the most views is Dear Steve, excuse me for a d

Please welcome our newest member shadowwolf99