-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile failures using ARM and ARM64 with Microsoft tools #776
Comments
Worth mentioning that this packing order is for little-endian ARM. If anybody ever uses ARM in big-endian mode, you'd need to left-shift And BTW, this works because MSVC declares |
And from
According to
It looks like we need to provide it (kind of):
|
And another one for ARM64:
|
And another one for ARM64:
|
We cleared the issues resulting from the ARM64 compile. I don't have a test machine to transfer the binary and run the test suite, so I am not sure if things will actually work. I'm trying to get hold of an ASUS TP370QL for testing so we can actually run the test vectors. |
This is an open-ended report to track changes for Microsoft ARM and ARM64 compiles. Microsoft recently released their ARM64 compiler (part of Visual Studio 15.9), so we can now test a compile and link. I'm trying to get hold of an ASUS TP370QL for testing so we can actually run the test vectors.
Here's the first issue. A typical initialization is shown below. The problem is, it is using GCC extensions:
And a compile results in:
Peter Cordes (@pcordes) provided a workaround at Error C2078 when initializing uint32x4_t on ARM? on Stack Overflow. It requires macros, but it avoids other problems with the compiler:
The text was updated successfully, but these errors were encountered: