checkasm: Reinstate check for TRIM_DSP_FUNCTIONS
This was lost in 3a2a874994.
Without this, checkasm ends up printing a quite confusing output
consisting only of the functions that have two or more assembly
implementations, if trim_dsp happens to be enabled.
This commit is contained in:
@@ -27,6 +27,8 @@
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include <checkasm/checkasm.h>
|
||||
|
||||
#include "src/cpu.h"
|
||||
@@ -93,6 +95,11 @@ static void set_cpu_flags(CheckasmCpu flags)
|
||||
|
||||
int main(int argc, const char *argv[])
|
||||
{
|
||||
#if TRIM_DSP_FUNCTIONS
|
||||
fprintf(stderr, "checkasm: reference functions unavailable, reconfigure using '-Dtrim_dsp=false'\n");
|
||||
return 0;
|
||||
#endif
|
||||
|
||||
CheckasmConfig cfg = {
|
||||
.cpu_flags = flags,
|
||||
.tests = tests,
|
||||
|
||||
Reference in New Issue
Block a user