Commit Graph

130 Commits

Author SHA1 Message Date
balrog
222a3336ec Implement SSE4.1, SSE4.2 (x86).
This adds support for CPUID_EXT_SSE41, CPUID_EXT_SSE42, CPUID_EXT_POPCNT
extensions.  Most instructions haven't been tested yet.


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5411 c046a42c-6fe2-441c-8c8c-71466251a162
2008-10-04 03:27:44 +00:00
balrog
59e0fbf8e9 Add a simple SSSE3 test.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5320 c046a42c-6fe2-441c-8c8c-71466251a162
2008-09-25 18:41:28 +00:00
malc
e5fd43a926 Support out-of-the-tree building of tests
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5288 c046a42c-6fe2-441c-8c8c-71466251a162
2008-09-22 01:39:29 +00:00
balrog
7058bfa638 Fix TEST_BSX operands in test-i386.c (Zeev Tarantov).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5278 c046a42c-6fe2-441c-8c8c-71466251a162
2008-09-21 02:34:50 +00:00
balrog
872ea0c098 Enable same-arch consistency check on x86-64, print syscall name on error.
Also disable testing instructions unsupported by 64-bit binutils in 
test-i386.c


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5277 c046a42c-6fe2-441c-8c8c-71466251a162
2008-09-21 02:31:19 +00:00
aurel32
a986fcc469 alpha: improve testsuite
misc tiny patches:
* add a 'check' target to the Makefile
* split code in crt.s to create the _exit syscall; also use the value of
main() as exit status

Signed-off-by: Tristan Gingold <gingold@adacore.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5244 c046a42c-6fe2-441c-8c8c-71466251a162
2008-09-17 22:04:37 +00:00
aurel32
df0fc998b8 alpha: add tests
This patch creates tests/alpha directory and adds an "hello world"
program as well as two tests.

