Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
howjmay committed Mar 4, 2024
1 parent 53cd846 commit f1ac1c5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .ci/cross-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ wget -O gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu.tar.xz "https://developer.a
tar Jxvf gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu.tar.xz

make clean
export PATH=gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/bin:$PATH
make CROSS_COMPILE=aarch64-linux-gnu- check || exit 1 # ARMv8-A
# export PATH=gcc-arm-8.3-2019.03-x86_64-aarch64-linux-gnu/bin:$PATH
# make CROSS_COMPILE=aarch64-linux-gnu- check || exit 1 # ARMv8-A
aarch64-linux-gnu-g++ -o test test.c -march=armv8-a+fp+simd
qemu-aarch64 test

# aarch64-linux-gnu-g++ -Wall -Wcast-qual -I. -march=armv8-a+fp+simd test.c -o test

Expand Down
9 changes: 9 additions & 0 deletions test.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#include "sse2neon.h"
#include <stdint.h>

int main() {
int32_t _a[4];
__m128i a = _mm_loadu_si64(_a);
_mm_shufflelo_epi16(a, 10);
return 0;
}

0 comments on commit f1ac1c5

Please sign in to comment.