aboutsummaryrefslogtreecommitdiff
path: root/target/arm/vec_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'target/arm/vec_internal.h')
-rw-r--r--target/arm/vec_internal.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/target/arm/vec_internal.h b/target/arm/vec_internal.h
index dba481e..613f342 100644
--- a/target/arm/vec_internal.h
+++ b/target/arm/vec_internal.h
@@ -42,7 +42,13 @@
#define H2(x) (x)
#define H4(x) (x)
#endif
-
+/*
+ * Access to 64-bit elements isn't host-endian dependent; we provide H8
+ * and H1_8 so that when a function is being generated from a macro we
+ * can pass these rather than an empty macro argument, for clarity.
+ */
+#define H8(x) (x)
+#define H1_8(x) (x)
static inline void clear_tail(void *vd, uintptr_t opr_sz, uintptr_t max_sz)
{