Shkyera Engine
Easy to use, game engine for Python
Loading...
Searching...
No Matches
SIMD.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <vector>
4
5namespace shkyera::simd {
6
7using FloatVec = std::vector<float>;
8
9void add(const FloatVec& src, FloatVec& dst, float subtractBy);
10
11void divide(const FloatVec& dividend, const FloatVec& divisor, FloatVec& dst);
12
13void mix(const FloatVec& a, const FloatVec& b, const FloatVec& t, FloatVec& dst);
14
15void multiplyAccumulate(const FloatVec& a, float b, FloatVec& dst);
16
17void multiplyAccumulate(const FloatVec& a, const FloatVec& b, FloatVec& dst);
18
19} // namespace shkyera::simd
Definition SIMD.hpp:5
void add(const FloatVec &src, FloatVec &dst, float subtractBy)
Definition SIMDArm.cpp:7
void divide(const FloatVec &dividend, const FloatVec &divisor, FloatVec &dst)
Definition SIMDArm.cpp:23
void mix(const FloatVec &a, const FloatVec &b, const FloatVec &t, FloatVec &dst)
Definition SIMDArm.cpp:39
std::vector< float > FloatVec
Definition SIMD.hpp:7
void multiplyAccumulate(const FloatVec &a, float b, FloatVec &dst)
Definition SIMDArm.cpp:58
Definition Clock.hpp:9