Implement SIMD latest opcodes and update LLVM to 13.0 (#758)
Implement the latest SIMD opcodes and update LLVM 13.0, update the llvm build scripts, update the sample workloads‘ build scripts, and build customized wasi-sdk to build some workloads. Also refine the CI rules. Signed-off-by: Wenyong Huang <wenyong.huang@intel.com>
This commit is contained in:
14
samples/workload/XNNPACK/benchmark.patch
Normal file
14
samples/workload/XNNPACK/benchmark.patch
Normal file
@ -0,0 +1,14 @@
|
||||
diff --git include/benchmark/benchmark.h include/benchmark/benchmark.h
|
||||
index 9b54802..baa5938 100755
|
||||
--- include/benchmark/benchmark.h
|
||||
+++ include/benchmark/benchmark.h
|
||||
@@ -364,7 +364,9 @@ template <class Tp>
|
||||
inline BENCHMARK_ALWAYS_INLINE void DoNotOptimize(Tp const& value) {
|
||||
internal::UseCharPointer(&reinterpret_cast<char const volatile&>(value));
|
||||
}
|
||||
+
|
||||
// FIXME Add ClobberMemory() for non-gnu and non-msvc compilers
|
||||
+inline BENCHMARK_ALWAYS_INLINE void ClobberMemory() { }
|
||||
#endif
|
||||
|
||||
// This class is used for user-defined counters.
|
||||
Reference in New Issue
Block a user