PPC: perf enhancement: improve overflow checks.