summaryrefslogtreecommitdiff
path: root/arm-simd-test.S
diff options
context:
space:
mode:
authorDylan Baker <dylan@pnwbakers.com>2019-03-25 16:28:06 -0700
committerDylan Baker <dylan@pnwbakers.com>2019-03-27 10:54:50 -0700
commit0ea37df4286e913b686ff0e85e686b6e6a494bda (patch)
tree7cb40375ec907a92cadf006cc666872cff6fe229 /arm-simd-test.S
parent2065a07e989b7f4041eb21a109c3cfedce3bfc39 (diff)
meson: store ARM SIMD and NEON tests as text files
This is unfortunately required to make the tests work correctly, as otherwise meson assumes that the files are C code not assembly. I've opened https://github.com/mesonbuild/meson/issues/5151, to discuss fixing the issue in meson upstream. Fixes #29
Diffstat (limited to 'arm-simd-test.S')
-rw-r--r--arm-simd-test.S10
1 files changed, 10 insertions, 0 deletions
diff --git a/arm-simd-test.S b/arm-simd-test.S
new file mode 100644
index 0000000..910c814
--- /dev/null
+++ b/arm-simd-test.S
@@ -0,0 +1,10 @@
+.text
+.arch armv6
+.object_arch armv4
+.arm
+.altmacro
+#ifndef __ARM_EABI__
+#error EABI is required (to be sure that calling conventions are compatible)
+#endif
+pld [r0]
+uqadd8 r0, r0, r0