From: Bernhard Urban Date: Tue, 27 Aug 2019 16:37:46 +0000 (-0700) Subject: [llvmaotcheck] require sse3 being available for regression tests X-Git-Tag: submit/tizen/20210909.063632~10331^2~5^2~673 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0e931ea8dc3b9feaee995d9c3fc278375b2a0455;p=platform%2Fupstream%2Fdotnet%2Fruntime.git [llvmaotcheck] require sse3 being available for regression tests Commit migrated from https://github.com/mono/mono/commit/8e6b967391533fbbe555e8aa83a5fdf501f81c36 --- 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