Lines Matching +full:qemu +full:- +full:x86

8 config-cc.mak: Makefile
9 $(quiet-@)( \
10 $(call cc-option,-fno-pie, CROSS_CC_HAS_I386_NOPIE)) 3> config-cc.mak
12 -include config-cc.mak
16 SKIP_I386_TESTS=test-i386-ssse3 test-avx test-3dnow test-mmx test-flags
17 X86_64_TESTS:=$(filter test-i386-adcox test-i386-bmi2 $(SKIP_I386_TESTS), $(ALL_X86_TESTS))
19 test-i386-sse-exceptions: CFLAGS += -msse4.1 -mfpmath=sse
20 run-test-i386-sse-exceptions: QEMU_OPTS += -cpu max
22 test-i386-pcmpistri: CFLAGS += -msse4.2
23 run-test-i386-pcmpistri: QEMU_OPTS += -cpu max
25 test-i386-bmi2: CFLAGS=-O2 -fwrapv
26 run-test-i386-bmi2: QEMU_OPTS += -cpu max
28 test-i386-adcox: CFLAGS=-O2
29 run-test-i386-adcox: QEMU_OPTS += -cpu max
31 test-aes: CFLAGS += -O -msse2 -maes
32 test-aes: test-aes-main.c.inc
33 run-test-aes: QEMU_OPTS += -cpu max
36 # hello-i386 is a barebones app
38 hello-i386: CFLAGS+=-ffreestanding -fno-stack-protector
39 hello-i386: LDFLAGS+=-nostdlib
41 # test-386 includes a couple of additional objects that need to be
42 # linked together, we also need a no-pie capable compiler due to the
43 # non-pic calls into 16-bit mode
45 test-i386: CFLAGS += -fno-pie
47 test-i386: test-i386.c test-i386-code16.S test-i386-vm86.S test-i386.h test-i386-shift.h test-i386-
48 $(CC) $(CFLAGS) $(LDFLAGS) $(EXTRA_CFLAGS) -o $@ \
49 $(<D)/test-i386.c $(<D)/test-i386-code16.S $(<D)/test-i386-vm86.S -lm
51 test-i386:
52 $(call skip-test, "BUILD of $@", "missing -no-pie compiler support")
53 run-test-i386:
54 $(call skip-test, "RUN of test-i386", "not built")
59 test-i386-fprem.ref: test-i386-fprem
60 $(call quiet-command, ./$< > $@,"GENREF","generating $@")
62 run-test-i386-fprem: TIMEOUT=60
63 run-test-i386-fprem: test-i386-fprem test-i386-fprem.ref
64 $(call run-test,test-i386-fprem, $(QEMU) $<)
65 $(call diff-out,test-i386-fprem, test-i386-fprem.ref)
67 SKIP_I386_TESTS+=test-i386-fprem
71 I386_TESTS:=$(filter-out $(SKIP_I386_TESTS), $(ALL_X86_TESTS))
74 sha512-sse: CFLAGS=-msse4.1 -O3
75 sha512-sse: sha512.c
76 $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $< -o $@ $(LDFLAGS)
78 run-sha512-sse: QEMU_OPTS+=-cpu max
80 TESTS+=sha512-sse
82 CLEANFILES += test-avx.h test-mmx.h test-3dnow.h
83 test-3dnow.h: test-mmx.py x86.csv
84 $(PYTHON) $(I386_SRC)/test-mmx.py $(I386_SRC)/x86.csv $@ 3DNOW
86 test-mmx.h: test-mmx.py x86.csv
87 $(PYTHON) $(I386_SRC)/test-mmx.py $(I386_SRC)/x86.csv $@ MMX SSE SSE2 SSE3 SSSE3
89 test-avx.h: test-avx.py x86.csv
90 $(PYTHON) $(I386_SRC)/test-avx.py $(I386_SRC)/x86.csv $@
92 test-3dnow: CFLAGS += -masm=intel -O -I.
93 run-test-3dnow: QEMU_OPTS += -cpu max
94 test-3dnow: test-3dnow.h
96 test-mmx: CFLAGS += -masm=intel -O -I.
97 run-test-mmx: QEMU_OPTS += -cpu max
98 test-mmx: test-mmx.h
100 test-avx: CFLAGS += -mavx -masm=intel -O -I.
101 run-test-avx: QEMU_OPTS += -cpu max
102 test-avx: test-avx.h