Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tsoc
openmm
Commits
d816abea
Commit
d816abea
authored
Mar 28, 2020
by
Marc Marí
Browse files
Add __ARM64__ when checking for flags
parent
ad61d016
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
libraries/vecmath/src/vecmath.cpp
libraries/vecmath/src/vecmath.cpp
+1
-1
openmmapi/include/openmm/internal/hardware.h
openmmapi/include/openmm/internal/hardware.h
+2
-1
openmmapi/include/openmm/internal/vectorize.h
openmmapi/include/openmm/internal/vectorize.h
+2
-2
No files found.
libraries/vecmath/src/vecmath.cpp
View file @
d816abea
#if defined(__A
NDROID
__)
#if defined(__A
RM__) || defined(__ARM64
__)
#include "neon_mathfun.h"
#include "neon_mathfun.h"
#else
#else
#if !defined(__PNACL__)
#if !defined(__PNACL__)
...
...
openmmapi/include/openmm/internal/hardware.h
View file @
d816abea
...
@@ -93,7 +93,8 @@ static int getNumProcessors() {
...
@@ -93,7 +93,8 @@ static int getNumProcessors() {
#ifdef WIN32
#ifdef WIN32
#define cpuid __cpuid
#define cpuid __cpuid
#else
#else
#if !defined(__ANDROID__) && !defined(__PNACL__) && !defined(__PPC__)
#if !defined(__ANDROID__) && !defined(__PNACL__) && !defined(__PPC__) \
&& !defined(__ARM__) && !defined(__ARM64__)
static
void
cpuid
(
int
cpuInfo
[
4
],
int
infoType
){
static
void
cpuid
(
int
cpuInfo
[
4
],
int
infoType
){
#ifdef __LP64__
#ifdef __LP64__
__asm__
__volatile__
(
__asm__
__volatile__
(
...
...
openmmapi/include/openmm/internal/vectorize.h
View file @
d816abea
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
* USE OR OTHER DEALINGS IN THE SOFTWARE. *
* USE OR OTHER DEALINGS IN THE SOFTWARE. *
* -------------------------------------------------------------------------- */
* -------------------------------------------------------------------------- */
#if defined(__ARM__)
#if defined(__ARM__)
|| defined(__ARM64__)
#include "vectorize_neon.h"
#include "vectorize_neon.h"
#elif defined(__PPC__)
#elif defined(__PPC__)
#include "vectorize_ppc.h"
#include "vectorize_ppc.h"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment