VM/VM_Math.h File Reference
#include "VM_API.h"
#include <SYS/SYS_Math.h>
#include <SYS/SYS_Floor.h>
#include <string.h>
#include "VM_SIMD.h"
Go to the source code of this file.
|
Classes |
| class | VM_Math |
Defines |
| #define | VM_SIV static inline void |
| #define | VM_SIMDFUNC(signature) signature {} |
| #define | VM_SIMDFUNCR(signature) signature { return 0; } |
| #define | VM_DECL_vFvFvF(name, expr) |
| #define | VM_DECL_vFvFuF(name, expr) |
| #define | VM_DECL_vFuFvF(name, expr) |
| #define | VM_DECL_vFuFuF(name, expr) |
| #define | VM_DECL_vFvF(name, expr) |
| #define | VM_DECL_vFuF(name, expr) |
| #define | VM_DECL_vIvF(name, expr) |
| #define | VM_DECL_vIvF_nonconst(name, expr) |
| #define | VM_DECL_vIvFvF(name, expr) |
| #define | VM_DECL_vIvVFvF(name, expr) |
| #define | VM_DECL_vIvFuF(name, expr) |
| #define | VM_DECL_WP(type, name, expr) |
| #define | VM_DECL_IWP(type, name, expr) |
| #define | VM_DECL_vIvIvI(name, expr) |
| #define | VM_DECL_vIvIuI(name, expr) |
| #define | VM_DECL_uIvI(name, expr) |
| #define | VM_DECL_CMP(name, op) |
Define Documentation
| #define VM_DECL_CMP |
( |
name, |
|
|
op |
|
) |
|
| #define VM_DECL_IWP |
( |
type, |
|
|
name, |
|
|
expr |
|
) |
|
Value:
VM_SIV name(fpreal32 *d, const type *a, fpreal32 b, \
type e, int num) { \
if (theSIMD) name##SIMD(d, a, b, e, num); \
else for (int n=0; n<num; n++) expr; \
} \
VM_SIMDFUNC(static void name##SIMD(fpreal32 *d, const type *a, fpreal32 b, type e, int num))
Definition at line 131 of file VM_Math.h.
| #define VM_DECL_uIvI |
( |
name, |
|
|
expr |
|
) |
|
| #define VM_DECL_vFuF |
( |
name, |
|
|
expr |
|
) |
|
| #define VM_DECL_vFuFuF |
( |
name, |
|
|
expr |
|
) |
|
| #define VM_DECL_vFuFvF |
( |
name, |
|
|
expr |
|
) |
|
| #define VM_DECL_vFvF |
( |
name, |
|
|
expr |
|
) |
|
| #define VM_DECL_vFvFuF |
( |
name, |
|
|
expr |
|
) |
|
| #define VM_DECL_vFvFvF |
( |
name, |
|
|
expr |
|
) |
|
| #define VM_DECL_vIvF |
( |
name, |
|
|
expr |
|
) |
|
| #define VM_DECL_vIvF_nonconst |
( |
name, |
|
|
expr |
|
) |
|
| #define VM_DECL_vIvFuF |
( |
name, |
|
|
expr |
|
) |
|
| #define VM_DECL_vIvFvF |
( |
name, |
|
|
expr |
|
) |
|
| #define VM_DECL_vIvIuI |
( |
name, |
|
|
expr |
|
) |
|
| #define VM_DECL_vIvIvI |
( |
name, |
|
|
expr |
|
) |
|
| #define VM_DECL_vIvVFvF |
( |
name, |
|
|
expr |
|
) |
|
Value:
VM_SIV name(type *d, const fpreal32 *a, fpreal32 b, \
fpreal32 c, fpreal32 e, int num) { \
if (theSIMD) name##SIMD(d, a, b, c, e, num); \
else for (int n=0; n<num; n++) expr; \
} \
VM_SIMDFUNC(static void name##SIMD(type *d, const fpreal32 *a, fpreal32 b, fpreal32 c, fpreal32 e, int num))
Definition at line 123 of file VM_Math.h.
| #define VM_SIMDFUNC |
( |
signature |
|
) |
signature {} |
| #define VM_SIMDFUNCR |
( |
signature |
|
) |
signature { return 0; } |
| #define VM_SIV static inline void |