add loop.c for cachegrind