use CGLM_SIMD_NEON instead of CGLM_NEON_FP

This commit is contained in:
Recep Aslantas
2023-03-09 22:16:39 +03:00
parent 9ed325018d
commit 4a6fc485fd
11 changed files with 48 additions and 44 deletions

View File

@@ -72,6 +72,7 @@
# endif
# ifndef __ARM_NEON_FP
# define __ARM_NEON_FP 1
# define CGLM_NEON_FP 1
# endif
# ifndef CGLM_ARM64
# define CGLM_ARM64 1
@@ -79,9 +80,12 @@
# ifndef CGLM_SIMD_ARM
# define CGLM_SIMD_ARM
# endif
# ifndef CGLM_SIMD_NEON
# define CGLM_SIMD_NEON 1
# endif
#endif
#if defined(CGLM_SIMD_x86) || defined(CGLM_NEON_FP)
#if defined(CGLM_SIMD_x86) || defined(CGLM_SIMD_NEON)
# ifndef CGLM_SIMD
# define CGLM_SIMD
# endif

View File

@@ -7,7 +7,7 @@
#ifndef cglm_affine_neon_h
#define cglm_affine_neon_h
#if defined(__ARM_NEON_FP)
#if defined(CGLM_SIMD_NEON)
#include "../../common.h"
#include "../intrin.h"

View File

@@ -7,7 +7,7 @@
#ifndef cglm_mat2_neon_h
#define cglm_mat2_neon_h
#if defined(__ARM_NEON_FP)
#if defined(CGLM_SIMD_NEON)
#include "../../common.h"
#include "../intrin.h"

View File

@@ -7,7 +7,7 @@
#ifndef cglm_mat4_neon_h
#define cglm_mat4_neon_h
#if defined(__ARM_NEON_FP)
#if defined(CGLM_SIMD_NEON)
#include "../../common.h"
#include "../intrin.h"

View File

@@ -7,7 +7,7 @@
#ifndef cglm_quat_neon_h
#define cglm_quat_neon_h
#if defined(__ARM_NEON_FP)
#if defined(CGLM_SIMD_NEON)
#include "../../common.h"
#include "../intrin.h"