You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qemu/tests/tcg/i386
Alex Bennée 874c712dc1 tests/tcg: enable -fwrapv for test-i386-bmi
We allow things like:

  tests/tcg/i386/test-i386-bmi2.c:124:35: warning: shifting a negative signed value is undefined [-Wshift-negative-value]
      assert(result == (mask & ~(-1 << 30)));

in the main code, so allow it for the test.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20250304222439.2035603-17-alex.bennee@linaro.org>
4 months ago
..
system tests/tcg: update licenses to GPLv2 as intended 1 year ago
Makefile.softmmu-target tests/tcg: Use --noexecstack with assembler files 11 months ago
Makefile.target tests/tcg: enable -fwrapv for test-i386-bmi 4 months ago
README tests/tcg: i386: add SSE tests 3 years ago
float_convd.conf tests/tcg: add float_convd test 3 years ago
float_convs.ref tests/tcg: add missing reference files for float_convs 3 years ago
hello-i386.c
test-3dnow.c tests/tcg: i386: add MMX and 3DNow! tests 3 years ago
test-aes.c tests/multiarch: Add test-aes 2 years ago
test-avx.c tests/tcg: add message to _Static_assert in test-avx 4 months ago
test-avx.py tests/tcg/i386: test-avx: add test cases for SHA new instructions 2 years ago
test-flags.c target/i386: introduce flags writeback mechanism 2 years ago
test-i386-adcox.c tests/tcg: fix constraints in test-i386-adcox 4 months ago
test-i386-bmi2.c target/i386: Fix BZHI instruction 2 years ago
test-i386-code16.S
test-i386-f2xm1.c target/i386: reimplement f2xm1 using floatx80 operations 5 years ago
test-i386-fbstp.c target/i386: fix fbstp handling of out-of-range values 5 years ago
test-i386-fisttp.c target/i386: fix fisttpl, fisttpll handling of out-of-range values 5 years ago
test-i386-fldcst.c target/i386: fix floating-point load-constant rounding 5 years ago
test-i386-fp-exceptions.c tests/tcg/i386: Use explicit suffix on fist insns 3 years ago
test-i386-fpatan.c target/i386: reimplement fpatan using floatx80 operations 5 years ago
test-i386-fprem.c
test-i386-fscale.c target/i386: fix fscale handling of rounding precision 5 years ago
test-i386-fxam.c target/i386: fix fxam handling of invalid encodings 5 years ago
test-i386-fxtract.c target/i386: implement special cases for fxtract 5 years ago
test-i386-fyl2x.c target/i386: reimplement fyl2x using floatx80 operations 5 years ago
test-i386-fyl2xp1.c target/i386: reimplement fyl2xp1 using floatx80 operations 5 years ago
test-i386-muldiv.h
test-i386-pcmpistri.c target/i386: correct fix for pcmpxstrx substring search 5 years ago
test-i386-pseudo-denormal.c softfloat: fix floatx80 pseudo-denormal round to integer 5 years ago
test-i386-shift.h
test-i386-snan-convert.c softfloat: silence sNaN for conversions to/from floatx80 5 years ago
test-i386-sse-exceptions.c target/i386: fix IEEE SSE floating-point exception raising 5 years ago
test-i386-ssse3.c
test-i386-vm86.S
test-i386.c tests/tcg: cover lzcnt/tzcnt/popcnt 1 year ago
test-i386.h
test-mmx.c tests/tcg: i386: add MMX and 3DNow! tests 3 years ago
test-mmx.py tests/tcg: i386: add MMX and 3DNow! tests 3 years ago
x86.csv i386: spelling fixes 2 years ago

README

These are i386 specific guest programs

test-i386
---------

This program executes most of the 16 bit and 32 bit x86 instructions and
generates a text output, for comparison with the output obtained with
a real CPU or another emulator.

The Linux system call modify_ldt() is used to create x86 selectors
to test some 16 bit addressing and 32 bit with segmentation cases.

The Linux system call vm86() is used to test vm86 emulation.

Various exceptions are raised to test most of the x86 user space
exception reporting.

test-avx
--------

This program executes most SSE/AVX instructions and generates a text output,
for comparison with the output obtained with a real CPU or another emulator.

test-avx.h is generate from x86.csv by test-avx.py
x86.csv comes from https://github.com/quasilyte/avx512test

linux-test
----------

This program tests various Linux system calls. It is used to verify
that the system call parameters are correctly converted between target
and host CPUs.

test-i386-fprem
---------------

test-mmap
---------

sha1
----

hello-i386
----------