#include "config.h"
+#ifdef ENABLE_ASM_DEBUG
+# include "regdump.h"
+#endif
+
#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
static int cpu_features_p(void) { return (cpu_feature_p(CPUFEAT_X86_SSE2)); }
#endif
+#if CPUFAM_ARMEL
+# define VARIANT _arm_neon
+# define REPR_32
+static int cpu_features_p(void) { return (cpu_feature_p(CPUFEAT_ARM_NEON)); }
+#endif
+
+#if CPUFAM_ARM64
+# define VARIANT _arm64_simd
+# define REPR_32
+static int cpu_features_p(void) { return (1); }
+#endif
+
#ifndef VARIANT
# error "Unsupported CPU family."
#endif
int main(int argc, char *argv[])
{
sub_init();
+#ifdef ENABLE_ASM_DEBUG
+ regdump_init();
+#endif
if (!cpu_features_p())
{ fprintf(stderr, "required cpu feature not available\n"); exit(77); }
test_run(argc, argv, tests, SRCDIR "/t/mpx-mul4");