i-evi / sse2msa Goto Github PK
View Code? Open in Web Editor NEWA C/C++ header file that converts Intel SSE intrinsics to MIPS/MIPS64 MSA intrinsics.
License: MIT License
A C/C++ header file that converts Intel SSE intrinsics to MIPS/MIPS64 MSA intrinsics.
License: MIT License
SIMDe maintainer here. If you're interested, I'd love to integrate this into SIMDe. Obviously SIMDe would benefit from better implementations on MSA. sse2msa would get vastly improved coverage of the x86 APIs from our existing portable fallbacks (which are often auto-vectorized) and an extensive test suite, and a lot of the work is already done (the functions already exist, adding MSA implementations is just a matter of adding the proper preprocessor test and calling the MSA function(s)).
We've actually already started implementing the MSA API using SSE/NEON/etc., so a lot of the infrastructure is already in place. To get things going in the other direction we would basically just need to add the MSA types to our existing SSE unions, which is quite simple.
I'm trying to use your header file to run a SSE SIMD code on MIIPS CPU(Loongson 3A3000),it turns out with some errors.
error: can’t convert between vector values of different size
return vreinterpret_m128(__builtin_msa_fadd_w(vreinterpret_v4f32(a), vreinterpret_v4f32(b)));
error:can’t convert between vector values of different size
extension(({union {int32_t i; typeof(x) v;} $ = {.v = x}; $.i;}))
I don't know how to solve these problems, can you help me?
thank you so much.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.