Index: Makefile.standalone |
diff --git a/Makefile.standalone b/Makefile.standalone |
index e40e4a3b292bb83afd4417f18f5f39ab1c1bbc5c..f972ccf7bc66b4165fa32e33f2bf83061132ebd2 100644 |
--- a/Makefile.standalone |
+++ b/Makefile.standalone |
@@ -513,13 +513,16 @@ $(OBJDIR)/unittest/AssemblerX8664: $(OBJDIR)/unittest |
RT_SRC := runtime/szrt.c runtime/szrt_ll.ll runtime/szrt_profiler.c \ |
runtime/szrt_asm_x8632.s runtime/szrt_asm_x8664.s \ |
- runtime/szrt_asm_arm32.s runtime/szrt_asan.c |
+ runtime/szrt_asm_arm32.s \ |
+ runtime/szrt_asm_mips32.s \ |
+ runtime/szrt_asan.c |
RT_OBJ := build/runtime/szrt_native_x8632.o build/runtime/szrt_sb_x8632.o \ |
build/runtime/szrt_nonsfi_x8632.o \ |
build/runtime/szrt_native_x8664.o build/runtime/szrt_sb_x8664.o \ |
build/runtime/szrt_nonsfi_x8664.o \ |
build/runtime/szrt_native_arm32.o build/runtime/szrt_sb_arm32.o \ |
build/runtime/szrt_nonsfi_arm32.o \ |
+ build/runtime/szrt_native_mips32.o build/runtime/szrt_sb_mips32.o \ |
build/runtime/szrt_asan_x8632.o build/runtime/szrt_asan_x8664.o \ |
build/runtime/szrt_asan_arm32.o |
@@ -552,7 +555,7 @@ check-xtest check-xtest-lite: $(OBJDIR)/pnacl-sz make_symlink runtime \ |
$(FORCEASM_FLAG) \ |
$(FORCEASM_XTEST_EXCLUDES) \ |
-i x8664,native,sse2 \ |
- -i mips32,xxx |
+ -i mips32,native,Om1,simple_loop |
PNACL_BIN_PATH=$(PNACL_BIN_PATH) \ |
$(LLVM_SRC_PATH)/utils/lit/lit.py -sv $(CHECK_XTEST_TESTS) |
else |
@@ -631,6 +634,14 @@ ifeq ($(TARGET),arm32) |
SETUP=SetupGccArmOpt |
SPEC := --filetype=obj |
endif |
+ifeq ($(TARGET),mips32) |
+ # native_client/tests/spec2k/{Makefile.common,run_all.sh} do not currently |
+ # have MIPS configs, so those would need to be added for proper Subzero |
+ # testing. |
+ TARGETFLAG=mips32 |
+ SETUP=SetupGccMipsOpt |
+ SPEC := --filetype=asm |
+endif |
SPECFLAGS := -O2 |
SPECRUN := --run |
%.spec2k: % $(OBJDIR)/pnacl-sz make_symlink runtime |