search for: typebytesize

Displaying 1 result from an estimated 1 matches for "typebytesize".

2015 Jun 12
4
[LLVMdev] Loop Vectorization and Store-Load Forwarding issue
...or x86. Hence I am seeking some advice on how to improve the following logic. Can we better model NumCyclesForStoreLoadThroughMemory ? 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*TypeByteSi...