mirror of
https://github.com/recp/cglm.git
synced 2025-12-31 04:37:01 +00:00
use CGLM_SIMD_NEON instead of CGLM_NEON_FP
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user