search for: getunrolledloopsize

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

2018 Jan 11
0
question about unrolling loops with convergent instructions
...unt, there is // 2nd priority is unroll count set by pragma. unsigned PragmaCount = UnrollCountPragmaValue(L); if (PragmaCount > 0) { UP.Count = PragmaCount; UP.Runtime = true; UP.AllowExpensiveTripCount = true; UP.Force = true; if (UP.AllowRemainder && getUnrolledLoopSize(LoopSize, UP) < PragmaUnrollThreshold) return true; } Because UP.AllowRemainder is false, the unroll count specified by pragma is ignored. Later on, computeUnrollCount calculates an unroll count of 512. Is this a bug? Essentially, this disables unroll count specified by pragma for any...