move ARM64 JIT backend here

This commit is contained in:
RSDuck
2020-02-04 18:29:52 +01:00
parent 842df432aa
commit d6cc7de6c4
18 changed files with 9188 additions and 8 deletions

13
src/dolphin/MathUtil.cpp Normal file
View File

@ -0,0 +1,13 @@
// Copyright 2008 Dolphin Emulator Project
// Licensed under GPLv2+
// Refer to the license.txt file included.
#include "MathUtil.h"
#include <numeric>
// Calculate sum of a float list
float MathFloatVectorSum(const std::vector<float>& Vec)
{
return std::accumulate(Vec.begin(), Vec.end(), 0.0f);
}