Signed-off-by: Tristan Gingold <gingold@adacore.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5216 c046a42c-6fe2-441c-8c8c-71466251a162
2008-09-14 17:18:29 +00:00
edgar_igl
313281198d Make the tests run when built with experimental gcc-cris 4.4. Prettify the logs.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4682 c046a42c-6fe2-441c-8c8c-71466251a162
2008-06-06 11:07:50 +00:00
edgar_igl
9012c2bf32 Add a testcase for broken x arithmetic sequences.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4681 c046a42c-6fe2-441c-8c8c-71466251a162
2008-06-06 11:05:18 +00:00
edgar_igl
54f25d0af5 Increase the odds for the movei test to pass in system simulation.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4680 c046a42c-6fe2-441c-8c8c-71466251a162
2008-06-06 11:00:58 +00:00
edgar_igl
bd3a845439 Avoid warnings.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4679 c046a42c-6fe2-441c-8c8c-71466251a162
2008-06-06 11:00:04 +00:00
bellard
6f7044faab update
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4602 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-28 12:35:42 +00:00
bellard
a5973fbff1 more tests
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4601 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-28 12:34:49 +00:00
bellard
a57f63167c removed unused code
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4434 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-12 12:00:46 +00:00
edgar_igl
7dd7c987a8 Correct broken test for fixed file mmaps.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4308 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-03 15:55:42 +00:00
edgar_igl
ff56ff7a07 CRIS: Make CCS related tests pass in system simulation by masking off flags not related to the tests.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4298 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-02 21:13:21 +00:00
edgar_igl
31d731ab2f CRIS: Correct typo in test for moverm.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4297 c046a42c-6fe2-441c-8c8c-71466251a162
2008-05-02 21:08:33 +00:00
aurel32
41a00ab195 Remove remaining .cvsignore files
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4159 c046a42c-6fe2-441c-8c8c-71466251a162
2008-04-03 03:13:16 +00:00
edgar_igl
e1ffb0f18f Add a tests for user-mode mmap
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4006 c046a42c-6fe2-441c-8c8c-71466251a162
2008-03-01 22:23:17 +00:00
edgar_igl
bebb39d461 Add test-case for btst CCS flags updates.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4005 c046a42c-6fe2-441c-8c8c-71466251a162
2008-03-01 18:50:54 +00:00
edgar_igl
cbdbb7713d Add small testcase for ordinary signals.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3998 c046a42c-6fe2-441c-8c8c-71466251a162
2008-02-28 11:23:20 +00:00
edgar_igl
1b893ef326 Add testcase for CRIS ftag/fidx cache flushing insns.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3991 c046a42c-6fe2-441c-8c8c-71466251a162
2008-02-25 10:00:07 +00:00
bellard
efd0c2063b suppressed warnings
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3940 c046a42c-6fe2-441c-8c8c-71466251a162
2008-01-31 15:19:39 +00:00
bellard
a44c7c15ac compilation fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3939 c046a42c-6fe2-441c-8c8c-71466251a162
2008-01-31 15:19:24 +00:00
bellard
8aadfbf0d1 compilation fixes - added bswap - comments
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3938 c046a42c-6fe2-441c-8c8c-71466251a162
2008-01-31 14:56:10 +00:00
bellard
9b0b82037a removed obsolete test2 target
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3640 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-14 10:34:57 +00:00
bellard
7aaabde7d7 use -fno-strict-aliasing
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3598 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-11 17:26:21 +00:00
bellard
be98f1f822 compilation fixes
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3585 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-11 14:43:13 +00:00
bellard
aaed909a49 added cpu_model parameter to cpu_init()
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3562 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-10 15:15:54 +00:00
bellard
ec6338bac3 removed obsolete x86 code copy support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3551 c046a42c-6fe2-441c-8c8c-71466251a162
2007-11-08 14:25:03 +00:00
ths
e7daa60575 Add CRIS configuration bits, by Edgar E. Iglesias.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3368 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-08 13:38:27 +00:00
ths
dd43edf4e1 CRIS testsuite, based on the SIM testsuite, by Edgar E. Iglesias.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3365 c046a42c-6fe2-441c-8c8c-71466251a162
2007-10-08 13:32:20 +00:00
ths
3b46e62427 find -type f | xargs sed -i 's/[\t ]*$//g' # Yes, again. Note the star in the regex.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3177 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-17 08:09:54 +00:00
ths
5fafdf24ef find -type f | xargs sed -i 's/[\t ]$//g' # on most files
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3173 c046a42c-6fe2-441c-8c8c-71466251a162
2007-09-16 21:08:06 +00:00
balrog
18c9b56060 Implement iwMMXt instruction set for the PXA270 cpu.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2752 c046a42c-6fe2-441c-8c8c-71466251a162
2007-04-30 02:02:17 +00:00
bellard
df517cec51 int conversion test
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2396 c046a42c-6fe2-441c-8c8c-71466251a162
2007-02-05 20:52:39 +00:00
bellard
2afbeee757 update path
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2395 c046a42c-6fe2-441c-8c8c-71466251a162
2007-02-05 20:51:14 +00:00
pbrook
57be54bb3e Fix "make test2".
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2339 c046a42c-6fe2-441c-8c8c-71466251a162
2007-01-20 16:52:55 +00:00
ths
e4630047e1 Simple test for mips/mipsel, based on a test by Alexander Voropay.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2246 c046a42c-6fe2-441c-8c8c-71466251a162
2006-12-14 14:48:11 +00:00
bellard
26a76461f2 C99 64 bit printf
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2018 c046a42c-6fe2-441c-8c8c-71466251a162
2006-06-25 18:15:32 +00:00
bellard
3b42c9794c sse2 comment
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2017 c046a42c-6fe2-441c-8c8c-71466251a162
2006-06-25 18:02:38 +00:00
bellard
80e7d52103 added movdq2q and movq2dq
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2004 c046a42c-6fe2-441c-8c8c-71466251a162
2006-06-24 14:01:32 +00:00
bellard
b2a8e59224 fxam test
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1996 c046a42c-6fe2-441c-8c8c-71466251a162
2006-06-19 22:42:57 +00:00
bellard
6c3ee14ff3 better shift tests
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1844 c046a42c-6fe2-441c-8c8c-71466251a162
2006-04-24 20:18:26 +00:00
bellard
2d7a3b9d7b qruncom compile fixes (initial patch by Even Rouault)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1722 c046a42c-6fe2-441c-8c8c-71466251a162
2005-12-18 19:28:08 +00:00
bellard
56902eee82 more targets
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1702 c046a42c-6fe2-441c-8c8c-71466251a162
2005-12-06 21:44:55 +00:00
bellard
cc4adeef98 added MIPS user in automatic tests
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1696 c046a42c-6fe2-441c-8c8c-71466251a162
2005-12-05 21:04:50 +00:00
bellard
c68ea7043f cpu_single_env usage fix
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1644 c046a42c-6fe2-441c-8c8c-71466251a162
2005-11-21 23:33:12 +00:00
bellard
11650e3638 clean target update
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1410 c046a42c-6fe2-441c-8c8c-71466251a162
2005-04-26 21:39:25 +00:00
bellard
e06e5259c3 lretq, lcall and ljmp tests in 64 bit mode
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1376 c046a42c-6fe2-441c-8c8c-71466251a162
2005-04-23 17:54:59 +00:00