Fixed the cache, reg_scalar and reg_vector benchmarks.