Comments (9)
Hi,
There is no specific support for NEON instructions yet.
Which version of the NDK are you using?
Thanks,
Christophe
from glm.
Hi,
I am using r8c NDK.
Regards,
Subhransu
from glm.
Tried with r7b also. I get the same error, so guess it's independent of NDK version.
from glm.
I wonder whether it's not a compiler issue:
http://stackoverflow.com/questions/3775991/gdb-error-invalid-offset-value-too-big-0x00000400-unable-to-build-app-in-debu
Do you use GLM inside a big switch here?
from glm.
Yes, I saw this link before logging a bug report.
There is no switch case in my code, the error is reproducible with only the following 4 lines of code,
glm::mat4 m1(1.0f);
glm::mat4 m2(1.0f);
glm::mat4 m3(1.0f);
m3 = m1*m2;
There is no big switch case in glm either (my prelim investigation) ..
Wondering what's going wrong!
from glm.
Erm... me too :/
from glm.
Just added those lines to my Android code and everything seems to work fine, I don't even get a warning (NDK r8b).
BTW adding explicit NEON support in GLM might not give as huge performance boost as one could expect. GLM is template-based and included directly into user code so there is a pretty good chance that GCC will automatically perform NEON-wise optimizations when NEON support is enabled in Android.mk. But, of course, I may be wrong on that one, it might be worth looking into.
from glm.
Ok. Then I am going to close this issue. Please reopen it if you find more clues on what generates this compatibility issue.
Thanks,
Christophe
from glm.
@jimvonmoon, I am sharing more or less the same thought than you for say 80% of the cases. However, some operations can be significantly improve using SIMD instructions directly. The SSE implementation of matrix inverse and multiplication show a significant gain.
from glm.
Related Issues (20)
- Trouble finding glm with cmake's find_package
- Vector GLM Logo HOT 1
- Quaternion constructor order doesn't depend on GLM_FORCE_QUAT_DATA_WXYZ HOT 1
- Defaulted functions causes initialization to 0 in constructor HOT 2
- No cmake install target HOT 1
- Swizzle support for CUDA HOT 4
- Disabled gtx/hash.hpp?
- Make HIP compatible HOT 3
- MSB1008 Error when running cmake --build with MSBuild v17 HOT 1
- update the tag version
- Unexpected `compMin` behavior. HOT 3
- C++20 support for constexpr and SIMD simultaneously
- quaternion_exponential.inl appears to incorrectly calculate exp(q)
- License statement grammer issue. HOT 1
- orientate4 & orientate3 call yawPitchRoll with wrong parameter order
- CUDA compiler error in type_aligned.hpp HOT 1
- Unnecessary warnings from matrix_projection.inl HOT 1
- Why unit test "ext_matrix_clip_space.cpp" is not used?
- glm::intersectRayTriangle might be broken
- Undefined behaviour warning
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from glm.