Displaying 1 result from an estimated 1 matches for "maxvectorwidth".
2015 Jun 12
4
[LLVMdev] Loop Vectorization and Store-Load Forwarding issue
...? This may be way too high ? Or there are other ways to circumvent the basic problem ?
-TIA
Dibyendu
Part A:
const unsigned NumCyclesForStoreLoadThroughMemory = 8*TypeByteSize; // 512 for the test case shown
// Maximum vector factor.
unsigned MaxVFWithoutSLForwardIssues = VectorizerParams::MaxVectorWidth * TypeByteSize;
if(MaxSafeDepDistBytes < MaxVFWithoutSLForwardIssues)
MaxVFWithoutSLForwardIssues = MaxSafeDepDistBytes;
for (unsigned vf = 2*TypeByteSize; vf <= MaxVFWithoutSLForwardIssues; vf *= 2) {
if (Distance % vf && Distance / vf < NumCyclesForStoreLoadThroughMe...