From 0e931ea8dc3b9feaee995d9c3fc278375b2a0455 Mon Sep 17 00:00:00 2001 From: Bernhard Urban Date: Tue, 27 Aug 2019 09:37:46 -0700 Subject: [PATCH] [llvmaotcheck] require sse3 being available for regression tests Commit migrated from https://github.com/mono/mono/commit/8e6b967391533fbbe555e8aa83a5fdf501f81c36 --- src/mono/mono/mini/Makefile.am.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/mono/mono/mini/Makefile.am.in b/src/mono/mono/mini/Makefile.am.in index f291bd7..adb20a1 100755 --- a/src/mono/mono/mini/Makefile.am.in +++ b/src/mono/mono/mini/Makefile.am.in @@ -883,11 +883,16 @@ gctest: mono gc-test.exe MONO_DEBUG_OPTIONS=clear-nursery-at-gc $(MINI_RUNTIME) --regression gc-test.exe LLVM_AOT_RUNTIME_OPTS=$(if $(LLVM),--llvm,) +if AMD64 +LLVM_AOT_COMPILER_OPTS=$(if $(LLVM),"=llvmllc=-mcpu=generic -mattr=+sse3",) +else +LLVM_AOT_COMPILER_OPTS= +endif GSHAREDVT_RUNTIME_OPTS=$(if $(GSHAREDVT),-O=gsharedvt,) aotcheck: mono $(regtests) rm -rf *.exe.so *.exe.dylib *.exe.dylib.dSYM - $(MINI_RUNTIME) $(LLVM_AOT_RUNTIME_OPTS) --aot $(regtests) || exit 1 + $(MINI_RUNTIME) $(LLVM_AOT_RUNTIME_OPTS) --aot$(LLVM_AOT_COMPILER_OPTS) $(regtests) || exit 1 for i in $(regtests); do $(RUNTIME_AOTCHECK) --regression $$i || exit 1; done rm -rf *.exe.so *.exe.dylib *.exe.dylib.dSYM -- 2.7.4