# Loop Speculation

while (m*m*m < N) { m += 1; }

while (m*m*m < N) { m += 1; } dst[0] = m; [[intelfpga::speculated_iterations(7)]] while (m*m*m < N) { m += 1; } dst[0] = m; [[intelfpga::speculated_iterations(0)]] while (m*m*m < N) { m += 1; } dst[0] = m;