RegCache: use memset instead of std::fill