Hi,all:
I see an IMPORTANT NOTE in the attached cmd file like below:
/* ------------------------------------------ */
/* IMPORTANT NOTE: Splitting external memory */
/* into sections shown, grouping of functions */
/* and ordering inside groups is a crucial */
/* requirement for performance. Alteration */
/* in the above will lead to severe cache */
/* penalties and hence results in performace */
/* degradation. */
/* ------------------------------------------ */
So my questions are:
1.
What does above IMPORTANT NOTE mean? Would you give me some explanation or details to
show what's the optimizing tricks which used in cmd file ?
2.
I noted that cmd file is written like below :
.text:H264HPVENC_TI_cSectfracpelP
{
/* FracPelB */
.= align(0x8000); /* align to 32kb */
*(.text:H264HPVENC_TI_MV_fractionalPel)
*(.text:H264HPVENC_TI_subPelRefinement)
*(.text:H264HPVENC_TI_sad_halfpel)
*(.text:H264HPVENC_TI_sad_quartpel)
}
Why cmd file can be written like this ?
What are relationships between H264HPVENC_TI_cSectfracpelP and
H264HPVENC_TI_MV_fractionalPel ,H264HPVENC_TI_subPelRefinement,
H264HPVENC_TI_sad_halfpel,H264HPVENC_TI_sad_quartpel?
Are these four functions below subfunction of H264HPVENC_TI_cSectfracpelP ?
H264HPVENC_TI_MV_fractionalPel ,H264HPVENC_TI_subPelRefinement, H264HPVENC_TI_sad_halfpel,H264HPVENC_TI_sad_quartpel
3.
Continue with Q2, How much performance would be improved if cmd file is written as kind of
show in Q2 ?
Why can that kind of way cmd file is written by in questions 2 improve function's performance ?
Thanks!
(Please visit the site to view this file)