Unified · Split
| @@ -94,6 +94,10 @@ · 93 unmodified lines | |||
| 94 | #define isatty(fd) 1 | 94 | #define isatty(fd) 1 |
| 95 | #endif | 95 | #endif |
| 96 | 96 | ||
| 97 | #if ARCH_AARCH64 | ||
| 98 | #include "libavutil/aarch64/cpu.h" | ||
| 99 | #endif | ||
| 100 | |||
| 97 | #if ARCH_ARM && HAVE_ARMV5TE_EXTERNAL | 101 | #if ARCH_ARM && HAVE_ARMV5TE_EXTERNAL |
| 98 | #include "libavutil/arm/cpu.h" | 102 | #include "libavutil/arm/cpu.h" |
| 99 | 103 | ||
| @@ -917,6 +921,7 @@ int main(int argc, char *argv[]) · 817 unmodified lines | |||
| 917 | { | 921 | { |
| 918 | unsigned int seed = av_get_random_seed(); | 922 | unsigned int seed = av_get_random_seed(); |
| 919 | int i, ret = 0; | 923 | int i, ret = 0; |
| 924 | char arch_info_buf[50] = ""; | ||
| 920 | 925 | ||
| 921 | #ifdef _WIN32 | 926 | #ifdef _WIN32 |
| 922 | #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) | 927 | #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP) |
| @@ -981,7 +986,12 @@ int main(int argc, char *argv[]) · 58 unmodified lines | |||
| 981 | } | 986 | } |
| 982 | } | 987 | } |
| 983 | 988 | ||
| 984 | fprintf(stderr, "checkasm: using random seed %u\n", seed); | 989 | #if ARCH_AARCH64 && HAVE_SVE |
| 990 | if (have_sve(av_get_cpu_flags())) | ||
| 991 | snprintf(arch_info_buf, sizeof(arch_info_buf), | ||
| 992 | "SVE %d bits, ", 8 * ff_aarch64_sve_length()); | ||
| 993 | #endif | ||
| 994 | fprintf(stderr, "checkasm: %susing random seed %u\n", arch_info_buf, seed); | ||
| 985 | av_lfg_init(&checkasm_lfg, seed); | 995 | av_lfg_init(&checkasm_lfg, seed); |
| 986 | 996 | ||
| 987 | if (state.bench_pattern) | 997 | if (state.bench_pattern) |