diff --git a/benchmarks/BenchOps/BenchOps.cpp b/benchmarks/BenchOps/BenchOps.cpp index 56a1b8b35..7de5c6dfe 100644 --- a/benchmarks/BenchOps/BenchOps.cpp +++ b/benchmarks/BenchOps/BenchOps.cpp @@ -209,6 +209,15 @@ CONSOLE_APP_MAIN dst[i & 15].xxx = src[i & 15].xxx * n; } } + + { + int n = Random(); + RTIMING("Add"); + for(int i = 0; i < N; i++) { + dst[i & 15].xxx = src[i & 15].xxx + n; + } + } + { RTIMING("Zero 10000"); for(int i = 0; i < N; i++)