Patchwork [01/11] tests: mv tests/* -> tests/tcg

login
register
mail settings
Submitter Anthony Liguori
Date Jan. 9, 2012, 3:56 p.m.
Message ID <1326124572-8312-1-git-send-email-aliguori@us.ibm.com>
Download mbox | patch
Permalink /patch/135070/
State New
Headers show

Comments

Anthony Liguori - Jan. 9, 2012, 3:56 p.m.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
---
 Makefile                                          |    4 ++--
 configure                                         |    6 +++---
 tests/{ => tcg}/Makefile                          |    0
 tests/{ => tcg}/alpha/Makefile                    |    0
 tests/{ => tcg}/alpha/crt.s                       |    0
 tests/{ => tcg}/alpha/hello-alpha.c               |    0
 tests/{ => tcg}/alpha/test-cond.c                 |    0
 tests/{ => tcg}/alpha/test-ovf.c                  |    0
 tests/{ => tcg}/cris/.gdbinit                     |    0
 tests/{ => tcg}/cris/Makefile                     |    0
 tests/{ => tcg}/cris/README                       |    0
 tests/{ => tcg}/cris/check_abs.c                  |    0
 tests/{ => tcg}/cris/check_addc.c                 |    0
 tests/{ => tcg}/cris/check_addcm.c                |    0
 tests/{ => tcg}/cris/check_addi.s                 |    0
 tests/{ => tcg}/cris/check_addiv32.s              |    0
 tests/{ => tcg}/cris/check_addm.s                 |    0
 tests/{ => tcg}/cris/check_addo.c                 |    0
 tests/{ => tcg}/cris/check_addoq.c                |    0
 tests/{ => tcg}/cris/check_addq.s                 |    0
 tests/{ => tcg}/cris/check_addr.s                 |    0
 tests/{ => tcg}/cris/check_addxc.s                |    0
 tests/{ => tcg}/cris/check_addxm.s                |    0
 tests/{ => tcg}/cris/check_addxr.s                |    0
 tests/{ => tcg}/cris/check_andc.s                 |    0
 tests/{ => tcg}/cris/check_andm.s                 |    0
 tests/{ => tcg}/cris/check_andq.s                 |    0
 tests/{ => tcg}/cris/check_andr.s                 |    0
 tests/{ => tcg}/cris/check_asr.s                  |    0
 tests/{ => tcg}/cris/check_ba.s                   |    0
 tests/{ => tcg}/cris/check_bas.s                  |    0
 tests/{ => tcg}/cris/check_bcc.s                  |    0
 tests/{ => tcg}/cris/check_bound.c                |    0
 tests/{ => tcg}/cris/check_boundc.s               |    0
 tests/{ => tcg}/cris/check_boundr.s               |    0
 tests/{ => tcg}/cris/check_btst.s                 |    0
 tests/{ => tcg}/cris/check_clearfv32.s            |    0
 tests/{ => tcg}/cris/check_clrjmp1.s              |    0
 tests/{ => tcg}/cris/check_cmp-2.s                |    0
 tests/{ => tcg}/cris/check_cmpc.s                 |    0
 tests/{ => tcg}/cris/check_cmpm.s                 |    0
 tests/{ => tcg}/cris/check_cmpq.s                 |    0
 tests/{ => tcg}/cris/check_cmpr.s                 |    0
 tests/{ => tcg}/cris/check_cmpxc.s                |    0
 tests/{ => tcg}/cris/check_cmpxm.s                |    0
 tests/{ => tcg}/cris/check_dstep.s                |    0
 tests/{ => tcg}/cris/check_ftag.c                 |    0
 tests/{ => tcg}/cris/check_gcctorture_pr28634-1.c |    0
 tests/{ => tcg}/cris/check_gcctorture_pr28634.c   |    0
 tests/{ => tcg}/cris/check_glibc_kernelversion.c  |    0
 tests/{ => tcg}/cris/check_hello.c                |    0
 tests/{ => tcg}/cris/check_int64.c                |    0
 tests/{ => tcg}/cris/check_jsr.s                  |    0
 tests/{ => tcg}/cris/check_lapc.s                 |    0
 tests/{ => tcg}/cris/check_lsl.s                  |    0
 tests/{ => tcg}/cris/check_lsr.s                  |    0
 tests/{ => tcg}/cris/check_lz.c                   |    0
 tests/{ => tcg}/cris/check_mapbrk.c               |    0
 tests/{ => tcg}/cris/check_mcp.s                  |    0
 tests/{ => tcg}/cris/check_mmap1.c                |    0
 tests/{ => tcg}/cris/check_mmap2.c                |    0
 tests/{ => tcg}/cris/check_mmap3.c                |    0
 tests/{ => tcg}/cris/check_movdelsr1.s            |    0
 tests/{ => tcg}/cris/check_movecr.s               |    0
 tests/{ => tcg}/cris/check_movei.s                |    0
 tests/{ => tcg}/cris/check_movemr.s               |    0
 tests/{ => tcg}/cris/check_movemrv32.s            |    0
 tests/{ => tcg}/cris/check_moveq.c                |    0
 tests/{ => tcg}/cris/check_mover.s                |    0
 tests/{ => tcg}/cris/check_moverm.s               |    0
 tests/{ => tcg}/cris/check_movmp.s                |    0
 tests/{ => tcg}/cris/check_movpmv32.s             |    0
 tests/{ => tcg}/cris/check_movpr.s                |    0
 tests/{ => tcg}/cris/check_movprv32.s             |    0
 tests/{ => tcg}/cris/check_movscr.s               |    0
 tests/{ => tcg}/cris/check_movsm.s                |    0
 tests/{ => tcg}/cris/check_movsr.s                |    0
 tests/{ => tcg}/cris/check_movucr.s               |    0
 tests/{ => tcg}/cris/check_movum.s                |    0
 tests/{ => tcg}/cris/check_movur.s                |    0
 tests/{ => tcg}/cris/check_mulv32.s               |    0
 tests/{ => tcg}/cris/check_mulx.s                 |    0
 tests/{ => tcg}/cris/check_neg.s                  |    0
 tests/{ => tcg}/cris/check_not.s                  |    0
 tests/{ => tcg}/cris/check_openpf1.c              |    0
 tests/{ => tcg}/cris/check_openpf2.c              |    0
 tests/{ => tcg}/cris/check_openpf3.c              |    0
 tests/{ => tcg}/cris/check_openpf4.c              |    0
 tests/{ => tcg}/cris/check_openpf5.c              |    0
 tests/{ => tcg}/cris/check_orc.s                  |    0
 tests/{ => tcg}/cris/check_orm.s                  |    0
 tests/{ => tcg}/cris/check_orq.s                  |    0
 tests/{ => tcg}/cris/check_orr.s                  |    0
 tests/{ => tcg}/cris/check_ret.s                  |    0
 tests/{ => tcg}/cris/check_scc.s                  |    0
 tests/{ => tcg}/cris/check_settls1.c              |    0
 tests/{ => tcg}/cris/check_sigalrm.c              |    0
 tests/{ => tcg}/cris/check_stat1.c                |    0
 tests/{ => tcg}/cris/check_stat2.c                |    0
 tests/{ => tcg}/cris/check_stat3.c                |    0
 tests/{ => tcg}/cris/check_stat4.c                |    0
 tests/{ => tcg}/cris/check_subc.s                 |    0
 tests/{ => tcg}/cris/check_subm.s                 |    0
 tests/{ => tcg}/cris/check_subq.s                 |    0
 tests/{ => tcg}/cris/check_subr.s                 |    0
 tests/{ => tcg}/cris/check_swap.c                 |    0
 tests/{ => tcg}/cris/check_time1.c                |    0
 tests/{ => tcg}/cris/check_time2.c                |    0
 tests/{ => tcg}/cris/check_xarith.s               |    0
 tests/{ => tcg}/cris/crisutils.h                  |    0
 tests/{ => tcg}/cris/crt.s                        |    0
 tests/{ => tcg}/cris/sys.c                        |    0
 tests/{ => tcg}/cris/sys.h                        |    0
 tests/{ => tcg}/cris/testutils.inc                |    0
 tests/{ => tcg}/hello-arm.c                       |    0
 tests/{ => tcg}/hello-i386.c                      |    0
 tests/{ => tcg}/hello-mips.c                      |    0
 tests/{ => tcg}/linux-test.c                      |    0
 tests/{ => tcg}/lm32/Makefile                     |    0
 tests/{ => tcg}/lm32/crt.S                        |    0
 tests/{ => tcg}/lm32/linker.ld                    |    0
 tests/{ => tcg}/lm32/macros.inc                   |    0
 tests/{ => tcg}/lm32/test_add.S                   |    0
 tests/{ => tcg}/lm32/test_addi.S                  |    0
 tests/{ => tcg}/lm32/test_and.S                   |    0
 tests/{ => tcg}/lm32/test_andhi.S                 |    0
 tests/{ => tcg}/lm32/test_andi.S                  |    0
 tests/{ => tcg}/lm32/test_b.S                     |    0
 tests/{ => tcg}/lm32/test_be.S                    |    0
 tests/{ => tcg}/lm32/test_bg.S                    |    0
 tests/{ => tcg}/lm32/test_bge.S                   |    0
 tests/{ => tcg}/lm32/test_bgeu.S                  |    0
 tests/{ => tcg}/lm32/test_bgu.S                   |    0
 tests/{ => tcg}/lm32/test_bi.S                    |    0
 tests/{ => tcg}/lm32/test_bne.S                   |    0
 tests/{ => tcg}/lm32/test_break.S                 |    0
 tests/{ => tcg}/lm32/test_bret.S                  |    0
 tests/{ => tcg}/lm32/test_call.S                  |    0
 tests/{ => tcg}/lm32/test_calli.S                 |    0
 tests/{ => tcg}/lm32/test_cmpe.S                  |    0
 tests/{ => tcg}/lm32/test_cmpei.S                 |    0
 tests/{ => tcg}/lm32/test_cmpg.S                  |    0
 tests/{ => tcg}/lm32/test_cmpge.S                 |    0
 tests/{ => tcg}/lm32/test_cmpgei.S                |    0
 tests/{ => tcg}/lm32/test_cmpgeu.S                |    0
 tests/{ => tcg}/lm32/test_cmpgeui.S               |    0
 tests/{ => tcg}/lm32/test_cmpgi.S                 |    0
 tests/{ => tcg}/lm32/test_cmpgu.S                 |    0
 tests/{ => tcg}/lm32/test_cmpgui.S                |    0
 tests/{ => tcg}/lm32/test_cmpne.S                 |    0
 tests/{ => tcg}/lm32/test_cmpnei.S                |    0
 tests/{ => tcg}/lm32/test_divu.S                  |    0
 tests/{ => tcg}/lm32/test_eret.S                  |    0
 tests/{ => tcg}/lm32/test_lb.S                    |    0
 tests/{ => tcg}/lm32/test_lbu.S                   |    0
 tests/{ => tcg}/lm32/test_lh.S                    |    0
 tests/{ => tcg}/lm32/test_lhu.S                   |    0
 tests/{ => tcg}/lm32/test_lw.S                    |    0
 tests/{ => tcg}/lm32/test_modu.S                  |    0
 tests/{ => tcg}/lm32/test_mul.S                   |    0
 tests/{ => tcg}/lm32/test_muli.S                  |    0
 tests/{ => tcg}/lm32/test_nor.S                   |    0
 tests/{ => tcg}/lm32/test_nori.S                  |    0
 tests/{ => tcg}/lm32/test_or.S                    |    0
 tests/{ => tcg}/lm32/test_orhi.S                  |    0
 tests/{ => tcg}/lm32/test_ori.S                   |    0
 tests/{ => tcg}/lm32/test_ret.S                   |    0
 tests/{ => tcg}/lm32/test_sb.S                    |    0
 tests/{ => tcg}/lm32/test_scall.S                 |    0
 tests/{ => tcg}/lm32/test_sextb.S                 |    0
 tests/{ => tcg}/lm32/test_sexth.S                 |    0
 tests/{ => tcg}/lm32/test_sh.S                    |    0
 tests/{ => tcg}/lm32/test_sl.S                    |    0
 tests/{ => tcg}/lm32/test_sli.S                   |    0
 tests/{ => tcg}/lm32/test_sr.S                    |    0
 tests/{ => tcg}/lm32/test_sri.S                   |    0
 tests/{ => tcg}/lm32/test_sru.S                   |    0
 tests/{ => tcg}/lm32/test_srui.S                  |    0
 tests/{ => tcg}/lm32/test_sub.S                   |    0
 tests/{ => tcg}/lm32/test_sw.S                    |    0
 tests/{ => tcg}/lm32/test_xnor.S                  |    0
 tests/{ => tcg}/lm32/test_xnori.S                 |    0
 tests/{ => tcg}/lm32/test_xor.S                   |    0
 tests/{ => tcg}/lm32/test_xori.S                  |    0
 tests/{ => tcg}/pi_10.com                         |  Bin 54 -> 54 bytes
 tests/{ => tcg}/runcom.c                          |    0
 tests/{ => tcg}/sha1.c                            |    0
 tests/{ => tcg}/test-arm-iwmmxt.s                 |    0
 tests/{ => tcg}/test-i386-code16.S                |    0
 tests/{ => tcg}/test-i386-muldiv.h                |    0
 tests/{ => tcg}/test-i386-shift.h                 |    0
 tests/{ => tcg}/test-i386-ssse3.c                 |    0
 tests/{ => tcg}/test-i386-vm86.S                  |    0
 tests/{ => tcg}/test-i386.c                       |    0
 tests/{ => tcg}/test-i386.h                       |    0
 tests/{ => tcg}/test-mmap.c                       |    0
 tests/{ => tcg}/test_path.c                       |    0
 tests/{ => tcg}/testthread.c                      |    0
 tests/{ => tcg}/xtensa/Makefile                   |    0
 tests/{ => tcg}/xtensa/crt.S                      |    0
 tests/{ => tcg}/xtensa/linker.ld                  |    0
 tests/{ => tcg}/xtensa/macros.inc                 |    0
 tests/{ => tcg}/xtensa/test_b.S                   |    0
 tests/{ => tcg}/xtensa/test_bi.S                  |    0
 tests/{ => tcg}/xtensa/test_boolean.S             |    0
 tests/{ => tcg}/xtensa/test_bz.S                  |    0
 tests/{ => tcg}/xtensa/test_clamps.S              |    0
 tests/{ => tcg}/xtensa/test_fail.S                |    0
 tests/{ => tcg}/xtensa/test_interrupt.S           |    0
 tests/{ => tcg}/xtensa/test_loop.S                |    0
 tests/{ => tcg}/xtensa/test_mac16.S               |    0
 tests/{ => tcg}/xtensa/test_max.S                 |    0
 tests/{ => tcg}/xtensa/test_min.S                 |    0
 tests/{ => tcg}/xtensa/test_mmu.S                 |    0
 tests/{ => tcg}/xtensa/test_mul16.S               |    0
 tests/{ => tcg}/xtensa/test_mul32.S               |    0
 tests/{ => tcg}/xtensa/test_nsa.S                 |    0
 tests/{ => tcg}/xtensa/test_pipeline.S            |    0
 tests/{ => tcg}/xtensa/test_quo.S                 |    0
 tests/{ => tcg}/xtensa/test_rem.S                 |    0
 tests/{ => tcg}/xtensa/test_rst0.S                |    0
 tests/{ => tcg}/xtensa/test_sar.S                 |    0
 tests/{ => tcg}/xtensa/test_sext.S                |    0
 tests/{ => tcg}/xtensa/test_shift.S               |    0
 tests/{ => tcg}/xtensa/test_timer.S               |    0
 tests/{ => tcg}/xtensa/test_windowed.S            |    0
 tests/{ => tcg}/xtensa/vectors.S                  |    0
 227 files changed, 5 insertions(+), 5 deletions(-)
 rename tests/{ => tcg}/Makefile (100%)
 rename tests/{ => tcg}/alpha/Makefile (100%)
 rename tests/{ => tcg}/alpha/crt.s (100%)
 rename tests/{ => tcg}/alpha/hello-alpha.c (100%)
 rename tests/{ => tcg}/alpha/test-cond.c (100%)
 rename tests/{ => tcg}/alpha/test-ovf.c (100%)
 rename tests/{ => tcg}/cris/.gdbinit (100%)
 rename tests/{ => tcg}/cris/Makefile (100%)
 rename tests/{ => tcg}/cris/README (100%)
 rename tests/{ => tcg}/cris/check_abs.c (100%)
 rename tests/{ => tcg}/cris/check_addc.c (100%)
 rename tests/{ => tcg}/cris/check_addcm.c (100%)
 rename tests/{ => tcg}/cris/check_addi.s (100%)
 rename tests/{ => tcg}/cris/check_addiv32.s (100%)
 rename tests/{ => tcg}/cris/check_addm.s (100%)
 rename tests/{ => tcg}/cris/check_addo.c (100%)
 rename tests/{ => tcg}/cris/check_addoq.c (100%)
 rename tests/{ => tcg}/cris/check_addq.s (100%)
 rename tests/{ => tcg}/cris/check_addr.s (100%)
 rename tests/{ => tcg}/cris/check_addxc.s (100%)
 rename tests/{ => tcg}/cris/check_addxm.s (100%)
 rename tests/{ => tcg}/cris/check_addxr.s (100%)
 rename tests/{ => tcg}/cris/check_andc.s (100%)
 rename tests/{ => tcg}/cris/check_andm.s (100%)
 rename tests/{ => tcg}/cris/check_andq.s (100%)
 rename tests/{ => tcg}/cris/check_andr.s (100%)
 rename tests/{ => tcg}/cris/check_asr.s (100%)
 rename tests/{ => tcg}/cris/check_ba.s (100%)
 rename tests/{ => tcg}/cris/check_bas.s (100%)
 rename tests/{ => tcg}/cris/check_bcc.s (100%)
 rename tests/{ => tcg}/cris/check_bound.c (100%)
 rename tests/{ => tcg}/cris/check_boundc.s (100%)
 rename tests/{ => tcg}/cris/check_boundr.s (100%)
 rename tests/{ => tcg}/cris/check_btst.s (100%)
 rename tests/{ => tcg}/cris/check_clearfv32.s (100%)
 rename tests/{ => tcg}/cris/check_clrjmp1.s (100%)
 rename tests/{ => tcg}/cris/check_cmp-2.s (100%)
 rename tests/{ => tcg}/cris/check_cmpc.s (100%)
 rename tests/{ => tcg}/cris/check_cmpm.s (100%)
 rename tests/{ => tcg}/cris/check_cmpq.s (100%)
 rename tests/{ => tcg}/cris/check_cmpr.s (100%)
 rename tests/{ => tcg}/cris/check_cmpxc.s (100%)
 rename tests/{ => tcg}/cris/check_cmpxm.s (100%)
 rename tests/{ => tcg}/cris/check_dstep.s (100%)
 rename tests/{ => tcg}/cris/check_ftag.c (100%)
 rename tests/{ => tcg}/cris/check_gcctorture_pr28634-1.c (100%)
 rename tests/{ => tcg}/cris/check_gcctorture_pr28634.c (100%)
 rename tests/{ => tcg}/cris/check_glibc_kernelversion.c (100%)
 rename tests/{ => tcg}/cris/check_hello.c (100%)
 rename tests/{ => tcg}/cris/check_int64.c (100%)
 rename tests/{ => tcg}/cris/check_jsr.s (100%)
 rename tests/{ => tcg}/cris/check_lapc.s (100%)
 rename tests/{ => tcg}/cris/check_lsl.s (100%)
 rename tests/{ => tcg}/cris/check_lsr.s (100%)
 rename tests/{ => tcg}/cris/check_lz.c (100%)
 rename tests/{ => tcg}/cris/check_mapbrk.c (100%)
 rename tests/{ => tcg}/cris/check_mcp.s (100%)
 rename tests/{ => tcg}/cris/check_mmap1.c (100%)
 rename tests/{ => tcg}/cris/check_mmap2.c (100%)
 rename tests/{ => tcg}/cris/check_mmap3.c (100%)
 rename tests/{ => tcg}/cris/check_movdelsr1.s (100%)
 rename tests/{ => tcg}/cris/check_movecr.s (100%)
 rename tests/{ => tcg}/cris/check_movei.s (100%)
 rename tests/{ => tcg}/cris/check_movemr.s (100%)
 rename tests/{ => tcg}/cris/check_movemrv32.s (100%)
 rename tests/{ => tcg}/cris/check_moveq.c (100%)
 rename tests/{ => tcg}/cris/check_mover.s (100%)
 rename tests/{ => tcg}/cris/check_moverm.s (100%)
 rename tests/{ => tcg}/cris/check_movmp.s (100%)
 rename tests/{ => tcg}/cris/check_movpmv32.s (100%)
 rename tests/{ => tcg}/cris/check_movpr.s (100%)
 rename tests/{ => tcg}/cris/check_movprv32.s (100%)
 rename tests/{ => tcg}/cris/check_movscr.s (100%)
 rename tests/{ => tcg}/cris/check_movsm.s (100%)
 rename tests/{ => tcg}/cris/check_movsr.s (100%)
 rename tests/{ => tcg}/cris/check_movucr.s (100%)
 rename tests/{ => tcg}/cris/check_movum.s (100%)
 rename tests/{ => tcg}/cris/check_movur.s (100%)
 rename tests/{ => tcg}/cris/check_mulv32.s (100%)
 rename tests/{ => tcg}/cris/check_mulx.s (100%)
 rename tests/{ => tcg}/cris/check_neg.s (100%)
 rename tests/{ => tcg}/cris/check_not.s (100%)
 rename tests/{ => tcg}/cris/check_openpf1.c (100%)
 rename tests/{ => tcg}/cris/check_openpf2.c (100%)
 rename tests/{ => tcg}/cris/check_openpf3.c (100%)
 rename tests/{ => tcg}/cris/check_openpf4.c (100%)
 rename tests/{ => tcg}/cris/check_openpf5.c (100%)
 rename tests/{ => tcg}/cris/check_orc.s (100%)
 rename tests/{ => tcg}/cris/check_orm.s (100%)
 rename tests/{ => tcg}/cris/check_orq.s (100%)
 rename tests/{ => tcg}/cris/check_orr.s (100%)
 rename tests/{ => tcg}/cris/check_ret.s (100%)
 rename tests/{ => tcg}/cris/check_scc.s (100%)
 rename tests/{ => tcg}/cris/check_settls1.c (100%)
 rename tests/{ => tcg}/cris/check_sigalrm.c (100%)
 rename tests/{ => tcg}/cris/check_stat1.c (100%)
 rename tests/{ => tcg}/cris/check_stat2.c (100%)
 rename tests/{ => tcg}/cris/check_stat3.c (100%)
 rename tests/{ => tcg}/cris/check_stat4.c (100%)
 rename tests/{ => tcg}/cris/check_subc.s (100%)
 rename tests/{ => tcg}/cris/check_subm.s (100%)
 rename tests/{ => tcg}/cris/check_subq.s (100%)
 rename tests/{ => tcg}/cris/check_subr.s (100%)
 rename tests/{ => tcg}/cris/check_swap.c (100%)
 rename tests/{ => tcg}/cris/check_time1.c (100%)
 rename tests/{ => tcg}/cris/check_time2.c (100%)
 rename tests/{ => tcg}/cris/check_xarith.s (100%)
 rename tests/{ => tcg}/cris/crisutils.h (100%)
 rename tests/{ => tcg}/cris/crt.s (100%)
 rename tests/{ => tcg}/cris/sys.c (100%)
 rename tests/{ => tcg}/cris/sys.h (100%)
 rename tests/{ => tcg}/cris/testutils.inc (100%)
 rename tests/{ => tcg}/hello-arm.c (100%)
 rename tests/{ => tcg}/hello-i386.c (100%)
 rename tests/{ => tcg}/hello-mips.c (100%)
 rename tests/{ => tcg}/linux-test.c (100%)
 rename tests/{ => tcg}/lm32/Makefile (100%)
 rename tests/{ => tcg}/lm32/crt.S (100%)
 rename tests/{ => tcg}/lm32/linker.ld (100%)
 rename tests/{ => tcg}/lm32/macros.inc (100%)
 rename tests/{ => tcg}/lm32/test_add.S (100%)
 rename tests/{ => tcg}/lm32/test_addi.S (100%)
 rename tests/{ => tcg}/lm32/test_and.S (100%)
 rename tests/{ => tcg}/lm32/test_andhi.S (100%)
 rename tests/{ => tcg}/lm32/test_andi.S (100%)
 rename tests/{ => tcg}/lm32/test_b.S (100%)
 rename tests/{ => tcg}/lm32/test_be.S (100%)
 rename tests/{ => tcg}/lm32/test_bg.S (100%)
 rename tests/{ => tcg}/lm32/test_bge.S (100%)
 rename tests/{ => tcg}/lm32/test_bgeu.S (100%)
 rename tests/{ => tcg}/lm32/test_bgu.S (100%)
 rename tests/{ => tcg}/lm32/test_bi.S (100%)
 rename tests/{ => tcg}/lm32/test_bne.S (100%)
 rename tests/{ => tcg}/lm32/test_break.S (100%)
 rename tests/{ => tcg}/lm32/test_bret.S (100%)
 rename tests/{ => tcg}/lm32/test_call.S (100%)
 rename tests/{ => tcg}/lm32/test_calli.S (100%)
 rename tests/{ => tcg}/lm32/test_cmpe.S (100%)
 rename tests/{ => tcg}/lm32/test_cmpei.S (100%)
 rename tests/{ => tcg}/lm32/test_cmpg.S (100%)
 rename tests/{ => tcg}/lm32/test_cmpge.S (100%)
 rename tests/{ => tcg}/lm32/test_cmpgei.S (100%)
 rename tests/{ => tcg}/lm32/test_cmpgeu.S (100%)
 rename tests/{ => tcg}/lm32/test_cmpgeui.S (100%)
 rename tests/{ => tcg}/lm32/test_cmpgi.S (100%)
 rename tests/{ => tcg}/lm32/test_cmpgu.S (100%)
 rename tests/{ => tcg}/lm32/test_cmpgui.S (100%)
 rename tests/{ => tcg}/lm32/test_cmpne.S (100%)
 rename tests/{ => tcg}/lm32/test_cmpnei.S (100%)
 rename tests/{ => tcg}/lm32/test_divu.S (100%)
 rename tests/{ => tcg}/lm32/test_eret.S (100%)
 rename tests/{ => tcg}/lm32/test_lb.S (100%)
 rename tests/{ => tcg}/lm32/test_lbu.S (100%)
 rename tests/{ => tcg}/lm32/test_lh.S (100%)
 rename tests/{ => tcg}/lm32/test_lhu.S (100%)
 rename tests/{ => tcg}/lm32/test_lw.S (100%)
 rename tests/{ => tcg}/lm32/test_modu.S (100%)
 rename tests/{ => tcg}/lm32/test_mul.S (100%)
 rename tests/{ => tcg}/lm32/test_muli.S (100%)
 rename tests/{ => tcg}/lm32/test_nor.S (100%)
 rename tests/{ => tcg}/lm32/test_nori.S (100%)
 rename tests/{ => tcg}/lm32/test_or.S (100%)
 rename tests/{ => tcg}/lm32/test_orhi.S (100%)
 rename tests/{ => tcg}/lm32/test_ori.S (100%)
 rename tests/{ => tcg}/lm32/test_ret.S (100%)
 rename tests/{ => tcg}/lm32/test_sb.S (100%)
 rename tests/{ => tcg}/lm32/test_scall.S (100%)
 rename tests/{ => tcg}/lm32/test_sextb.S (100%)
 rename tests/{ => tcg}/lm32/test_sexth.S (100%)
 rename tests/{ => tcg}/lm32/test_sh.S (100%)
 rename tests/{ => tcg}/lm32/test_sl.S (100%)
 rename tests/{ => tcg}/lm32/test_sli.S (100%)
 rename tests/{ => tcg}/lm32/test_sr.S (100%)
 rename tests/{ => tcg}/lm32/test_sri.S (100%)
 rename tests/{ => tcg}/lm32/test_sru.S (100%)
 rename tests/{ => tcg}/lm32/test_srui.S (100%)
 rename tests/{ => tcg}/lm32/test_sub.S (100%)
 rename tests/{ => tcg}/lm32/test_sw.S (100%)
 rename tests/{ => tcg}/lm32/test_xnor.S (100%)
 rename tests/{ => tcg}/lm32/test_xnori.S (100%)
 rename tests/{ => tcg}/lm32/test_xor.S (100%)
 rename tests/{ => tcg}/lm32/test_xori.S (100%)
 rename tests/{ => tcg}/pi_10.com (100%)
 rename tests/{ => tcg}/runcom.c (100%)
 rename tests/{ => tcg}/sha1.c (100%)
 rename tests/{ => tcg}/test-arm-iwmmxt.s (100%)
 rename tests/{ => tcg}/test-i386-code16.S (100%)
 rename tests/{ => tcg}/test-i386-muldiv.h (100%)
 rename tests/{ => tcg}/test-i386-shift.h (100%)
 rename tests/{ => tcg}/test-i386-ssse3.c (100%)
 rename tests/{ => tcg}/test-i386-vm86.S (100%)
 rename tests/{ => tcg}/test-i386.c (100%)
 rename tests/{ => tcg}/test-i386.h (100%)
 rename tests/{ => tcg}/test-mmap.c (100%)
 rename tests/{ => tcg}/test_path.c (100%)
 rename tests/{ => tcg}/testthread.c (100%)
 rename tests/{ => tcg}/xtensa/Makefile (100%)
 rename tests/{ => tcg}/xtensa/crt.S (100%)
 rename tests/{ => tcg}/xtensa/linker.ld (100%)
 rename tests/{ => tcg}/xtensa/macros.inc (100%)
 rename tests/{ => tcg}/xtensa/test_b.S (100%)
 rename tests/{ => tcg}/xtensa/test_bi.S (100%)
 rename tests/{ => tcg}/xtensa/test_boolean.S (100%)
 rename tests/{ => tcg}/xtensa/test_bz.S (100%)
 rename tests/{ => tcg}/xtensa/test_clamps.S (100%)
 rename tests/{ => tcg}/xtensa/test_fail.S (100%)
 rename tests/{ => tcg}/xtensa/test_interrupt.S (100%)
 rename tests/{ => tcg}/xtensa/test_loop.S (100%)
 rename tests/{ => tcg}/xtensa/test_mac16.S (100%)
 rename tests/{ => tcg}/xtensa/test_max.S (100%)
 rename tests/{ => tcg}/xtensa/test_min.S (100%)
 rename tests/{ => tcg}/xtensa/test_mmu.S (100%)
 rename tests/{ => tcg}/xtensa/test_mul16.S (100%)
 rename tests/{ => tcg}/xtensa/test_mul32.S (100%)
 rename tests/{ => tcg}/xtensa/test_nsa.S (100%)
 rename tests/{ => tcg}/xtensa/test_pipeline.S (100%)
 rename tests/{ => tcg}/xtensa/test_quo.S (100%)
 rename tests/{ => tcg}/xtensa/test_rem.S (100%)
 rename tests/{ => tcg}/xtensa/test_rst0.S (100%)
 rename tests/{ => tcg}/xtensa/test_sar.S (100%)
 rename tests/{ => tcg}/xtensa/test_sext.S (100%)
 rename tests/{ => tcg}/xtensa/test_shift.S (100%)
 rename tests/{ => tcg}/xtensa/test_timer.S (100%)
 rename tests/{ => tcg}/xtensa/test_windowed.S (100%)
 rename tests/{ => tcg}/xtensa/vectors.S (100%)

diff --git a/tests/Makefile b/tests/tcg/Makefile
similarity index 100%
rename from tests/Makefile
rename to tests/tcg/Makefile
diff --git a/tests/alpha/Makefile b/tests/tcg/alpha/Makefile
similarity index 100%
rename from tests/alpha/Makefile
rename to tests/tcg/alpha/Makefile
diff --git a/tests/alpha/crt.s b/tests/tcg/alpha/crt.s
similarity index 100%
rename from tests/alpha/crt.s
rename to tests/tcg/alpha/crt.s
diff --git a/tests/alpha/hello-alpha.c b/tests/tcg/alpha/hello-alpha.c
similarity index 100%
rename from tests/alpha/hello-alpha.c
rename to tests/tcg/alpha/hello-alpha.c
diff --git a/tests/alpha/test-cond.c b/tests/tcg/alpha/test-cond.c
similarity index 100%
rename from tests/alpha/test-cond.c
rename to tests/tcg/alpha/test-cond.c
diff --git a/tests/alpha/test-ovf.c b/tests/tcg/alpha/test-ovf.c
similarity index 100%
rename from tests/alpha/test-ovf.c
rename to tests/tcg/alpha/test-ovf.c
diff --git a/tests/cris/.gdbinit b/tests/tcg/cris/.gdbinit
similarity index 100%
rename from tests/cris/.gdbinit
rename to tests/tcg/cris/.gdbinit
diff --git a/tests/cris/Makefile b/tests/tcg/cris/Makefile
similarity index 100%
rename from tests/cris/Makefile
rename to tests/tcg/cris/Makefile
diff --git a/tests/cris/README b/tests/tcg/cris/README
similarity index 100%
rename from tests/cris/README
rename to tests/tcg/cris/README
diff --git a/tests/cris/check_abs.c b/tests/tcg/cris/check_abs.c
similarity index 100%
rename from tests/cris/check_abs.c
rename to tests/tcg/cris/check_abs.c
diff --git a/tests/cris/check_addc.c b/tests/tcg/cris/check_addc.c
similarity index 100%
rename from tests/cris/check_addc.c
rename to tests/tcg/cris/check_addc.c
diff --git a/tests/cris/check_addcm.c b/tests/tcg/cris/check_addcm.c
similarity index 100%
rename from tests/cris/check_addcm.c
rename to tests/tcg/cris/check_addcm.c
diff --git a/tests/cris/check_addi.s b/tests/tcg/cris/check_addi.s
similarity index 100%
rename from tests/cris/check_addi.s
rename to tests/tcg/cris/check_addi.s
diff --git a/tests/cris/check_addiv32.s b/tests/tcg/cris/check_addiv32.s
similarity index 100%
rename from tests/cris/check_addiv32.s
rename to tests/tcg/cris/check_addiv32.s
diff --git a/tests/cris/check_addm.s b/tests/tcg/cris/check_addm.s
similarity index 100%
rename from tests/cris/check_addm.s
rename to tests/tcg/cris/check_addm.s
diff --git a/tests/cris/check_addo.c b/tests/tcg/cris/check_addo.c
similarity index 100%
rename from tests/cris/check_addo.c
rename to tests/tcg/cris/check_addo.c
diff --git a/tests/cris/check_addoq.c b/tests/tcg/cris/check_addoq.c
similarity index 100%
rename from tests/cris/check_addoq.c
rename to tests/tcg/cris/check_addoq.c
diff --git a/tests/cris/check_addq.s b/tests/tcg/cris/check_addq.s
similarity index 100%
rename from tests/cris/check_addq.s
rename to tests/tcg/cris/check_addq.s
diff --git a/tests/cris/check_addr.s b/tests/tcg/cris/check_addr.s
similarity index 100%
rename from tests/cris/check_addr.s
rename to tests/tcg/cris/check_addr.s
diff --git a/tests/cris/check_addxc.s b/tests/tcg/cris/check_addxc.s
similarity index 100%
rename from tests/cris/check_addxc.s
rename to tests/tcg/cris/check_addxc.s
diff --git a/tests/cris/check_addxm.s b/tests/tcg/cris/check_addxm.s
similarity index 100%
rename from tests/cris/check_addxm.s
rename to tests/tcg/cris/check_addxm.s
diff --git a/tests/cris/check_addxr.s b/tests/tcg/cris/check_addxr.s
similarity index 100%
rename from tests/cris/check_addxr.s
rename to tests/tcg/cris/check_addxr.s
diff --git a/tests/cris/check_andc.s b/tests/tcg/cris/check_andc.s
similarity index 100%
rename from tests/cris/check_andc.s
rename to tests/tcg/cris/check_andc.s
diff --git a/tests/cris/check_andm.s b/tests/tcg/cris/check_andm.s
similarity index 100%
rename from tests/cris/check_andm.s
rename to tests/tcg/cris/check_andm.s
diff --git a/tests/cris/check_andq.s b/tests/tcg/cris/check_andq.s
similarity index 100%
rename from tests/cris/check_andq.s
rename to tests/tcg/cris/check_andq.s
diff --git a/tests/cris/check_andr.s b/tests/tcg/cris/check_andr.s
similarity index 100%
rename from tests/cris/check_andr.s
rename to tests/tcg/cris/check_andr.s
diff --git a/tests/cris/check_asr.s b/tests/tcg/cris/check_asr.s
similarity index 100%
rename from tests/cris/check_asr.s
rename to tests/tcg/cris/check_asr.s
diff --git a/tests/cris/check_ba.s b/tests/tcg/cris/check_ba.s
similarity index 100%
rename from tests/cris/check_ba.s
rename to tests/tcg/cris/check_ba.s
diff --git a/tests/cris/check_bas.s b/tests/tcg/cris/check_bas.s
similarity index 100%
rename from tests/cris/check_bas.s
rename to tests/tcg/cris/check_bas.s
diff --git a/tests/cris/check_bcc.s b/tests/tcg/cris/check_bcc.s
similarity index 100%
rename from tests/cris/check_bcc.s
rename to tests/tcg/cris/check_bcc.s
diff --git a/tests/cris/check_bound.c b/tests/tcg/cris/check_bound.c
similarity index 100%
rename from tests/cris/check_bound.c
rename to tests/tcg/cris/check_bound.c
diff --git a/tests/cris/check_boundc.s b/tests/tcg/cris/check_boundc.s
similarity index 100%
rename from tests/cris/check_boundc.s
rename to tests/tcg/cris/check_boundc.s
diff --git a/tests/cris/check_boundr.s b/tests/tcg/cris/check_boundr.s
similarity index 100%
rename from tests/cris/check_boundr.s
rename to tests/tcg/cris/check_boundr.s
diff --git a/tests/cris/check_btst.s b/tests/tcg/cris/check_btst.s
similarity index 100%
rename from tests/cris/check_btst.s
rename to tests/tcg/cris/check_btst.s
diff --git a/tests/cris/check_clearfv32.s b/tests/tcg/cris/check_clearfv32.s
similarity index 100%
rename from tests/cris/check_clearfv32.s
rename to tests/tcg/cris/check_clearfv32.s
diff --git a/tests/cris/check_clrjmp1.s b/tests/tcg/cris/check_clrjmp1.s
similarity index 100%
rename from tests/cris/check_clrjmp1.s
rename to tests/tcg/cris/check_clrjmp1.s
diff --git a/tests/cris/check_cmp-2.s b/tests/tcg/cris/check_cmp-2.s
similarity index 100%
rename from tests/cris/check_cmp-2.s
rename to tests/tcg/cris/check_cmp-2.s
diff --git a/tests/cris/check_cmpc.s b/tests/tcg/cris/check_cmpc.s
similarity index 100%
rename from tests/cris/check_cmpc.s
rename to tests/tcg/cris/check_cmpc.s
diff --git a/tests/cris/check_cmpm.s b/tests/tcg/cris/check_cmpm.s
similarity index 100%
rename from tests/cris/check_cmpm.s
rename to tests/tcg/cris/check_cmpm.s
diff --git a/tests/cris/check_cmpq.s b/tests/tcg/cris/check_cmpq.s
similarity index 100%
rename from tests/cris/check_cmpq.s
rename to tests/tcg/cris/check_cmpq.s
diff --git a/tests/cris/check_cmpr.s b/tests/tcg/cris/check_cmpr.s
similarity index 100%
rename from tests/cris/check_cmpr.s
rename to tests/tcg/cris/check_cmpr.s
diff --git a/tests/cris/check_cmpxc.s b/tests/tcg/cris/check_cmpxc.s
similarity index 100%
rename from tests/cris/check_cmpxc.s
rename to tests/tcg/cris/check_cmpxc.s
diff --git a/tests/cris/check_cmpxm.s b/tests/tcg/cris/check_cmpxm.s
similarity index 100%
rename from tests/cris/check_cmpxm.s
rename to tests/tcg/cris/check_cmpxm.s
diff --git a/tests/cris/check_dstep.s b/tests/tcg/cris/check_dstep.s
similarity index 100%
rename from tests/cris/check_dstep.s
rename to tests/tcg/cris/check_dstep.s
diff --git a/tests/cris/check_ftag.c b/tests/tcg/cris/check_ftag.c
similarity index 100%
rename from tests/cris/check_ftag.c
rename to tests/tcg/cris/check_ftag.c
diff --git a/tests/cris/check_gcctorture_pr28634-1.c b/tests/tcg/cris/check_gcctorture_pr28634-1.c
similarity index 100%
rename from tests/cris/check_gcctorture_pr28634-1.c
rename to tests/tcg/cris/check_gcctorture_pr28634-1.c
diff --git a/tests/cris/check_gcctorture_pr28634.c b/tests/tcg/cris/check_gcctorture_pr28634.c
similarity index 100%
rename from tests/cris/check_gcctorture_pr28634.c
rename to tests/tcg/cris/check_gcctorture_pr28634.c
diff --git a/tests/cris/check_glibc_kernelversion.c b/tests/tcg/cris/check_glibc_kernelversion.c
similarity index 100%
rename from tests/cris/check_glibc_kernelversion.c
rename to tests/tcg/cris/check_glibc_kernelversion.c
diff --git a/tests/cris/check_hello.c b/tests/tcg/cris/check_hello.c
similarity index 100%
rename from tests/cris/check_hello.c
rename to tests/tcg/cris/check_hello.c
diff --git a/tests/cris/check_int64.c b/tests/tcg/cris/check_int64.c
similarity index 100%
rename from tests/cris/check_int64.c
rename to tests/tcg/cris/check_int64.c
diff --git a/tests/cris/check_jsr.s b/tests/tcg/cris/check_jsr.s
similarity index 100%
rename from tests/cris/check_jsr.s
rename to tests/tcg/cris/check_jsr.s
diff --git a/tests/cris/check_lapc.s b/tests/tcg/cris/check_lapc.s
similarity index 100%
rename from tests/cris/check_lapc.s
rename to tests/tcg/cris/check_lapc.s
diff --git a/tests/cris/check_lsl.s b/tests/tcg/cris/check_lsl.s
similarity index 100%
rename from tests/cris/check_lsl.s
rename to tests/tcg/cris/check_lsl.s
diff --git a/tests/cris/check_lsr.s b/tests/tcg/cris/check_lsr.s
similarity index 100%
rename from tests/cris/check_lsr.s
rename to tests/tcg/cris/check_lsr.s
diff --git a/tests/cris/check_lz.c b/tests/tcg/cris/check_lz.c
similarity index 100%
rename from tests/cris/check_lz.c
rename to tests/tcg/cris/check_lz.c
diff --git a/tests/cris/check_mapbrk.c b/tests/tcg/cris/check_mapbrk.c
similarity index 100%
rename from tests/cris/check_mapbrk.c
rename to tests/tcg/cris/check_mapbrk.c
diff --git a/tests/cris/check_mcp.s b/tests/tcg/cris/check_mcp.s
similarity index 100%
rename from tests/cris/check_mcp.s
rename to tests/tcg/cris/check_mcp.s
diff --git a/tests/cris/check_mmap1.c b/tests/tcg/cris/check_mmap1.c
similarity index 100%
rename from tests/cris/check_mmap1.c
rename to tests/tcg/cris/check_mmap1.c
diff --git a/tests/cris/check_mmap2.c b/tests/tcg/cris/check_mmap2.c
similarity index 100%
rename from tests/cris/check_mmap2.c
rename to tests/tcg/cris/check_mmap2.c
diff --git a/tests/cris/check_mmap3.c b/tests/tcg/cris/check_mmap3.c
similarity index 100%
rename from tests/cris/check_mmap3.c
rename to tests/tcg/cris/check_mmap3.c
diff --git a/tests/cris/check_movdelsr1.s b/tests/tcg/cris/check_movdelsr1.s
similarity index 100%
rename from tests/cris/check_movdelsr1.s
rename to tests/tcg/cris/check_movdelsr1.s
diff --git a/tests/cris/check_movecr.s b/tests/tcg/cris/check_movecr.s
similarity index 100%
rename from tests/cris/check_movecr.s
rename to tests/tcg/cris/check_movecr.s
diff --git a/tests/cris/check_movei.s b/tests/tcg/cris/check_movei.s
similarity index 100%
rename from tests/cris/check_movei.s
rename to tests/tcg/cris/check_movei.s
diff --git a/tests/cris/check_movemr.s b/tests/tcg/cris/check_movemr.s
similarity index 100%
rename from tests/cris/check_movemr.s
rename to tests/tcg/cris/check_movemr.s
diff --git a/tests/cris/check_movemrv32.s b/tests/tcg/cris/check_movemrv32.s
similarity index 100%
rename from tests/cris/check_movemrv32.s
rename to tests/tcg/cris/check_movemrv32.s
diff --git a/tests/cris/check_moveq.c b/tests/tcg/cris/check_moveq.c
similarity index 100%
rename from tests/cris/check_moveq.c
rename to tests/tcg/cris/check_moveq.c
diff --git a/tests/cris/check_mover.s b/tests/tcg/cris/check_mover.s
similarity index 100%
rename from tests/cris/check_mover.s
rename to tests/tcg/cris/check_mover.s
diff --git a/tests/cris/check_moverm.s b/tests/tcg/cris/check_moverm.s
similarity index 100%
rename from tests/cris/check_moverm.s
rename to tests/tcg/cris/check_moverm.s
diff --git a/tests/cris/check_movmp.s b/tests/tcg/cris/check_movmp.s
similarity index 100%
rename from tests/cris/check_movmp.s
rename to tests/tcg/cris/check_movmp.s
diff --git a/tests/cris/check_movpmv32.s b/tests/tcg/cris/check_movpmv32.s
similarity index 100%
rename from tests/cris/check_movpmv32.s
rename to tests/tcg/cris/check_movpmv32.s
diff --git a/tests/cris/check_movpr.s b/tests/tcg/cris/check_movpr.s
similarity index 100%
rename from tests/cris/check_movpr.s
rename to tests/tcg/cris/check_movpr.s
diff --git a/tests/cris/check_movprv32.s b/tests/tcg/cris/check_movprv32.s
similarity index 100%
rename from tests/cris/check_movprv32.s
rename to tests/tcg/cris/check_movprv32.s
diff --git a/tests/cris/check_movscr.s b/tests/tcg/cris/check_movscr.s
similarity index 100%
rename from tests/cris/check_movscr.s
rename to tests/tcg/cris/check_movscr.s
diff --git a/tests/cris/check_movsm.s b/tests/tcg/cris/check_movsm.s
similarity index 100%
rename from tests/cris/check_movsm.s
rename to tests/tcg/cris/check_movsm.s
diff --git a/tests/cris/check_movsr.s b/tests/tcg/cris/check_movsr.s
similarity index 100%
rename from tests/cris/check_movsr.s
rename to tests/tcg/cris/check_movsr.s
diff --git a/tests/cris/check_movucr.s b/tests/tcg/cris/check_movucr.s
similarity index 100%
rename from tests/cris/check_movucr.s
rename to tests/tcg/cris/check_movucr.s
diff --git a/tests/cris/check_movum.s b/tests/tcg/cris/check_movum.s
similarity index 100%
rename from tests/cris/check_movum.s
rename to tests/tcg/cris/check_movum.s
diff --git a/tests/cris/check_movur.s b/tests/tcg/cris/check_movur.s
similarity index 100%
rename from tests/cris/check_movur.s
rename to tests/tcg/cris/check_movur.s
diff --git a/tests/cris/check_mulv32.s b/tests/tcg/cris/check_mulv32.s
similarity index 100%
rename from tests/cris/check_mulv32.s
rename to tests/tcg/cris/check_mulv32.s
diff --git a/tests/cris/check_mulx.s b/tests/tcg/cris/check_mulx.s
similarity index 100%
rename from tests/cris/check_mulx.s
rename to tests/tcg/cris/check_mulx.s
diff --git a/tests/cris/check_neg.s b/tests/tcg/cris/check_neg.s
similarity index 100%
rename from tests/cris/check_neg.s
rename to tests/tcg/cris/check_neg.s
diff --git a/tests/cris/check_not.s b/tests/tcg/cris/check_not.s
similarity index 100%
rename from tests/cris/check_not.s
rename to tests/tcg/cris/check_not.s
diff --git a/tests/cris/check_openpf1.c b/tests/tcg/cris/check_openpf1.c
similarity index 100%
rename from tests/cris/check_openpf1.c
rename to tests/tcg/cris/check_openpf1.c
diff --git a/tests/cris/check_openpf2.c b/tests/tcg/cris/check_openpf2.c
similarity index 100%
rename from tests/cris/check_openpf2.c
rename to tests/tcg/cris/check_openpf2.c
diff --git a/tests/cris/check_openpf3.c b/tests/tcg/cris/check_openpf3.c
similarity index 100%
rename from tests/cris/check_openpf3.c
rename to tests/tcg/cris/check_openpf3.c
diff --git a/tests/cris/check_openpf4.c b/tests/tcg/cris/check_openpf4.c
similarity index 100%
rename from tests/cris/check_openpf4.c
rename to tests/tcg/cris/check_openpf4.c
diff --git a/tests/cris/check_openpf5.c b/tests/tcg/cris/check_openpf5.c
similarity index 100%
rename from tests/cris/check_openpf5.c
rename to tests/tcg/cris/check_openpf5.c
diff --git a/tests/cris/check_orc.s b/tests/tcg/cris/check_orc.s
similarity index 100%
rename from tests/cris/check_orc.s
rename to tests/tcg/cris/check_orc.s
diff --git a/tests/cris/check_orm.s b/tests/tcg/cris/check_orm.s
similarity index 100%
rename from tests/cris/check_orm.s
rename to tests/tcg/cris/check_orm.s
diff --git a/tests/cris/check_orq.s b/tests/tcg/cris/check_orq.s
similarity index 100%
rename from tests/cris/check_orq.s
rename to tests/tcg/cris/check_orq.s
diff --git a/tests/cris/check_orr.s b/tests/tcg/cris/check_orr.s
similarity index 100%
rename from tests/cris/check_orr.s
rename to tests/tcg/cris/check_orr.s
diff --git a/tests/cris/check_ret.s b/tests/tcg/cris/check_ret.s
similarity index 100%
rename from tests/cris/check_ret.s
rename to tests/tcg/cris/check_ret.s
diff --git a/tests/cris/check_scc.s b/tests/tcg/cris/check_scc.s
similarity index 100%
rename from tests/cris/check_scc.s
rename to tests/tcg/cris/check_scc.s
diff --git a/tests/cris/check_settls1.c b/tests/tcg/cris/check_settls1.c
similarity index 100%
rename from tests/cris/check_settls1.c
rename to tests/tcg/cris/check_settls1.c
diff --git a/tests/cris/check_sigalrm.c b/tests/tcg/cris/check_sigalrm.c
similarity index 100%
rename from tests/cris/check_sigalrm.c
rename to tests/tcg/cris/check_sigalrm.c
diff --git a/tests/cris/check_stat1.c b/tests/tcg/cris/check_stat1.c
similarity index 100%
rename from tests/cris/check_stat1.c
rename to tests/tcg/cris/check_stat1.c
diff --git a/tests/cris/check_stat2.c b/tests/tcg/cris/check_stat2.c
similarity index 100%
rename from tests/cris/check_stat2.c
rename to tests/tcg/cris/check_stat2.c
diff --git a/tests/cris/check_stat3.c b/tests/tcg/cris/check_stat3.c
similarity index 100%
rename from tests/cris/check_stat3.c
rename to tests/tcg/cris/check_stat3.c
diff --git a/tests/cris/check_stat4.c b/tests/tcg/cris/check_stat4.c
similarity index 100%
rename from tests/cris/check_stat4.c
rename to tests/tcg/cris/check_stat4.c
diff --git a/tests/cris/check_subc.s b/tests/tcg/cris/check_subc.s
similarity index 100%
rename from tests/cris/check_subc.s
rename to tests/tcg/cris/check_subc.s
diff --git a/tests/cris/check_subm.s b/tests/tcg/cris/check_subm.s
similarity index 100%
rename from tests/cris/check_subm.s
rename to tests/tcg/cris/check_subm.s
diff --git a/tests/cris/check_subq.s b/tests/tcg/cris/check_subq.s
similarity index 100%
rename from tests/cris/check_subq.s
rename to tests/tcg/cris/check_subq.s
diff --git a/tests/cris/check_subr.s b/tests/tcg/cris/check_subr.s
similarity index 100%
rename from tests/cris/check_subr.s
rename to tests/tcg/cris/check_subr.s
diff --git a/tests/cris/check_swap.c b/tests/tcg/cris/check_swap.c
similarity index 100%
rename from tests/cris/check_swap.c
rename to tests/tcg/cris/check_swap.c
diff --git a/tests/cris/check_time1.c b/tests/tcg/cris/check_time1.c
similarity index 100%
rename from tests/cris/check_time1.c
rename to tests/tcg/cris/check_time1.c
diff --git a/tests/cris/check_time2.c b/tests/tcg/cris/check_time2.c
similarity index 100%
rename from tests/cris/check_time2.c
rename to tests/tcg/cris/check_time2.c
diff --git a/tests/cris/check_xarith.s b/tests/tcg/cris/check_xarith.s
similarity index 100%
rename from tests/cris/check_xarith.s
rename to tests/tcg/cris/check_xarith.s
diff --git a/tests/cris/crisutils.h b/tests/tcg/cris/crisutils.h
similarity index 100%
rename from tests/cris/crisutils.h
rename to tests/tcg/cris/crisutils.h
diff --git a/tests/cris/crt.s b/tests/tcg/cris/crt.s
similarity index 100%
rename from tests/cris/crt.s
rename to tests/tcg/cris/crt.s
diff --git a/tests/cris/sys.c b/tests/tcg/cris/sys.c
similarity index 100%
rename from tests/cris/sys.c
rename to tests/tcg/cris/sys.c
diff --git a/tests/cris/sys.h b/tests/tcg/cris/sys.h
similarity index 100%
rename from tests/cris/sys.h
rename to tests/tcg/cris/sys.h
diff --git a/tests/cris/testutils.inc b/tests/tcg/cris/testutils.inc
similarity index 100%
rename from tests/cris/testutils.inc
rename to tests/tcg/cris/testutils.inc
diff --git a/tests/hello-arm.c b/tests/tcg/hello-arm.c
similarity index 100%
rename from tests/hello-arm.c
rename to tests/tcg/hello-arm.c
diff --git a/tests/hello-i386.c b/tests/tcg/hello-i386.c
similarity index 100%
rename from tests/hello-i386.c
rename to tests/tcg/hello-i386.c
diff --git a/tests/hello-mips.c b/tests/tcg/hello-mips.c
similarity index 100%
rename from tests/hello-mips.c
rename to tests/tcg/hello-mips.c
diff --git a/tests/linux-test.c b/tests/tcg/linux-test.c
similarity index 100%
rename from tests/linux-test.c
rename to tests/tcg/linux-test.c
diff --git a/tests/lm32/Makefile b/tests/tcg/lm32/Makefile
similarity index 100%
rename from tests/lm32/Makefile
rename to tests/tcg/lm32/Makefile
diff --git a/tests/lm32/crt.S b/tests/tcg/lm32/crt.S
similarity index 100%
rename from tests/lm32/crt.S
rename to tests/tcg/lm32/crt.S
diff --git a/tests/lm32/linker.ld b/tests/tcg/lm32/linker.ld
similarity index 100%
rename from tests/lm32/linker.ld
rename to tests/tcg/lm32/linker.ld
diff --git a/tests/lm32/macros.inc b/tests/tcg/lm32/macros.inc
similarity index 100%
rename from tests/lm32/macros.inc
rename to tests/tcg/lm32/macros.inc
diff --git a/tests/lm32/test_add.S b/tests/tcg/lm32/test_add.S
similarity index 100%
rename from tests/lm32/test_add.S
rename to tests/tcg/lm32/test_add.S
diff --git a/tests/lm32/test_addi.S b/tests/tcg/lm32/test_addi.S
similarity index 100%
rename from tests/lm32/test_addi.S
rename to tests/tcg/lm32/test_addi.S
diff --git a/tests/lm32/test_and.S b/tests/tcg/lm32/test_and.S
similarity index 100%
rename from tests/lm32/test_and.S
rename to tests/tcg/lm32/test_and.S
diff --git a/tests/lm32/test_andhi.S b/tests/tcg/lm32/test_andhi.S
similarity index 100%
rename from tests/lm32/test_andhi.S
rename to tests/tcg/lm32/test_andhi.S
diff --git a/tests/lm32/test_andi.S b/tests/tcg/lm32/test_andi.S
similarity index 100%
rename from tests/lm32/test_andi.S
rename to tests/tcg/lm32/test_andi.S
diff --git a/tests/lm32/test_b.S b/tests/tcg/lm32/test_b.S
similarity index 100%
rename from tests/lm32/test_b.S
rename to tests/tcg/lm32/test_b.S
diff --git a/tests/lm32/test_be.S b/tests/tcg/lm32/test_be.S
similarity index 100%
rename from tests/lm32/test_be.S
rename to tests/tcg/lm32/test_be.S
diff --git a/tests/lm32/test_bg.S b/tests/tcg/lm32/test_bg.S
similarity index 100%
rename from tests/lm32/test_bg.S
rename to tests/tcg/lm32/test_bg.S
diff --git a/tests/lm32/test_bge.S b/tests/tcg/lm32/test_bge.S
similarity index 100%
rename from tests/lm32/test_bge.S
rename to tests/tcg/lm32/test_bge.S
diff --git a/tests/lm32/test_bgeu.S b/tests/tcg/lm32/test_bgeu.S
similarity index 100%
rename from tests/lm32/test_bgeu.S
rename to tests/tcg/lm32/test_bgeu.S
diff --git a/tests/lm32/test_bgu.S b/tests/tcg/lm32/test_bgu.S
similarity index 100%
rename from tests/lm32/test_bgu.S
rename to tests/tcg/lm32/test_bgu.S
diff --git a/tests/lm32/test_bi.S b/tests/tcg/lm32/test_bi.S
similarity index 100%
rename from tests/lm32/test_bi.S
rename to tests/tcg/lm32/test_bi.S
diff --git a/tests/lm32/test_bne.S b/tests/tcg/lm32/test_bne.S
similarity index 100%
rename from tests/lm32/test_bne.S
rename to tests/tcg/lm32/test_bne.S
diff --git a/tests/lm32/test_break.S b/tests/tcg/lm32/test_break.S
similarity index 100%
rename from tests/lm32/test_break.S
rename to tests/tcg/lm32/test_break.S
diff --git a/tests/lm32/test_bret.S b/tests/tcg/lm32/test_bret.S
similarity index 100%
rename from tests/lm32/test_bret.S
rename to tests/tcg/lm32/test_bret.S
diff --git a/tests/lm32/test_call.S b/tests/tcg/lm32/test_call.S
similarity index 100%
rename from tests/lm32/test_call.S
rename to tests/tcg/lm32/test_call.S
diff --git a/tests/lm32/test_calli.S b/tests/tcg/lm32/test_calli.S
similarity index 100%
rename from tests/lm32/test_calli.S
rename to tests/tcg/lm32/test_calli.S
diff --git a/tests/lm32/test_cmpe.S b/tests/tcg/lm32/test_cmpe.S
similarity index 100%
rename from tests/lm32/test_cmpe.S
rename to tests/tcg/lm32/test_cmpe.S
diff --git a/tests/lm32/test_cmpei.S b/tests/tcg/lm32/test_cmpei.S
similarity index 100%
rename from tests/lm32/test_cmpei.S
rename to tests/tcg/lm32/test_cmpei.S
diff --git a/tests/lm32/test_cmpg.S b/tests/tcg/lm32/test_cmpg.S
similarity index 100%
rename from tests/lm32/test_cmpg.S
rename to tests/tcg/lm32/test_cmpg.S
diff --git a/tests/lm32/test_cmpge.S b/tests/tcg/lm32/test_cmpge.S
similarity index 100%
rename from tests/lm32/test_cmpge.S
rename to tests/tcg/lm32/test_cmpge.S
diff --git a/tests/lm32/test_cmpgei.S b/tests/tcg/lm32/test_cmpgei.S
similarity index 100%
rename from tests/lm32/test_cmpgei.S
rename to tests/tcg/lm32/test_cmpgei.S
diff --git a/tests/lm32/test_cmpgeu.S b/tests/tcg/lm32/test_cmpgeu.S
similarity index 100%
rename from tests/lm32/test_cmpgeu.S
rename to tests/tcg/lm32/test_cmpgeu.S
diff --git a/tests/lm32/test_cmpgeui.S b/tests/tcg/lm32/test_cmpgeui.S
similarity index 100%
rename from tests/lm32/test_cmpgeui.S
rename to tests/tcg/lm32/test_cmpgeui.S
diff --git a/tests/lm32/test_cmpgi.S b/tests/tcg/lm32/test_cmpgi.S
similarity index 100%
rename from tests/lm32/test_cmpgi.S
rename to tests/tcg/lm32/test_cmpgi.S
diff --git a/tests/lm32/test_cmpgu.S b/tests/tcg/lm32/test_cmpgu.S
similarity index 100%
rename from tests/lm32/test_cmpgu.S
rename to tests/tcg/lm32/test_cmpgu.S
diff --git a/tests/lm32/test_cmpgui.S b/tests/tcg/lm32/test_cmpgui.S
similarity index 100%
rename from tests/lm32/test_cmpgui.S
rename to tests/tcg/lm32/test_cmpgui.S
diff --git a/tests/lm32/test_cmpne.S b/tests/tcg/lm32/test_cmpne.S
similarity index 100%
rename from tests/lm32/test_cmpne.S
rename to tests/tcg/lm32/test_cmpne.S
diff --git a/tests/lm32/test_cmpnei.S b/tests/tcg/lm32/test_cmpnei.S
similarity index 100%
rename from tests/lm32/test_cmpnei.S
rename to tests/tcg/lm32/test_cmpnei.S
diff --git a/tests/lm32/test_divu.S b/tests/tcg/lm32/test_divu.S
similarity index 100%
rename from tests/lm32/test_divu.S
rename to tests/tcg/lm32/test_divu.S
diff --git a/tests/lm32/test_eret.S b/tests/tcg/lm32/test_eret.S
similarity index 100%
rename from tests/lm32/test_eret.S
rename to tests/tcg/lm32/test_eret.S
diff --git a/tests/lm32/test_lb.S b/tests/tcg/lm32/test_lb.S
similarity index 100%
rename from tests/lm32/test_lb.S
rename to tests/tcg/lm32/test_lb.S
diff --git a/tests/lm32/test_lbu.S b/tests/tcg/lm32/test_lbu.S
similarity index 100%
rename from tests/lm32/test_lbu.S
rename to tests/tcg/lm32/test_lbu.S
diff --git a/tests/lm32/test_lh.S b/tests/tcg/lm32/test_lh.S
similarity index 100%
rename from tests/lm32/test_lh.S
rename to tests/tcg/lm32/test_lh.S
diff --git a/tests/lm32/test_lhu.S b/tests/tcg/lm32/test_lhu.S
similarity index 100%
rename from tests/lm32/test_lhu.S
rename to tests/tcg/lm32/test_lhu.S
diff --git a/tests/lm32/test_lw.S b/tests/tcg/lm32/test_lw.S
similarity index 100%
rename from tests/lm32/test_lw.S
rename to tests/tcg/lm32/test_lw.S
diff --git a/tests/lm32/test_modu.S b/tests/tcg/lm32/test_modu.S
similarity index 100%
rename from tests/lm32/test_modu.S
rename to tests/tcg/lm32/test_modu.S
diff --git a/tests/lm32/test_mul.S b/tests/tcg/lm32/test_mul.S
similarity index 100%
rename from tests/lm32/test_mul.S
rename to tests/tcg/lm32/test_mul.S
diff --git a/tests/lm32/test_muli.S b/tests/tcg/lm32/test_muli.S
similarity index 100%
rename from tests/lm32/test_muli.S
rename to tests/tcg/lm32/test_muli.S
diff --git a/tests/lm32/test_nor.S b/tests/tcg/lm32/test_nor.S
similarity index 100%
rename from tests/lm32/test_nor.S
rename to tests/tcg/lm32/test_nor.S
diff --git a/tests/lm32/test_nori.S b/tests/tcg/lm32/test_nori.S
similarity index 100%
rename from tests/lm32/test_nori.S
rename to tests/tcg/lm32/test_nori.S
diff --git a/tests/lm32/test_or.S b/tests/tcg/lm32/test_or.S
similarity index 100%
rename from tests/lm32/test_or.S
rename to tests/tcg/lm32/test_or.S
diff --git a/tests/lm32/test_orhi.S b/tests/tcg/lm32/test_orhi.S
similarity index 100%
rename from tests/lm32/test_orhi.S
rename to tests/tcg/lm32/test_orhi.S
diff --git a/tests/lm32/test_ori.S b/tests/tcg/lm32/test_ori.S
similarity index 100%
rename from tests/lm32/test_ori.S
rename to tests/tcg/lm32/test_ori.S
diff --git a/tests/lm32/test_ret.S b/tests/tcg/lm32/test_ret.S
similarity index 100%
rename from tests/lm32/test_ret.S
rename to tests/tcg/lm32/test_ret.S
diff --git a/tests/lm32/test_sb.S b/tests/tcg/lm32/test_sb.S
similarity index 100%
rename from tests/lm32/test_sb.S
rename to tests/tcg/lm32/test_sb.S
diff --git a/tests/lm32/test_scall.S b/tests/tcg/lm32/test_scall.S
similarity index 100%
rename from tests/lm32/test_scall.S
rename to tests/tcg/lm32/test_scall.S
diff --git a/tests/lm32/test_sextb.S b/tests/tcg/lm32/test_sextb.S
similarity index 100%
rename from tests/lm32/test_sextb.S
rename to tests/tcg/lm32/test_sextb.S
diff --git a/tests/lm32/test_sexth.S b/tests/tcg/lm32/test_sexth.S
similarity index 100%
rename from tests/lm32/test_sexth.S
rename to tests/tcg/lm32/test_sexth.S
diff --git a/tests/lm32/test_sh.S b/tests/tcg/lm32/test_sh.S
similarity index 100%
rename from tests/lm32/test_sh.S
rename to tests/tcg/lm32/test_sh.S
diff --git a/tests/lm32/test_sl.S b/tests/tcg/lm32/test_sl.S
similarity index 100%
rename from tests/lm32/test_sl.S
rename to tests/tcg/lm32/test_sl.S
diff --git a/tests/lm32/test_sli.S b/tests/tcg/lm32/test_sli.S
similarity index 100%
rename from tests/lm32/test_sli.S
rename to tests/tcg/lm32/test_sli.S
diff --git a/tests/lm32/test_sr.S b/tests/tcg/lm32/test_sr.S
similarity index 100%
rename from tests/lm32/test_sr.S
rename to tests/tcg/lm32/test_sr.S
diff --git a/tests/lm32/test_sri.S b/tests/tcg/lm32/test_sri.S
similarity index 100%
rename from tests/lm32/test_sri.S
rename to tests/tcg/lm32/test_sri.S
diff --git a/tests/lm32/test_sru.S b/tests/tcg/lm32/test_sru.S
similarity index 100%
rename from tests/lm32/test_sru.S
rename to tests/tcg/lm32/test_sru.S
diff --git a/tests/lm32/test_srui.S b/tests/tcg/lm32/test_srui.S
similarity index 100%
rename from tests/lm32/test_srui.S
rename to tests/tcg/lm32/test_srui.S
diff --git a/tests/lm32/test_sub.S b/tests/tcg/lm32/test_sub.S
similarity index 100%
rename from tests/lm32/test_sub.S
rename to tests/tcg/lm32/test_sub.S
diff --git a/tests/lm32/test_sw.S b/tests/tcg/lm32/test_sw.S
similarity index 100%
rename from tests/lm32/test_sw.S
rename to tests/tcg/lm32/test_sw.S
diff --git a/tests/lm32/test_xnor.S b/tests/tcg/lm32/test_xnor.S
similarity index 100%
rename from tests/lm32/test_xnor.S
rename to tests/tcg/lm32/test_xnor.S
diff --git a/tests/lm32/test_xnori.S b/tests/tcg/lm32/test_xnori.S
similarity index 100%
rename from tests/lm32/test_xnori.S
rename to tests/tcg/lm32/test_xnori.S
diff --git a/tests/lm32/test_xor.S b/tests/tcg/lm32/test_xor.S
similarity index 100%
rename from tests/lm32/test_xor.S
rename to tests/tcg/lm32/test_xor.S
diff --git a/tests/lm32/test_xori.S b/tests/tcg/lm32/test_xori.S
similarity index 100%
rename from tests/lm32/test_xori.S
rename to tests/tcg/lm32/test_xori.S
diff --git a/tests/pi_10.com b/tests/tcg/pi_10.com
similarity index 100%
rename from tests/pi_10.com
rename to tests/tcg/pi_10.com
diff --git a/tests/runcom.c b/tests/tcg/runcom.c
similarity index 100%
rename from tests/runcom.c
rename to tests/tcg/runcom.c
diff --git a/tests/sha1.c b/tests/tcg/sha1.c
similarity index 100%
rename from tests/sha1.c
rename to tests/tcg/sha1.c
diff --git a/tests/test-arm-iwmmxt.s b/tests/tcg/test-arm-iwmmxt.s
similarity index 100%
rename from tests/test-arm-iwmmxt.s
rename to tests/tcg/test-arm-iwmmxt.s
diff --git a/tests/test-i386-code16.S b/tests/tcg/test-i386-code16.S
similarity index 100%
rename from tests/test-i386-code16.S
rename to tests/tcg/test-i386-code16.S
diff --git a/tests/test-i386-muldiv.h b/tests/tcg/test-i386-muldiv.h
similarity index 100%
rename from tests/test-i386-muldiv.h
rename to tests/tcg/test-i386-muldiv.h
diff --git a/tests/test-i386-shift.h b/tests/tcg/test-i386-shift.h
similarity index 100%
rename from tests/test-i386-shift.h
rename to tests/tcg/test-i386-shift.h
diff --git a/tests/test-i386-ssse3.c b/tests/tcg/test-i386-ssse3.c
similarity index 100%
rename from tests/test-i386-ssse3.c
rename to tests/tcg/test-i386-ssse3.c
diff --git a/tests/test-i386-vm86.S b/tests/tcg/test-i386-vm86.S
similarity index 100%
rename from tests/test-i386-vm86.S
rename to tests/tcg/test-i386-vm86.S
diff --git a/tests/test-i386.c b/tests/tcg/test-i386.c
similarity index 100%
rename from tests/test-i386.c
rename to tests/tcg/test-i386.c
diff --git a/tests/test-i386.h b/tests/tcg/test-i386.h
similarity index 100%
rename from tests/test-i386.h
rename to tests/tcg/test-i386.h
diff --git a/tests/test-mmap.c b/tests/tcg/test-mmap.c
similarity index 100%
rename from tests/test-mmap.c
rename to tests/tcg/test-mmap.c
diff --git a/tests/test_path.c b/tests/tcg/test_path.c
similarity index 100%
rename from tests/test_path.c
rename to tests/tcg/test_path.c
diff --git a/tests/testthread.c b/tests/tcg/testthread.c
similarity index 100%
rename from tests/testthread.c
rename to tests/tcg/testthread.c
diff --git a/tests/xtensa/Makefile b/tests/tcg/xtensa/Makefile
similarity index 100%
rename from tests/xtensa/Makefile
rename to tests/tcg/xtensa/Makefile
diff --git a/tests/xtensa/crt.S b/tests/tcg/xtensa/crt.S
similarity index 100%
rename from tests/xtensa/crt.S
rename to tests/tcg/xtensa/crt.S
diff --git a/tests/xtensa/linker.ld b/tests/tcg/xtensa/linker.ld
similarity index 100%
rename from tests/xtensa/linker.ld
rename to tests/tcg/xtensa/linker.ld
diff --git a/tests/xtensa/macros.inc b/tests/tcg/xtensa/macros.inc
similarity index 100%
rename from tests/xtensa/macros.inc
rename to tests/tcg/xtensa/macros.inc
diff --git a/tests/xtensa/test_b.S b/tests/tcg/xtensa/test_b.S
similarity index 100%
rename from tests/xtensa/test_b.S
rename to tests/tcg/xtensa/test_b.S
diff --git a/tests/xtensa/test_bi.S b/tests/tcg/xtensa/test_bi.S
similarity index 100%
rename from tests/xtensa/test_bi.S
rename to tests/tcg/xtensa/test_bi.S
diff --git a/tests/xtensa/test_boolean.S b/tests/tcg/xtensa/test_boolean.S
similarity index 100%
rename from tests/xtensa/test_boolean.S
rename to tests/tcg/xtensa/test_boolean.S
diff --git a/tests/xtensa/test_bz.S b/tests/tcg/xtensa/test_bz.S
similarity index 100%
rename from tests/xtensa/test_bz.S
rename to tests/tcg/xtensa/test_bz.S
diff --git a/tests/xtensa/test_clamps.S b/tests/tcg/xtensa/test_clamps.S
similarity index 100%
rename from tests/xtensa/test_clamps.S
rename to tests/tcg/xtensa/test_clamps.S
diff --git a/tests/xtensa/test_fail.S b/tests/tcg/xtensa/test_fail.S
similarity index 100%
rename from tests/xtensa/test_fail.S
rename to tests/tcg/xtensa/test_fail.S
diff --git a/tests/xtensa/test_interrupt.S b/tests/tcg/xtensa/test_interrupt.S
similarity index 100%
rename from tests/xtensa/test_interrupt.S
rename to tests/tcg/xtensa/test_interrupt.S
diff --git a/tests/xtensa/test_loop.S b/tests/tcg/xtensa/test_loop.S
similarity index 100%
rename from tests/xtensa/test_loop.S
rename to tests/tcg/xtensa/test_loop.S
diff --git a/tests/xtensa/test_mac16.S b/tests/tcg/xtensa/test_mac16.S
similarity index 100%
rename from tests/xtensa/test_mac16.S
rename to tests/tcg/xtensa/test_mac16.S
diff --git a/tests/xtensa/test_max.S b/tests/tcg/xtensa/test_max.S
similarity index 100%
rename from tests/xtensa/test_max.S
rename to tests/tcg/xtensa/test_max.S
diff --git a/tests/xtensa/test_min.S b/tests/tcg/xtensa/test_min.S
similarity index 100%
rename from tests/xtensa/test_min.S
rename to tests/tcg/xtensa/test_min.S
diff --git a/tests/xtensa/test_mmu.S b/tests/tcg/xtensa/test_mmu.S
similarity index 100%
rename from tests/xtensa/test_mmu.S
rename to tests/tcg/xtensa/test_mmu.S
diff --git a/tests/xtensa/test_mul16.S b/tests/tcg/xtensa/test_mul16.S
similarity index 100%
rename from tests/xtensa/test_mul16.S
rename to tests/tcg/xtensa/test_mul16.S
diff --git a/tests/xtensa/test_mul32.S b/tests/tcg/xtensa/test_mul32.S
similarity index 100%
rename from tests/xtensa/test_mul32.S
rename to tests/tcg/xtensa/test_mul32.S
diff --git a/tests/xtensa/test_nsa.S b/tests/tcg/xtensa/test_nsa.S
similarity index 100%
rename from tests/xtensa/test_nsa.S
rename to tests/tcg/xtensa/test_nsa.S
diff --git a/tests/xtensa/test_pipeline.S b/tests/tcg/xtensa/test_pipeline.S
similarity index 100%
rename from tests/xtensa/test_pipeline.S
rename to tests/tcg/xtensa/test_pipeline.S
diff --git a/tests/xtensa/test_quo.S b/tests/tcg/xtensa/test_quo.S
similarity index 100%
rename from tests/xtensa/test_quo.S
rename to tests/tcg/xtensa/test_quo.S
diff --git a/tests/xtensa/test_rem.S b/tests/tcg/xtensa/test_rem.S
similarity index 100%
rename from tests/xtensa/test_rem.S
rename to tests/tcg/xtensa/test_rem.S
diff --git a/tests/xtensa/test_rst0.S b/tests/tcg/xtensa/test_rst0.S
similarity index 100%
rename from tests/xtensa/test_rst0.S
rename to tests/tcg/xtensa/test_rst0.S
diff --git a/tests/xtensa/test_sar.S b/tests/tcg/xtensa/test_sar.S
similarity index 100%
rename from tests/xtensa/test_sar.S
rename to tests/tcg/xtensa/test_sar.S
diff --git a/tests/xtensa/test_sext.S b/tests/tcg/xtensa/test_sext.S
similarity index 100%
rename from tests/xtensa/test_sext.S
rename to tests/tcg/xtensa/test_sext.S
diff --git a/tests/xtensa/test_shift.S b/tests/tcg/xtensa/test_shift.S
similarity index 100%
rename from tests/xtensa/test_shift.S
rename to tests/tcg/xtensa/test_shift.S
diff --git a/tests/xtensa/test_timer.S b/tests/tcg/xtensa/test_timer.S
similarity index 100%
rename from tests/xtensa/test_timer.S
rename to tests/tcg/xtensa/test_timer.S
diff --git a/tests/xtensa/test_windowed.S b/tests/tcg/xtensa/test_windowed.S
similarity index 100%
rename from tests/xtensa/test_windowed.S
rename to tests/tcg/xtensa/test_windowed.S
diff --git a/tests/xtensa/vectors.S b/tests/tcg/xtensa/vectors.S
similarity index 100%
rename from tests/xtensa/vectors.S
rename to tests/tcg/xtensa/vectors.S
Anthony Liguori - Jan. 9, 2012, 4:04 p.m.
Hi,

I'm going to apply this series quickly and will start running 'make check-quick' 
as part a sniff test before pushing patches.

I'd like to request that all maintainers/submaintainers do the same and that 
everyone contributes unit tests to this target.

The general rules for 'make check-quick':

  1) It must complete in less than 10 minutes start to finish (the entire rule). 
  We can re-examine this over time but for now, it seems like a reasonable limit.

  2) It must gracefully degrade across architectures/targets.  Do not assume 
qemu-system-x86_64 is present or that an arm cross compiler is available.

It would also be nice to get this integrated as part of buildbot. 
Stefan/Daniel, is that something we can do?

Regards,

Anthony Liguori

On 01/09/2012 09:56 AM, Anthony Liguori wrote:
> Signed-off-by: Anthony Liguori<aliguori@us.ibm.com>
> ---
>   Makefile                                          |    4 ++--
>   configure                                         |    6 +++---
>   tests/{ =>  tcg}/Makefile                          |    0
>   tests/{ =>  tcg}/alpha/Makefile                    |    0
>   tests/{ =>  tcg}/alpha/crt.s                       |    0
>   tests/{ =>  tcg}/alpha/hello-alpha.c               |    0
>   tests/{ =>  tcg}/alpha/test-cond.c                 |    0
>   tests/{ =>  tcg}/alpha/test-ovf.c                  |    0
>   tests/{ =>  tcg}/cris/.gdbinit                     |    0
>   tests/{ =>  tcg}/cris/Makefile                     |    0
>   tests/{ =>  tcg}/cris/README                       |    0
>   tests/{ =>  tcg}/cris/check_abs.c                  |    0
>   tests/{ =>  tcg}/cris/check_addc.c                 |    0
>   tests/{ =>  tcg}/cris/check_addcm.c                |    0
>   tests/{ =>  tcg}/cris/check_addi.s                 |    0
>   tests/{ =>  tcg}/cris/check_addiv32.s              |    0
>   tests/{ =>  tcg}/cris/check_addm.s                 |    0
>   tests/{ =>  tcg}/cris/check_addo.c                 |    0
>   tests/{ =>  tcg}/cris/check_addoq.c                |    0
>   tests/{ =>  tcg}/cris/check_addq.s                 |    0
>   tests/{ =>  tcg}/cris/check_addr.s                 |    0
>   tests/{ =>  tcg}/cris/check_addxc.s                |    0
>   tests/{ =>  tcg}/cris/check_addxm.s                |    0
>   tests/{ =>  tcg}/cris/check_addxr.s                |    0
>   tests/{ =>  tcg}/cris/check_andc.s                 |    0
>   tests/{ =>  tcg}/cris/check_andm.s                 |    0
>   tests/{ =>  tcg}/cris/check_andq.s                 |    0
>   tests/{ =>  tcg}/cris/check_andr.s                 |    0
>   tests/{ =>  tcg}/cris/check_asr.s                  |    0
>   tests/{ =>  tcg}/cris/check_ba.s                   |    0
>   tests/{ =>  tcg}/cris/check_bas.s                  |    0
>   tests/{ =>  tcg}/cris/check_bcc.s                  |    0
>   tests/{ =>  tcg}/cris/check_bound.c                |    0
>   tests/{ =>  tcg}/cris/check_boundc.s               |    0
>   tests/{ =>  tcg}/cris/check_boundr.s               |    0
>   tests/{ =>  tcg}/cris/check_btst.s                 |    0
>   tests/{ =>  tcg}/cris/check_clearfv32.s            |    0
>   tests/{ =>  tcg}/cris/check_clrjmp1.s              |    0
>   tests/{ =>  tcg}/cris/check_cmp-2.s                |    0
>   tests/{ =>  tcg}/cris/check_cmpc.s                 |    0
>   tests/{ =>  tcg}/cris/check_cmpm.s                 |    0
>   tests/{ =>  tcg}/cris/check_cmpq.s                 |    0
>   tests/{ =>  tcg}/cris/check_cmpr.s                 |    0
>   tests/{ =>  tcg}/cris/check_cmpxc.s                |    0
>   tests/{ =>  tcg}/cris/check_cmpxm.s                |    0
>   tests/{ =>  tcg}/cris/check_dstep.s                |    0
>   tests/{ =>  tcg}/cris/check_ftag.c                 |    0
>   tests/{ =>  tcg}/cris/check_gcctorture_pr28634-1.c |    0
>   tests/{ =>  tcg}/cris/check_gcctorture_pr28634.c   |    0
>   tests/{ =>  tcg}/cris/check_glibc_kernelversion.c  |    0
>   tests/{ =>  tcg}/cris/check_hello.c                |    0
>   tests/{ =>  tcg}/cris/check_int64.c                |    0
>   tests/{ =>  tcg}/cris/check_jsr.s                  |    0
>   tests/{ =>  tcg}/cris/check_lapc.s                 |    0
>   tests/{ =>  tcg}/cris/check_lsl.s                  |    0
>   tests/{ =>  tcg}/cris/check_lsr.s                  |    0
>   tests/{ =>  tcg}/cris/check_lz.c                   |    0
>   tests/{ =>  tcg}/cris/check_mapbrk.c               |    0
>   tests/{ =>  tcg}/cris/check_mcp.s                  |    0
>   tests/{ =>  tcg}/cris/check_mmap1.c                |    0
>   tests/{ =>  tcg}/cris/check_mmap2.c                |    0
>   tests/{ =>  tcg}/cris/check_mmap3.c                |    0
>   tests/{ =>  tcg}/cris/check_movdelsr1.s            |    0
>   tests/{ =>  tcg}/cris/check_movecr.s               |    0
>   tests/{ =>  tcg}/cris/check_movei.s                |    0
>   tests/{ =>  tcg}/cris/check_movemr.s               |    0
>   tests/{ =>  tcg}/cris/check_movemrv32.s            |    0
>   tests/{ =>  tcg}/cris/check_moveq.c                |    0
>   tests/{ =>  tcg}/cris/check_mover.s                |    0
>   tests/{ =>  tcg}/cris/check_moverm.s               |    0
>   tests/{ =>  tcg}/cris/check_movmp.s                |    0
>   tests/{ =>  tcg}/cris/check_movpmv32.s             |    0
>   tests/{ =>  tcg}/cris/check_movpr.s                |    0
>   tests/{ =>  tcg}/cris/check_movprv32.s             |    0
>   tests/{ =>  tcg}/cris/check_movscr.s               |    0
>   tests/{ =>  tcg}/cris/check_movsm.s                |    0
>   tests/{ =>  tcg}/cris/check_movsr.s                |    0
>   tests/{ =>  tcg}/cris/check_movucr.s               |    0
>   tests/{ =>  tcg}/cris/check_movum.s                |    0
>   tests/{ =>  tcg}/cris/check_movur.s                |    0
>   tests/{ =>  tcg}/cris/check_mulv32.s               |    0
>   tests/{ =>  tcg}/cris/check_mulx.s                 |    0
>   tests/{ =>  tcg}/cris/check_neg.s                  |    0
>   tests/{ =>  tcg}/cris/check_not.s                  |    0
>   tests/{ =>  tcg}/cris/check_openpf1.c              |    0
>   tests/{ =>  tcg}/cris/check_openpf2.c              |    0
>   tests/{ =>  tcg}/cris/check_openpf3.c              |    0
>   tests/{ =>  tcg}/cris/check_openpf4.c              |    0
>   tests/{ =>  tcg}/cris/check_openpf5.c              |    0
>   tests/{ =>  tcg}/cris/check_orc.s                  |    0
>   tests/{ =>  tcg}/cris/check_orm.s                  |    0
>   tests/{ =>  tcg}/cris/check_orq.s                  |    0
>   tests/{ =>  tcg}/cris/check_orr.s                  |    0
>   tests/{ =>  tcg}/cris/check_ret.s                  |    0
>   tests/{ =>  tcg}/cris/check_scc.s                  |    0
>   tests/{ =>  tcg}/cris/check_settls1.c              |    0
>   tests/{ =>  tcg}/cris/check_sigalrm.c              |    0
>   tests/{ =>  tcg}/cris/check_stat1.c                |    0
>   tests/{ =>  tcg}/cris/check_stat2.c                |    0
>   tests/{ =>  tcg}/cris/check_stat3.c                |    0
>   tests/{ =>  tcg}/cris/check_stat4.c                |    0
>   tests/{ =>  tcg}/cris/check_subc.s                 |    0
>   tests/{ =>  tcg}/cris/check_subm.s                 |    0
>   tests/{ =>  tcg}/cris/check_subq.s                 |    0
>   tests/{ =>  tcg}/cris/check_subr.s                 |    0
>   tests/{ =>  tcg}/cris/check_swap.c                 |    0
>   tests/{ =>  tcg}/cris/check_time1.c                |    0
>   tests/{ =>  tcg}/cris/check_time2.c                |    0
>   tests/{ =>  tcg}/cris/check_xarith.s               |    0
>   tests/{ =>  tcg}/cris/crisutils.h                  |    0
>   tests/{ =>  tcg}/cris/crt.s                        |    0
>   tests/{ =>  tcg}/cris/sys.c                        |    0
>   tests/{ =>  tcg}/cris/sys.h                        |    0
>   tests/{ =>  tcg}/cris/testutils.inc                |    0
>   tests/{ =>  tcg}/hello-arm.c                       |    0
>   tests/{ =>  tcg}/hello-i386.c                      |    0
>   tests/{ =>  tcg}/hello-mips.c                      |    0
>   tests/{ =>  tcg}/linux-test.c                      |    0
>   tests/{ =>  tcg}/lm32/Makefile                     |    0
>   tests/{ =>  tcg}/lm32/crt.S                        |    0
>   tests/{ =>  tcg}/lm32/linker.ld                    |    0
>   tests/{ =>  tcg}/lm32/macros.inc                   |    0
>   tests/{ =>  tcg}/lm32/test_add.S                   |    0
>   tests/{ =>  tcg}/lm32/test_addi.S                  |    0
>   tests/{ =>  tcg}/lm32/test_and.S                   |    0
>   tests/{ =>  tcg}/lm32/test_andhi.S                 |    0
>   tests/{ =>  tcg}/lm32/test_andi.S                  |    0
>   tests/{ =>  tcg}/lm32/test_b.S                     |    0
>   tests/{ =>  tcg}/lm32/test_be.S                    |    0
>   tests/{ =>  tcg}/lm32/test_bg.S                    |    0
>   tests/{ =>  tcg}/lm32/test_bge.S                   |    0
>   tests/{ =>  tcg}/lm32/test_bgeu.S                  |    0
>   tests/{ =>  tcg}/lm32/test_bgu.S                   |    0
>   tests/{ =>  tcg}/lm32/test_bi.S                    |    0
>   tests/{ =>  tcg}/lm32/test_bne.S                   |    0
>   tests/{ =>  tcg}/lm32/test_break.S                 |    0
>   tests/{ =>  tcg}/lm32/test_bret.S                  |    0
>   tests/{ =>  tcg}/lm32/test_call.S                  |    0
>   tests/{ =>  tcg}/lm32/test_calli.S                 |    0
>   tests/{ =>  tcg}/lm32/test_cmpe.S                  |    0
>   tests/{ =>  tcg}/lm32/test_cmpei.S                 |    0
>   tests/{ =>  tcg}/lm32/test_cmpg.S                  |    0
>   tests/{ =>  tcg}/lm32/test_cmpge.S                 |    0
>   tests/{ =>  tcg}/lm32/test_cmpgei.S                |    0
>   tests/{ =>  tcg}/lm32/test_cmpgeu.S                |    0
>   tests/{ =>  tcg}/lm32/test_cmpgeui.S               |    0
>   tests/{ =>  tcg}/lm32/test_cmpgi.S                 |    0
>   tests/{ =>  tcg}/lm32/test_cmpgu.S                 |    0
>   tests/{ =>  tcg}/lm32/test_cmpgui.S                |    0
>   tests/{ =>  tcg}/lm32/test_cmpne.S                 |    0
>   tests/{ =>  tcg}/lm32/test_cmpnei.S                |    0
>   tests/{ =>  tcg}/lm32/test_divu.S                  |    0
>   tests/{ =>  tcg}/lm32/test_eret.S                  |    0
>   tests/{ =>  tcg}/lm32/test_lb.S                    |    0
>   tests/{ =>  tcg}/lm32/test_lbu.S                   |    0
>   tests/{ =>  tcg}/lm32/test_lh.S                    |    0
>   tests/{ =>  tcg}/lm32/test_lhu.S                   |    0
>   tests/{ =>  tcg}/lm32/test_lw.S                    |    0
>   tests/{ =>  tcg}/lm32/test_modu.S                  |    0
>   tests/{ =>  tcg}/lm32/test_mul.S                   |    0
>   tests/{ =>  tcg}/lm32/test_muli.S                  |    0
>   tests/{ =>  tcg}/lm32/test_nor.S                   |    0
>   tests/{ =>  tcg}/lm32/test_nori.S                  |    0
>   tests/{ =>  tcg}/lm32/test_or.S                    |    0
>   tests/{ =>  tcg}/lm32/test_orhi.S                  |    0
>   tests/{ =>  tcg}/lm32/test_ori.S                   |    0
>   tests/{ =>  tcg}/lm32/test_ret.S                   |    0
>   tests/{ =>  tcg}/lm32/test_sb.S                    |    0
>   tests/{ =>  tcg}/lm32/test_scall.S                 |    0
>   tests/{ =>  tcg}/lm32/test_sextb.S                 |    0
>   tests/{ =>  tcg}/lm32/test_sexth.S                 |    0
>   tests/{ =>  tcg}/lm32/test_sh.S                    |    0
>   tests/{ =>  tcg}/lm32/test_sl.S                    |    0
>   tests/{ =>  tcg}/lm32/test_sli.S                   |    0
>   tests/{ =>  tcg}/lm32/test_sr.S                    |    0
>   tests/{ =>  tcg}/lm32/test_sri.S                   |    0
>   tests/{ =>  tcg}/lm32/test_sru.S                   |    0
>   tests/{ =>  tcg}/lm32/test_srui.S                  |    0
>   tests/{ =>  tcg}/lm32/test_sub.S                   |    0
>   tests/{ =>  tcg}/lm32/test_sw.S                    |    0
>   tests/{ =>  tcg}/lm32/test_xnor.S                  |    0
>   tests/{ =>  tcg}/lm32/test_xnori.S                 |    0
>   tests/{ =>  tcg}/lm32/test_xor.S                   |    0
>   tests/{ =>  tcg}/lm32/test_xori.S                  |    0
>   tests/{ =>  tcg}/pi_10.com                         |  Bin 54 ->  54 bytes
>   tests/{ =>  tcg}/runcom.c                          |    0
>   tests/{ =>  tcg}/sha1.c                            |    0
>   tests/{ =>  tcg}/test-arm-iwmmxt.s                 |    0
>   tests/{ =>  tcg}/test-i386-code16.S                |    0
>   tests/{ =>  tcg}/test-i386-muldiv.h                |    0
>   tests/{ =>  tcg}/test-i386-shift.h                 |    0
>   tests/{ =>  tcg}/test-i386-ssse3.c                 |    0
>   tests/{ =>  tcg}/test-i386-vm86.S                  |    0
>   tests/{ =>  tcg}/test-i386.c                       |    0
>   tests/{ =>  tcg}/test-i386.h                       |    0
>   tests/{ =>  tcg}/test-mmap.c                       |    0
>   tests/{ =>  tcg}/test_path.c                       |    0
>   tests/{ =>  tcg}/testthread.c                      |    0
>   tests/{ =>  tcg}/xtensa/Makefile                   |    0
>   tests/{ =>  tcg}/xtensa/crt.S                      |    0
>   tests/{ =>  tcg}/xtensa/linker.ld                  |    0
>   tests/{ =>  tcg}/xtensa/macros.inc                 |    0
>   tests/{ =>  tcg}/xtensa/test_b.S                   |    0
>   tests/{ =>  tcg}/xtensa/test_bi.S                  |    0
>   tests/{ =>  tcg}/xtensa/test_boolean.S             |    0
>   tests/{ =>  tcg}/xtensa/test_bz.S                  |    0
>   tests/{ =>  tcg}/xtensa/test_clamps.S              |    0
>   tests/{ =>  tcg}/xtensa/test_fail.S                |    0
>   tests/{ =>  tcg}/xtensa/test_interrupt.S           |    0
>   tests/{ =>  tcg}/xtensa/test_loop.S                |    0
>   tests/{ =>  tcg}/xtensa/test_mac16.S               |    0
>   tests/{ =>  tcg}/xtensa/test_max.S                 |    0
>   tests/{ =>  tcg}/xtensa/test_min.S                 |    0
>   tests/{ =>  tcg}/xtensa/test_mmu.S                 |    0
>   tests/{ =>  tcg}/xtensa/test_mul16.S               |    0
>   tests/{ =>  tcg}/xtensa/test_mul32.S               |    0
>   tests/{ =>  tcg}/xtensa/test_nsa.S                 |    0
>   tests/{ =>  tcg}/xtensa/test_pipeline.S            |    0
>   tests/{ =>  tcg}/xtensa/test_quo.S                 |    0
>   tests/{ =>  tcg}/xtensa/test_rem.S                 |    0
>   tests/{ =>  tcg}/xtensa/test_rst0.S                |    0
>   tests/{ =>  tcg}/xtensa/test_sar.S                 |    0
>   tests/{ =>  tcg}/xtensa/test_sext.S                |    0
>   tests/{ =>  tcg}/xtensa/test_shift.S               |    0
>   tests/{ =>  tcg}/xtensa/test_timer.S               |    0
>   tests/{ =>  tcg}/xtensa/test_windowed.S            |    0
>   tests/{ =>  tcg}/xtensa/vectors.S                  |    0
>   227 files changed, 5 insertions(+), 5 deletions(-)
>   rename tests/{ =>  tcg}/Makefile (100%)
>   rename tests/{ =>  tcg}/alpha/Makefile (100%)
>   rename tests/{ =>  tcg}/alpha/crt.s (100%)
>   rename tests/{ =>  tcg}/alpha/hello-alpha.c (100%)
>   rename tests/{ =>  tcg}/alpha/test-cond.c (100%)
>   rename tests/{ =>  tcg}/alpha/test-ovf.c (100%)
>   rename tests/{ =>  tcg}/cris/.gdbinit (100%)
>   rename tests/{ =>  tcg}/cris/Makefile (100%)
>   rename tests/{ =>  tcg}/cris/README (100%)
>   rename tests/{ =>  tcg}/cris/check_abs.c (100%)
>   rename tests/{ =>  tcg}/cris/check_addc.c (100%)
>   rename tests/{ =>  tcg}/cris/check_addcm.c (100%)
>   rename tests/{ =>  tcg}/cris/check_addi.s (100%)
>   rename tests/{ =>  tcg}/cris/check_addiv32.s (100%)
>   rename tests/{ =>  tcg}/cris/check_addm.s (100%)
>   rename tests/{ =>  tcg}/cris/check_addo.c (100%)
>   rename tests/{ =>  tcg}/cris/check_addoq.c (100%)
>   rename tests/{ =>  tcg}/cris/check_addq.s (100%)
>   rename tests/{ =>  tcg}/cris/check_addr.s (100%)
>   rename tests/{ =>  tcg}/cris/check_addxc.s (100%)
>   rename tests/{ =>  tcg}/cris/check_addxm.s (100%)
>   rename tests/{ =>  tcg}/cris/check_addxr.s (100%)
>   rename tests/{ =>  tcg}/cris/check_andc.s (100%)
>   rename tests/{ =>  tcg}/cris/check_andm.s (100%)
>   rename tests/{ =>  tcg}/cris/check_andq.s (100%)
>   rename tests/{ =>  tcg}/cris/check_andr.s (100%)
>   rename tests/{ =>  tcg}/cris/check_asr.s (100%)
>   rename tests/{ =>  tcg}/cris/check_ba.s (100%)
>   rename tests/{ =>  tcg}/cris/check_bas.s (100%)
>   rename tests/{ =>  tcg}/cris/check_bcc.s (100%)
>   rename tests/{ =>  tcg}/cris/check_bound.c (100%)
>   rename tests/{ =>  tcg}/cris/check_boundc.s (100%)
>   rename tests/{ =>  tcg}/cris/check_boundr.s (100%)
>   rename tests/{ =>  tcg}/cris/check_btst.s (100%)
>   rename tests/{ =>  tcg}/cris/check_clearfv32.s (100%)
>   rename tests/{ =>  tcg}/cris/check_clrjmp1.s (100%)
>   rename tests/{ =>  tcg}/cris/check_cmp-2.s (100%)
>   rename tests/{ =>  tcg}/cris/check_cmpc.s (100%)
>   rename tests/{ =>  tcg}/cris/check_cmpm.s (100%)
>   rename tests/{ =>  tcg}/cris/check_cmpq.s (100%)
>   rename tests/{ =>  tcg}/cris/check_cmpr.s (100%)
>   rename tests/{ =>  tcg}/cris/check_cmpxc.s (100%)
>   rename tests/{ =>  tcg}/cris/check_cmpxm.s (100%)
>   rename tests/{ =>  tcg}/cris/check_dstep.s (100%)
>   rename tests/{ =>  tcg}/cris/check_ftag.c (100%)
>   rename tests/{ =>  tcg}/cris/check_gcctorture_pr28634-1.c (100%)
>   rename tests/{ =>  tcg}/cris/check_gcctorture_pr28634.c (100%)
>   rename tests/{ =>  tcg}/cris/check_glibc_kernelversion.c (100%)
>   rename tests/{ =>  tcg}/cris/check_hello.c (100%)
>   rename tests/{ =>  tcg}/cris/check_int64.c (100%)
>   rename tests/{ =>  tcg}/cris/check_jsr.s (100%)
>   rename tests/{ =>  tcg}/cris/check_lapc.s (100%)
>   rename tests/{ =>  tcg}/cris/check_lsl.s (100%)
>   rename tests/{ =>  tcg}/cris/check_lsr.s (100%)
>   rename tests/{ =>  tcg}/cris/check_lz.c (100%)
>   rename tests/{ =>  tcg}/cris/check_mapbrk.c (100%)
>   rename tests/{ =>  tcg}/cris/check_mcp.s (100%)
>   rename tests/{ =>  tcg}/cris/check_mmap1.c (100%)
>   rename tests/{ =>  tcg}/cris/check_mmap2.c (100%)
>   rename tests/{ =>  tcg}/cris/check_mmap3.c (100%)
>   rename tests/{ =>  tcg}/cris/check_movdelsr1.s (100%)
>   rename tests/{ =>  tcg}/cris/check_movecr.s (100%)
>   rename tests/{ =>  tcg}/cris/check_movei.s (100%)
>   rename tests/{ =>  tcg}/cris/check_movemr.s (100%)
>   rename tests/{ =>  tcg}/cris/check_movemrv32.s (100%)
>   rename tests/{ =>  tcg}/cris/check_moveq.c (100%)
>   rename tests/{ =>  tcg}/cris/check_mover.s (100%)
>   rename tests/{ =>  tcg}/cris/check_moverm.s (100%)
>   rename tests/{ =>  tcg}/cris/check_movmp.s (100%)
>   rename tests/{ =>  tcg}/cris/check_movpmv32.s (100%)
>   rename tests/{ =>  tcg}/cris/check_movpr.s (100%)
>   rename tests/{ =>  tcg}/cris/check_movprv32.s (100%)
>   rename tests/{ =>  tcg}/cris/check_movscr.s (100%)
>   rename tests/{ =>  tcg}/cris/check_movsm.s (100%)
>   rename tests/{ =>  tcg}/cris/check_movsr.s (100%)
>   rename tests/{ =>  tcg}/cris/check_movucr.s (100%)
>   rename tests/{ =>  tcg}/cris/check_movum.s (100%)
>   rename tests/{ =>  tcg}/cris/check_movur.s (100%)
>   rename tests/{ =>  tcg}/cris/check_mulv32.s (100%)
>   rename tests/{ =>  tcg}/cris/check_mulx.s (100%)
>   rename tests/{ =>  tcg}/cris/check_neg.s (100%)
>   rename tests/{ =>  tcg}/cris/check_not.s (100%)
>   rename tests/{ =>  tcg}/cris/check_openpf1.c (100%)
>   rename tests/{ =>  tcg}/cris/check_openpf2.c (100%)
>   rename tests/{ =>  tcg}/cris/check_openpf3.c (100%)
>   rename tests/{ =>  tcg}/cris/check_openpf4.c (100%)
>   rename tests/{ =>  tcg}/cris/check_openpf5.c (100%)
>   rename tests/{ =>  tcg}/cris/check_orc.s (100%)
>   rename tests/{ =>  tcg}/cris/check_orm.s (100%)
>   rename tests/{ =>  tcg}/cris/check_orq.s (100%)
>   rename tests/{ =>  tcg}/cris/check_orr.s (100%)
>   rename tests/{ =>  tcg}/cris/check_ret.s (100%)
>   rename tests/{ =>  tcg}/cris/check_scc.s (100%)
>   rename tests/{ =>  tcg}/cris/check_settls1.c (100%)
>   rename tests/{ =>  tcg}/cris/check_sigalrm.c (100%)
>   rename tests/{ =>  tcg}/cris/check_stat1.c (100%)
>   rename tests/{ =>  tcg}/cris/check_stat2.c (100%)
>   rename tests/{ =>  tcg}/cris/check_stat3.c (100%)
>   rename tests/{ =>  tcg}/cris/check_stat4.c (100%)
>   rename tests/{ =>  tcg}/cris/check_subc.s (100%)
>   rename tests/{ =>  tcg}/cris/check_subm.s (100%)
>   rename tests/{ =>  tcg}/cris/check_subq.s (100%)
>   rename tests/{ =>  tcg}/cris/check_subr.s (100%)
>   rename tests/{ =>  tcg}/cris/check_swap.c (100%)
>   rename tests/{ =>  tcg}/cris/check_time1.c (100%)
>   rename tests/{ =>  tcg}/cris/check_time2.c (100%)
>   rename tests/{ =>  tcg}/cris/check_xarith.s (100%)
>   rename tests/{ =>  tcg}/cris/crisutils.h (100%)
>   rename tests/{ =>  tcg}/cris/crt.s (100%)
>   rename tests/{ =>  tcg}/cris/sys.c (100%)
>   rename tests/{ =>  tcg}/cris/sys.h (100%)
>   rename tests/{ =>  tcg}/cris/testutils.inc (100%)
>   rename tests/{ =>  tcg}/hello-arm.c (100%)
>   rename tests/{ =>  tcg}/hello-i386.c (100%)
>   rename tests/{ =>  tcg}/hello-mips.c (100%)
>   rename tests/{ =>  tcg}/linux-test.c (100%)
>   rename tests/{ =>  tcg}/lm32/Makefile (100%)
>   rename tests/{ =>  tcg}/lm32/crt.S (100%)
>   rename tests/{ =>  tcg}/lm32/linker.ld (100%)
>   rename tests/{ =>  tcg}/lm32/macros.inc (100%)
>   rename tests/{ =>  tcg}/lm32/test_add.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_addi.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_and.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_andhi.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_andi.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_b.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_be.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_bg.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_bge.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_bgeu.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_bgu.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_bi.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_bne.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_break.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_bret.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_call.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_calli.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_cmpe.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_cmpei.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_cmpg.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_cmpge.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_cmpgei.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_cmpgeu.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_cmpgeui.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_cmpgi.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_cmpgu.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_cmpgui.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_cmpne.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_cmpnei.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_divu.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_eret.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_lb.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_lbu.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_lh.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_lhu.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_lw.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_modu.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_mul.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_muli.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_nor.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_nori.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_or.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_orhi.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_ori.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_ret.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_sb.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_scall.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_sextb.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_sexth.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_sh.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_sl.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_sli.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_sr.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_sri.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_sru.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_srui.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_sub.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_sw.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_xnor.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_xnori.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_xor.S (100%)
>   rename tests/{ =>  tcg}/lm32/test_xori.S (100%)
>   rename tests/{ =>  tcg}/pi_10.com (100%)
>   rename tests/{ =>  tcg}/runcom.c (100%)
>   rename tests/{ =>  tcg}/sha1.c (100%)
>   rename tests/{ =>  tcg}/test-arm-iwmmxt.s (100%)
>   rename tests/{ =>  tcg}/test-i386-code16.S (100%)
>   rename tests/{ =>  tcg}/test-i386-muldiv.h (100%)
>   rename tests/{ =>  tcg}/test-i386-shift.h (100%)
>   rename tests/{ =>  tcg}/test-i386-ssse3.c (100%)
>   rename tests/{ =>  tcg}/test-i386-vm86.S (100%)
>   rename tests/{ =>  tcg}/test-i386.c (100%)
>   rename tests/{ =>  tcg}/test-i386.h (100%)
>   rename tests/{ =>  tcg}/test-mmap.c (100%)
>   rename tests/{ =>  tcg}/test_path.c (100%)
>   rename tests/{ =>  tcg}/testthread.c (100%)
>   rename tests/{ =>  tcg}/xtensa/Makefile (100%)
>   rename tests/{ =>  tcg}/xtensa/crt.S (100%)
>   rename tests/{ =>  tcg}/xtensa/linker.ld (100%)
>   rename tests/{ =>  tcg}/xtensa/macros.inc (100%)
>   rename tests/{ =>  tcg}/xtensa/test_b.S (100%)
>   rename tests/{ =>  tcg}/xtensa/test_bi.S (100%)
>   rename tests/{ =>  tcg}/xtensa/test_boolean.S (100%)
>   rename tests/{ =>  tcg}/xtensa/test_bz.S (100%)
>   rename tests/{ =>  tcg}/xtensa/test_clamps.S (100%)
>   rename tests/{ =>  tcg}/xtensa/test_fail.S (100%)
>   rename tests/{ =>  tcg}/xtensa/test_interrupt.S (100%)
>   rename tests/{ =>  tcg}/xtensa/test_loop.S (100%)
>   rename tests/{ =>  tcg}/xtensa/test_mac16.S (100%)
>   rename tests/{ =>  tcg}/xtensa/test_max.S (100%)
>   rename tests/{ =>  tcg}/xtensa/test_min.S (100%)
>   rename tests/{ =>  tcg}/xtensa/test_mmu.S (100%)
>   rename tests/{ =>  tcg}/xtensa/test_mul16.S (100%)
>   rename tests/{ =>  tcg}/xtensa/test_mul32.S (100%)
>   rename tests/{ =>  tcg}/xtensa/test_nsa.S (100%)
>   rename tests/{ =>  tcg}/xtensa/test_pipeline.S (100%)
>   rename tests/{ =>  tcg}/xtensa/test_quo.S (100%)
>   rename tests/{ =>  tcg}/xtensa/test_rem.S (100%)
>   rename tests/{ =>  tcg}/xtensa/test_rst0.S (100%)
>   rename tests/{ =>  tcg}/xtensa/test_sar.S (100%)
>   rename tests/{ =>  tcg}/xtensa/test_sext.S (100%)
>   rename tests/{ =>  tcg}/xtensa/test_shift.S (100%)
>   rename tests/{ =>  tcg}/xtensa/test_timer.S (100%)
>   rename tests/{ =>  tcg}/xtensa/test_windowed.S (100%)
>   rename tests/{ =>  tcg}/xtensa/vectors.S (100%)
>
> diff --git a/Makefile b/Makefile
> index 9ce8768..0cbe7c2 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -241,7 +241,7 @@ clean:
>   	rm -f trace-dtrace.h trace-dtrace.h-timestamp
>   	rm -f $(GENERATED_SOURCES)
>   	rm -rf $(qapi-dir)
> -	$(MAKE) -C tests clean
> +	$(MAKE) -C tests/tcg clean
>   	for d in $(ALL_SUBDIRS) $(QEMULIBS) libcacard; do \
>   	if test -d $$d; then $(MAKE) -C $$d $@ || exit 1; fi; \
>   	rm -f $$d/qemu-options.def; \
> @@ -319,7 +319,7 @@ endif
>
>   # various test targets
>   test speed: all
> -	$(MAKE) -C tests $@
> +	$(MAKE) -C tests/tcg $@
>
>   .PHONY: check
>   check: $(patsubst %,run-check-%,$(CHECKS))
> diff --git a/configure b/configure
> index 0309dad..79790b3 100755
> --- a/configure
> +++ b/configure
> @@ -3809,14 +3809,14 @@ echo "QEMU_INCLUDES+=$includes">>  $config_target_mak
>   done # for target in $targets
>
>   # build tree in object directory in case the source is not in the current directory
> -DIRS="tests tests/cris slirp audio block net pc-bios/optionrom"
> +DIRS="tests tests/tcg tests/tcg/cris slirp audio block net pc-bios/optionrom"
>   DIRS="$DIRS pc-bios/spapr-rtas"
>   DIRS="$DIRS roms/seabios roms/vgabios"
>   DIRS="$DIRS fsdev ui"
>   DIRS="$DIRS qapi qapi-generated"
>   DIRS="$DIRS qga trace"
> -FILES="Makefile tests/Makefile qdict-test-data.txt"
> -FILES="$FILES tests/cris/Makefile tests/cris/.gdbinit"
> +FILES="Makefile tests/tcg/Makefile qdict-test-data.txt"
> +FILES="$FILES tests/tcg/cris/Makefile tests/tcg/cris/.gdbinit"
>   FILES="$FILES pc-bios/optionrom/Makefile pc-bios/keymaps"
>   FILES="$FILES pc-bios/spapr-rtas/Makefile"
>   FILES="$FILES roms/seabios/Makefile roms/vgabios/Makefile"
> diff --git a/tests/Makefile b/tests/tcg/Makefile
> similarity index 100%
> rename from tests/Makefile
> rename to tests/tcg/Makefile
> diff --git a/tests/alpha/Makefile b/tests/tcg/alpha/Makefile
> similarity index 100%
> rename from tests/alpha/Makefile
> rename to tests/tcg/alpha/Makefile
> diff --git a/tests/alpha/crt.s b/tests/tcg/alpha/crt.s
> similarity index 100%
> rename from tests/alpha/crt.s
> rename to tests/tcg/alpha/crt.s
> diff --git a/tests/alpha/hello-alpha.c b/tests/tcg/alpha/hello-alpha.c
> similarity index 100%
> rename from tests/alpha/hello-alpha.c
> rename to tests/tcg/alpha/hello-alpha.c
> diff --git a/tests/alpha/test-cond.c b/tests/tcg/alpha/test-cond.c
> similarity index 100%
> rename from tests/alpha/test-cond.c
> rename to tests/tcg/alpha/test-cond.c
> diff --git a/tests/alpha/test-ovf.c b/tests/tcg/alpha/test-ovf.c
> similarity index 100%
> rename from tests/alpha/test-ovf.c
> rename to tests/tcg/alpha/test-ovf.c
> diff --git a/tests/cris/.gdbinit b/tests/tcg/cris/.gdbinit
> similarity index 100%
> rename from tests/cris/.gdbinit
> rename to tests/tcg/cris/.gdbinit
> diff --git a/tests/cris/Makefile b/tests/tcg/cris/Makefile
> similarity index 100%
> rename from tests/cris/Makefile
> rename to tests/tcg/cris/Makefile
> diff --git a/tests/cris/README b/tests/tcg/cris/README
> similarity index 100%
> rename from tests/cris/README
> rename to tests/tcg/cris/README
> diff --git a/tests/cris/check_abs.c b/tests/tcg/cris/check_abs.c
> similarity index 100%
> rename from tests/cris/check_abs.c
> rename to tests/tcg/cris/check_abs.c
> diff --git a/tests/cris/check_addc.c b/tests/tcg/cris/check_addc.c
> similarity index 100%
> rename from tests/cris/check_addc.c
> rename to tests/tcg/cris/check_addc.c
> diff --git a/tests/cris/check_addcm.c b/tests/tcg/cris/check_addcm.c
> similarity index 100%
> rename from tests/cris/check_addcm.c
> rename to tests/tcg/cris/check_addcm.c
> diff --git a/tests/cris/check_addi.s b/tests/tcg/cris/check_addi.s
> similarity index 100%
> rename from tests/cris/check_addi.s
> rename to tests/tcg/cris/check_addi.s
> diff --git a/tests/cris/check_addiv32.s b/tests/tcg/cris/check_addiv32.s
> similarity index 100%
> rename from tests/cris/check_addiv32.s
> rename to tests/tcg/cris/check_addiv32.s
> diff --git a/tests/cris/check_addm.s b/tests/tcg/cris/check_addm.s
> similarity index 100%
> rename from tests/cris/check_addm.s
> rename to tests/tcg/cris/check_addm.s
> diff --git a/tests/cris/check_addo.c b/tests/tcg/cris/check_addo.c
> similarity index 100%
> rename from tests/cris/check_addo.c
> rename to tests/tcg/cris/check_addo.c
> diff --git a/tests/cris/check_addoq.c b/tests/tcg/cris/check_addoq.c
> similarity index 100%
> rename from tests/cris/check_addoq.c
> rename to tests/tcg/cris/check_addoq.c
> diff --git a/tests/cris/check_addq.s b/tests/tcg/cris/check_addq.s
> similarity index 100%
> rename from tests/cris/check_addq.s
> rename to tests/tcg/cris/check_addq.s
> diff --git a/tests/cris/check_addr.s b/tests/tcg/cris/check_addr.s
> similarity index 100%
> rename from tests/cris/check_addr.s
> rename to tests/tcg/cris/check_addr.s
> diff --git a/tests/cris/check_addxc.s b/tests/tcg/cris/check_addxc.s
> similarity index 100%
> rename from tests/cris/check_addxc.s
> rename to tests/tcg/cris/check_addxc.s
> diff --git a/tests/cris/check_addxm.s b/tests/tcg/cris/check_addxm.s
> similarity index 100%
> rename from tests/cris/check_addxm.s
> rename to tests/tcg/cris/check_addxm.s
> diff --git a/tests/cris/check_addxr.s b/tests/tcg/cris/check_addxr.s
> similarity index 100%
> rename from tests/cris/check_addxr.s
> rename to tests/tcg/cris/check_addxr.s
> diff --git a/tests/cris/check_andc.s b/tests/tcg/cris/check_andc.s
> similarity index 100%
> rename from tests/cris/check_andc.s
> rename to tests/tcg/cris/check_andc.s
> diff --git a/tests/cris/check_andm.s b/tests/tcg/cris/check_andm.s
> similarity index 100%
> rename from tests/cris/check_andm.s
> rename to tests/tcg/cris/check_andm.s
> diff --git a/tests/cris/check_andq.s b/tests/tcg/cris/check_andq.s
> similarity index 100%
> rename from tests/cris/check_andq.s
> rename to tests/tcg/cris/check_andq.s
> diff --git a/tests/cris/check_andr.s b/tests/tcg/cris/check_andr.s
> similarity index 100%
> rename from tests/cris/check_andr.s
> rename to tests/tcg/cris/check_andr.s
> diff --git a/tests/cris/check_asr.s b/tests/tcg/cris/check_asr.s
> similarity index 100%
> rename from tests/cris/check_asr.s
> rename to tests/tcg/cris/check_asr.s
> diff --git a/tests/cris/check_ba.s b/tests/tcg/cris/check_ba.s
> similarity index 100%
> rename from tests/cris/check_ba.s
> rename to tests/tcg/cris/check_ba.s
> diff --git a/tests/cris/check_bas.s b/tests/tcg/cris/check_bas.s
> similarity index 100%
> rename from tests/cris/check_bas.s
> rename to tests/tcg/cris/check_bas.s
> diff --git a/tests/cris/check_bcc.s b/tests/tcg/cris/check_bcc.s
> similarity index 100%
> rename from tests/cris/check_bcc.s
> rename to tests/tcg/cris/check_bcc.s
> diff --git a/tests/cris/check_bound.c b/tests/tcg/cris/check_bound.c
> similarity index 100%
> rename from tests/cris/check_bound.c
> rename to tests/tcg/cris/check_bound.c
> diff --git a/tests/cris/check_boundc.s b/tests/tcg/cris/check_boundc.s
> similarity index 100%
> rename from tests/cris/check_boundc.s
> rename to tests/tcg/cris/check_boundc.s
> diff --git a/tests/cris/check_boundr.s b/tests/tcg/cris/check_boundr.s
> similarity index 100%
> rename from tests/cris/check_boundr.s
> rename to tests/tcg/cris/check_boundr.s
> diff --git a/tests/cris/check_btst.s b/tests/tcg/cris/check_btst.s
> similarity index 100%
> rename from tests/cris/check_btst.s
> rename to tests/tcg/cris/check_btst.s
> diff --git a/tests/cris/check_clearfv32.s b/tests/tcg/cris/check_clearfv32.s
> similarity index 100%
> rename from tests/cris/check_clearfv32.s
> rename to tests/tcg/cris/check_clearfv32.s
> diff --git a/tests/cris/check_clrjmp1.s b/tests/tcg/cris/check_clrjmp1.s
> similarity index 100%
> rename from tests/cris/check_clrjmp1.s
> rename to tests/tcg/cris/check_clrjmp1.s
> diff --git a/tests/cris/check_cmp-2.s b/tests/tcg/cris/check_cmp-2.s
> similarity index 100%
> rename from tests/cris/check_cmp-2.s
> rename to tests/tcg/cris/check_cmp-2.s
> diff --git a/tests/cris/check_cmpc.s b/tests/tcg/cris/check_cmpc.s
> similarity index 100%
> rename from tests/cris/check_cmpc.s
> rename to tests/tcg/cris/check_cmpc.s
> diff --git a/tests/cris/check_cmpm.s b/tests/tcg/cris/check_cmpm.s
> similarity index 100%
> rename from tests/cris/check_cmpm.s
> rename to tests/tcg/cris/check_cmpm.s
> diff --git a/tests/cris/check_cmpq.s b/tests/tcg/cris/check_cmpq.s
> similarity index 100%
> rename from tests/cris/check_cmpq.s
> rename to tests/tcg/cris/check_cmpq.s
> diff --git a/tests/cris/check_cmpr.s b/tests/tcg/cris/check_cmpr.s
> similarity index 100%
> rename from tests/cris/check_cmpr.s
> rename to tests/tcg/cris/check_cmpr.s
> diff --git a/tests/cris/check_cmpxc.s b/tests/tcg/cris/check_cmpxc.s
> similarity index 100%
> rename from tests/cris/check_cmpxc.s
> rename to tests/tcg/cris/check_cmpxc.s
> diff --git a/tests/cris/check_cmpxm.s b/tests/tcg/cris/check_cmpxm.s
> similarity index 100%
> rename from tests/cris/check_cmpxm.s
> rename to tests/tcg/cris/check_cmpxm.s
> diff --git a/tests/cris/check_dstep.s b/tests/tcg/cris/check_dstep.s
> similarity index 100%
> rename from tests/cris/check_dstep.s
> rename to tests/tcg/cris/check_dstep.s
> diff --git a/tests/cris/check_ftag.c b/tests/tcg/cris/check_ftag.c
> similarity index 100%
> rename from tests/cris/check_ftag.c
> rename to tests/tcg/cris/check_ftag.c
> diff --git a/tests/cris/check_gcctorture_pr28634-1.c b/tests/tcg/cris/check_gcctorture_pr28634-1.c
> similarity index 100%
> rename from tests/cris/check_gcctorture_pr28634-1.c
> rename to tests/tcg/cris/check_gcctorture_pr28634-1.c
> diff --git a/tests/cris/check_gcctorture_pr28634.c b/tests/tcg/cris/check_gcctorture_pr28634.c
> similarity index 100%
> rename from tests/cris/check_gcctorture_pr28634.c
> rename to tests/tcg/cris/check_gcctorture_pr28634.c
> diff --git a/tests/cris/check_glibc_kernelversion.c b/tests/tcg/cris/check_glibc_kernelversion.c
> similarity index 100%
> rename from tests/cris/check_glibc_kernelversion.c
> rename to tests/tcg/cris/check_glibc_kernelversion.c
> diff --git a/tests/cris/check_hello.c b/tests/tcg/cris/check_hello.c
> similarity index 100%
> rename from tests/cris/check_hello.c
> rename to tests/tcg/cris/check_hello.c
> diff --git a/tests/cris/check_int64.c b/tests/tcg/cris/check_int64.c
> similarity index 100%
> rename from tests/cris/check_int64.c
> rename to tests/tcg/cris/check_int64.c
> diff --git a/tests/cris/check_jsr.s b/tests/tcg/cris/check_jsr.s
> similarity index 100%
> rename from tests/cris/check_jsr.s
> rename to tests/tcg/cris/check_jsr.s
> diff --git a/tests/cris/check_lapc.s b/tests/tcg/cris/check_lapc.s
> similarity index 100%
> rename from tests/cris/check_lapc.s
> rename to tests/tcg/cris/check_lapc.s
> diff --git a/tests/cris/check_lsl.s b/tests/tcg/cris/check_lsl.s
> similarity index 100%
> rename from tests/cris/check_lsl.s
> rename to tests/tcg/cris/check_lsl.s
> diff --git a/tests/cris/check_lsr.s b/tests/tcg/cris/check_lsr.s
> similarity index 100%
> rename from tests/cris/check_lsr.s
> rename to tests/tcg/cris/check_lsr.s
> diff --git a/tests/cris/check_lz.c b/tests/tcg/cris/check_lz.c
> similarity index 100%
> rename from tests/cris/check_lz.c
> rename to tests/tcg/cris/check_lz.c
> diff --git a/tests/cris/check_mapbrk.c b/tests/tcg/cris/check_mapbrk.c
> similarity index 100%
> rename from tests/cris/check_mapbrk.c
> rename to tests/tcg/cris/check_mapbrk.c
> diff --git a/tests/cris/check_mcp.s b/tests/tcg/cris/check_mcp.s
> similarity index 100%
> rename from tests/cris/check_mcp.s
> rename to tests/tcg/cris/check_mcp.s
> diff --git a/tests/cris/check_mmap1.c b/tests/tcg/cris/check_mmap1.c
> similarity index 100%
> rename from tests/cris/check_mmap1.c
> rename to tests/tcg/cris/check_mmap1.c
> diff --git a/tests/cris/check_mmap2.c b/tests/tcg/cris/check_mmap2.c
> similarity index 100%
> rename from tests/cris/check_mmap2.c
> rename to tests/tcg/cris/check_mmap2.c
> diff --git a/tests/cris/check_mmap3.c b/tests/tcg/cris/check_mmap3.c
> similarity index 100%
> rename from tests/cris/check_mmap3.c
> rename to tests/tcg/cris/check_mmap3.c
> diff --git a/tests/cris/check_movdelsr1.s b/tests/tcg/cris/check_movdelsr1.s
> similarity index 100%
> rename from tests/cris/check_movdelsr1.s
> rename to tests/tcg/cris/check_movdelsr1.s
> diff --git a/tests/cris/check_movecr.s b/tests/tcg/cris/check_movecr.s
> similarity index 100%
> rename from tests/cris/check_movecr.s
> rename to tests/tcg/cris/check_movecr.s
> diff --git a/tests/cris/check_movei.s b/tests/tcg/cris/check_movei.s
> similarity index 100%
> rename from tests/cris/check_movei.s
> rename to tests/tcg/cris/check_movei.s
> diff --git a/tests/cris/check_movemr.s b/tests/tcg/cris/check_movemr.s
> similarity index 100%
> rename from tests/cris/check_movemr.s
> rename to tests/tcg/cris/check_movemr.s
> diff --git a/tests/cris/check_movemrv32.s b/tests/tcg/cris/check_movemrv32.s
> similarity index 100%
> rename from tests/cris/check_movemrv32.s
> rename to tests/tcg/cris/check_movemrv32.s
> diff --git a/tests/cris/check_moveq.c b/tests/tcg/cris/check_moveq.c
> similarity index 100%
> rename from tests/cris/check_moveq.c
> rename to tests/tcg/cris/check_moveq.c
> diff --git a/tests/cris/check_mover.s b/tests/tcg/cris/check_mover.s
> similarity index 100%
> rename from tests/cris/check_mover.s
> rename to tests/tcg/cris/check_mover.s
> diff --git a/tests/cris/check_moverm.s b/tests/tcg/cris/check_moverm.s
> similarity index 100%
> rename from tests/cris/check_moverm.s
> rename to tests/tcg/cris/check_moverm.s
> diff --git a/tests/cris/check_movmp.s b/tests/tcg/cris/check_movmp.s
> similarity index 100%
> rename from tests/cris/check_movmp.s
> rename to tests/tcg/cris/check_movmp.s
> diff --git a/tests/cris/check_movpmv32.s b/tests/tcg/cris/check_movpmv32.s
> similarity index 100%
> rename from tests/cris/check_movpmv32.s
> rename to tests/tcg/cris/check_movpmv32.s
> diff --git a/tests/cris/check_movpr.s b/tests/tcg/cris/check_movpr.s
> similarity index 100%
> rename from tests/cris/check_movpr.s
> rename to tests/tcg/cris/check_movpr.s
> diff --git a/tests/cris/check_movprv32.s b/tests/tcg/cris/check_movprv32.s
> similarity index 100%
> rename from tests/cris/check_movprv32.s
> rename to tests/tcg/cris/check_movprv32.s
> diff --git a/tests/cris/check_movscr.s b/tests/tcg/cris/check_movscr.s
> similarity index 100%
> rename from tests/cris/check_movscr.s
> rename to tests/tcg/cris/check_movscr.s
> diff --git a/tests/cris/check_movsm.s b/tests/tcg/cris/check_movsm.s
> similarity index 100%
> rename from tests/cris/check_movsm.s
> rename to tests/tcg/cris/check_movsm.s
> diff --git a/tests/cris/check_movsr.s b/tests/tcg/cris/check_movsr.s
> similarity index 100%
> rename from tests/cris/check_movsr.s
> rename to tests/tcg/cris/check_movsr.s
> diff --git a/tests/cris/check_movucr.s b/tests/tcg/cris/check_movucr.s
> similarity index 100%
> rename from tests/cris/check_movucr.s
> rename to tests/tcg/cris/check_movucr.s
> diff --git a/tests/cris/check_movum.s b/tests/tcg/cris/check_movum.s
> similarity index 100%
> rename from tests/cris/check_movum.s
> rename to tests/tcg/cris/check_movum.s
> diff --git a/tests/cris/check_movur.s b/tests/tcg/cris/check_movur.s
> similarity index 100%
> rename from tests/cris/check_movur.s
> rename to tests/tcg/cris/check_movur.s
> diff --git a/tests/cris/check_mulv32.s b/tests/tcg/cris/check_mulv32.s
> similarity index 100%
> rename from tests/cris/check_mulv32.s
> rename to tests/tcg/cris/check_mulv32.s
> diff --git a/tests/cris/check_mulx.s b/tests/tcg/cris/check_mulx.s
> similarity index 100%
> rename from tests/cris/check_mulx.s
> rename to tests/tcg/cris/check_mulx.s
> diff --git a/tests/cris/check_neg.s b/tests/tcg/cris/check_neg.s
> similarity index 100%
> rename from tests/cris/check_neg.s
> rename to tests/tcg/cris/check_neg.s
> diff --git a/tests/cris/check_not.s b/tests/tcg/cris/check_not.s
> similarity index 100%
> rename from tests/cris/check_not.s
> rename to tests/tcg/cris/check_not.s
> diff --git a/tests/cris/check_openpf1.c b/tests/tcg/cris/check_openpf1.c
> similarity index 100%
> rename from tests/cris/check_openpf1.c
> rename to tests/tcg/cris/check_openpf1.c
> diff --git a/tests/cris/check_openpf2.c b/tests/tcg/cris/check_openpf2.c
> similarity index 100%
> rename from tests/cris/check_openpf2.c
> rename to tests/tcg/cris/check_openpf2.c
> diff --git a/tests/cris/check_openpf3.c b/tests/tcg/cris/check_openpf3.c
> similarity index 100%
> rename from tests/cris/check_openpf3.c
> rename to tests/tcg/cris/check_openpf3.c
> diff --git a/tests/cris/check_openpf4.c b/tests/tcg/cris/check_openpf4.c
> similarity index 100%
> rename from tests/cris/check_openpf4.c
> rename to tests/tcg/cris/check_openpf4.c
> diff --git a/tests/cris/check_openpf5.c b/tests/tcg/cris/check_openpf5.c
> similarity index 100%
> rename from tests/cris/check_openpf5.c
> rename to tests/tcg/cris/check_openpf5.c
> diff --git a/tests/cris/check_orc.s b/tests/tcg/cris/check_orc.s
> similarity index 100%
> rename from tests/cris/check_orc.s
> rename to tests/tcg/cris/check_orc.s
> diff --git a/tests/cris/check_orm.s b/tests/tcg/cris/check_orm.s
> similarity index 100%
> rename from tests/cris/check_orm.s
> rename to tests/tcg/cris/check_orm.s
> diff --git a/tests/cris/check_orq.s b/tests/tcg/cris/check_orq.s
> similarity index 100%
> rename from tests/cris/check_orq.s
> rename to tests/tcg/cris/check_orq.s
> diff --git a/tests/cris/check_orr.s b/tests/tcg/cris/check_orr.s
> similarity index 100%
> rename from tests/cris/check_orr.s
> rename to tests/tcg/cris/check_orr.s
> diff --git a/tests/cris/check_ret.s b/tests/tcg/cris/check_ret.s
> similarity index 100%
> rename from tests/cris/check_ret.s
> rename to tests/tcg/cris/check_ret.s
> diff --git a/tests/cris/check_scc.s b/tests/tcg/cris/check_scc.s
> similarity index 100%
> rename from tests/cris/check_scc.s
> rename to tests/tcg/cris/check_scc.s
> diff --git a/tests/cris/check_settls1.c b/tests/tcg/cris/check_settls1.c
> similarity index 100%
> rename from tests/cris/check_settls1.c
> rename to tests/tcg/cris/check_settls1.c
> diff --git a/tests/cris/check_sigalrm.c b/tests/tcg/cris/check_sigalrm.c
> similarity index 100%
> rename from tests/cris/check_sigalrm.c
> rename to tests/tcg/cris/check_sigalrm.c
> diff --git a/tests/cris/check_stat1.c b/tests/tcg/cris/check_stat1.c
> similarity index 100%
> rename from tests/cris/check_stat1.c
> rename to tests/tcg/cris/check_stat1.c
> diff --git a/tests/cris/check_stat2.c b/tests/tcg/cris/check_stat2.c
> similarity index 100%
> rename from tests/cris/check_stat2.c
> rename to tests/tcg/cris/check_stat2.c
> diff --git a/tests/cris/check_stat3.c b/tests/tcg/cris/check_stat3.c
> similarity index 100%
> rename from tests/cris/check_stat3.c
> rename to tests/tcg/cris/check_stat3.c
> diff --git a/tests/cris/check_stat4.c b/tests/tcg/cris/check_stat4.c
> similarity index 100%
> rename from tests/cris/check_stat4.c
> rename to tests/tcg/cris/check_stat4.c
> diff --git a/tests/cris/check_subc.s b/tests/tcg/cris/check_subc.s
> similarity index 100%
> rename from tests/cris/check_subc.s
> rename to tests/tcg/cris/check_subc.s
> diff --git a/tests/cris/check_subm.s b/tests/tcg/cris/check_subm.s
> similarity index 100%
> rename from tests/cris/check_subm.s
> rename to tests/tcg/cris/check_subm.s
> diff --git a/tests/cris/check_subq.s b/tests/tcg/cris/check_subq.s
> similarity index 100%
> rename from tests/cris/check_subq.s
> rename to tests/tcg/cris/check_subq.s
> diff --git a/tests/cris/check_subr.s b/tests/tcg/cris/check_subr.s
> similarity index 100%
> rename from tests/cris/check_subr.s
> rename to tests/tcg/cris/check_subr.s
> diff --git a/tests/cris/check_swap.c b/tests/tcg/cris/check_swap.c
> similarity index 100%
> rename from tests/cris/check_swap.c
> rename to tests/tcg/cris/check_swap.c
> diff --git a/tests/cris/check_time1.c b/tests/tcg/cris/check_time1.c
> similarity index 100%
> rename from tests/cris/check_time1.c
> rename to tests/tcg/cris/check_time1.c
> diff --git a/tests/cris/check_time2.c b/tests/tcg/cris/check_time2.c
> similarity index 100%
> rename from tests/cris/check_time2.c
> rename to tests/tcg/cris/check_time2.c
> diff --git a/tests/cris/check_xarith.s b/tests/tcg/cris/check_xarith.s
> similarity index 100%
> rename from tests/cris/check_xarith.s
> rename to tests/tcg/cris/check_xarith.s
> diff --git a/tests/cris/crisutils.h b/tests/tcg/cris/crisutils.h
> similarity index 100%
> rename from tests/cris/crisutils.h
> rename to tests/tcg/cris/crisutils.h
> diff --git a/tests/cris/crt.s b/tests/tcg/cris/crt.s
> similarity index 100%
> rename from tests/cris/crt.s
> rename to tests/tcg/cris/crt.s
> diff --git a/tests/cris/sys.c b/tests/tcg/cris/sys.c
> similarity index 100%
> rename from tests/cris/sys.c
> rename to tests/tcg/cris/sys.c
> diff --git a/tests/cris/sys.h b/tests/tcg/cris/sys.h
> similarity index 100%
> rename from tests/cris/sys.h
> rename to tests/tcg/cris/sys.h
> diff --git a/tests/cris/testutils.inc b/tests/tcg/cris/testutils.inc
> similarity index 100%
> rename from tests/cris/testutils.inc
> rename to tests/tcg/cris/testutils.inc
> diff --git a/tests/hello-arm.c b/tests/tcg/hello-arm.c
> similarity index 100%
> rename from tests/hello-arm.c
> rename to tests/tcg/hello-arm.c
> diff --git a/tests/hello-i386.c b/tests/tcg/hello-i386.c
> similarity index 100%
> rename from tests/hello-i386.c
> rename to tests/tcg/hello-i386.c
> diff --git a/tests/hello-mips.c b/tests/tcg/hello-mips.c
> similarity index 100%
> rename from tests/hello-mips.c
> rename to tests/tcg/hello-mips.c
> diff --git a/tests/linux-test.c b/tests/tcg/linux-test.c
> similarity index 100%
> rename from tests/linux-test.c
> rename to tests/tcg/linux-test.c
> diff --git a/tests/lm32/Makefile b/tests/tcg/lm32/Makefile
> similarity index 100%
> rename from tests/lm32/Makefile
> rename to tests/tcg/lm32/Makefile
> diff --git a/tests/lm32/crt.S b/tests/tcg/lm32/crt.S
> similarity index 100%
> rename from tests/lm32/crt.S
> rename to tests/tcg/lm32/crt.S
> diff --git a/tests/lm32/linker.ld b/tests/tcg/lm32/linker.ld
> similarity index 100%
> rename from tests/lm32/linker.ld
> rename to tests/tcg/lm32/linker.ld
> diff --git a/tests/lm32/macros.inc b/tests/tcg/lm32/macros.inc
> similarity index 100%
> rename from tests/lm32/macros.inc
> rename to tests/tcg/lm32/macros.inc
> diff --git a/tests/lm32/test_add.S b/tests/tcg/lm32/test_add.S
> similarity index 100%
> rename from tests/lm32/test_add.S
> rename to tests/tcg/lm32/test_add.S
> diff --git a/tests/lm32/test_addi.S b/tests/tcg/lm32/test_addi.S
> similarity index 100%
> rename from tests/lm32/test_addi.S
> rename to tests/tcg/lm32/test_addi.S
> diff --git a/tests/lm32/test_and.S b/tests/tcg/lm32/test_and.S
> similarity index 100%
> rename from tests/lm32/test_and.S
> rename to tests/tcg/lm32/test_and.S
> diff --git a/tests/lm32/test_andhi.S b/tests/tcg/lm32/test_andhi.S
> similarity index 100%
> rename from tests/lm32/test_andhi.S
> rename to tests/tcg/lm32/test_andhi.S
> diff --git a/tests/lm32/test_andi.S b/tests/tcg/lm32/test_andi.S
> similarity index 100%
> rename from tests/lm32/test_andi.S
> rename to tests/tcg/lm32/test_andi.S
> diff --git a/tests/lm32/test_b.S b/tests/tcg/lm32/test_b.S
> similarity index 100%
> rename from tests/lm32/test_b.S
> rename to tests/tcg/lm32/test_b.S
> diff --git a/tests/lm32/test_be.S b/tests/tcg/lm32/test_be.S
> similarity index 100%
> rename from tests/lm32/test_be.S
> rename to tests/tcg/lm32/test_be.S
> diff --git a/tests/lm32/test_bg.S b/tests/tcg/lm32/test_bg.S
> similarity index 100%
> rename from tests/lm32/test_bg.S
> rename to tests/tcg/lm32/test_bg.S
> diff --git a/tests/lm32/test_bge.S b/tests/tcg/lm32/test_bge.S
> similarity index 100%
> rename from tests/lm32/test_bge.S
> rename to tests/tcg/lm32/test_bge.S
> diff --git a/tests/lm32/test_bgeu.S b/tests/tcg/lm32/test_bgeu.S
> similarity index 100%
> rename from tests/lm32/test_bgeu.S
> rename to tests/tcg/lm32/test_bgeu.S
> diff --git a/tests/lm32/test_bgu.S b/tests/tcg/lm32/test_bgu.S
> similarity index 100%
> rename from tests/lm32/test_bgu.S
> rename to tests/tcg/lm32/test_bgu.S
> diff --git a/tests/lm32/test_bi.S b/tests/tcg/lm32/test_bi.S
> similarity index 100%
> rename from tests/lm32/test_bi.S
> rename to tests/tcg/lm32/test_bi.S
> diff --git a/tests/lm32/test_bne.S b/tests/tcg/lm32/test_bne.S
> similarity index 100%
> rename from tests/lm32/test_bne.S
> rename to tests/tcg/lm32/test_bne.S
> diff --git a/tests/lm32/test_break.S b/tests/tcg/lm32/test_break.S
> similarity index 100%
> rename from tests/lm32/test_break.S
> rename to tests/tcg/lm32/test_break.S
> diff --git a/tests/lm32/test_bret.S b/tests/tcg/lm32/test_bret.S
> similarity index 100%
> rename from tests/lm32/test_bret.S
> rename to tests/tcg/lm32/test_bret.S
> diff --git a/tests/lm32/test_call.S b/tests/tcg/lm32/test_call.S
> similarity index 100%
> rename from tests/lm32/test_call.S
> rename to tests/tcg/lm32/test_call.S
> diff --git a/tests/lm32/test_calli.S b/tests/tcg/lm32/test_calli.S
> similarity index 100%
> rename from tests/lm32/test_calli.S
> rename to tests/tcg/lm32/test_calli.S
> diff --git a/tests/lm32/test_cmpe.S b/tests/tcg/lm32/test_cmpe.S
> similarity index 100%
> rename from tests/lm32/test_cmpe.S
> rename to tests/tcg/lm32/test_cmpe.S
> diff --git a/tests/lm32/test_cmpei.S b/tests/tcg/lm32/test_cmpei.S
> similarity index 100%
> rename from tests/lm32/test_cmpei.S
> rename to tests/tcg/lm32/test_cmpei.S
> diff --git a/tests/lm32/test_cmpg.S b/tests/tcg/lm32/test_cmpg.S
> similarity index 100%
> rename from tests/lm32/test_cmpg.S
> rename to tests/tcg/lm32/test_cmpg.S
> diff --git a/tests/lm32/test_cmpge.S b/tests/tcg/lm32/test_cmpge.S
> similarity index 100%
> rename from tests/lm32/test_cmpge.S
> rename to tests/tcg/lm32/test_cmpge.S
> diff --git a/tests/lm32/test_cmpgei.S b/tests/tcg/lm32/test_cmpgei.S
> similarity index 100%
> rename from tests/lm32/test_cmpgei.S
> rename to tests/tcg/lm32/test_cmpgei.S
> diff --git a/tests/lm32/test_cmpgeu.S b/tests/tcg/lm32/test_cmpgeu.S
> similarity index 100%
> rename from tests/lm32/test_cmpgeu.S
> rename to tests/tcg/lm32/test_cmpgeu.S
> diff --git a/tests/lm32/test_cmpgeui.S b/tests/tcg/lm32/test_cmpgeui.S
> similarity index 100%
> rename from tests/lm32/test_cmpgeui.S
> rename to tests/tcg/lm32/test_cmpgeui.S
> diff --git a/tests/lm32/test_cmpgi.S b/tests/tcg/lm32/test_cmpgi.S
> similarity index 100%
> rename from tests/lm32/test_cmpgi.S
> rename to tests/tcg/lm32/test_cmpgi.S
> diff --git a/tests/lm32/test_cmpgu.S b/tests/tcg/lm32/test_cmpgu.S
> similarity index 100%
> rename from tests/lm32/test_cmpgu.S
> rename to tests/tcg/lm32/test_cmpgu.S
> diff --git a/tests/lm32/test_cmpgui.S b/tests/tcg/lm32/test_cmpgui.S
> similarity index 100%
> rename from tests/lm32/test_cmpgui.S
> rename to tests/tcg/lm32/test_cmpgui.S
> diff --git a/tests/lm32/test_cmpne.S b/tests/tcg/lm32/test_cmpne.S
> similarity index 100%
> rename from tests/lm32/test_cmpne.S
> rename to tests/tcg/lm32/test_cmpne.S
> diff --git a/tests/lm32/test_cmpnei.S b/tests/tcg/lm32/test_cmpnei.S
> similarity index 100%
> rename from tests/lm32/test_cmpnei.S
> rename to tests/tcg/lm32/test_cmpnei.S
> diff --git a/tests/lm32/test_divu.S b/tests/tcg/lm32/test_divu.S
> similarity index 100%
> rename from tests/lm32/test_divu.S
> rename to tests/tcg/lm32/test_divu.S
> diff --git a/tests/lm32/test_eret.S b/tests/tcg/lm32/test_eret.S
> similarity index 100%
> rename from tests/lm32/test_eret.S
> rename to tests/tcg/lm32/test_eret.S
> diff --git a/tests/lm32/test_lb.S b/tests/tcg/lm32/test_lb.S
> similarity index 100%
> rename from tests/lm32/test_lb.S
> rename to tests/tcg/lm32/test_lb.S
> diff --git a/tests/lm32/test_lbu.S b/tests/tcg/lm32/test_lbu.S
> similarity index 100%
> rename from tests/lm32/test_lbu.S
> rename to tests/tcg/lm32/test_lbu.S
> diff --git a/tests/lm32/test_lh.S b/tests/tcg/lm32/test_lh.S
> similarity index 100%
> rename from tests/lm32/test_lh.S
> rename to tests/tcg/lm32/test_lh.S
> diff --git a/tests/lm32/test_lhu.S b/tests/tcg/lm32/test_lhu.S
> similarity index 100%
> rename from tests/lm32/test_lhu.S
> rename to tests/tcg/lm32/test_lhu.S
> diff --git a/tests/lm32/test_lw.S b/tests/tcg/lm32/test_lw.S
> similarity index 100%
> rename from tests/lm32/test_lw.S
> rename to tests/tcg/lm32/test_lw.S
> diff --git a/tests/lm32/test_modu.S b/tests/tcg/lm32/test_modu.S
> similarity index 100%
> rename from tests/lm32/test_modu.S
> rename to tests/tcg/lm32/test_modu.S
> diff --git a/tests/lm32/test_mul.S b/tests/tcg/lm32/test_mul.S
> similarity index 100%
> rename from tests/lm32/test_mul.S
> rename to tests/tcg/lm32/test_mul.S
> diff --git a/tests/lm32/test_muli.S b/tests/tcg/lm32/test_muli.S
> similarity index 100%
> rename from tests/lm32/test_muli.S
> rename to tests/tcg/lm32/test_muli.S
> diff --git a/tests/lm32/test_nor.S b/tests/tcg/lm32/test_nor.S
> similarity index 100%
> rename from tests/lm32/test_nor.S
> rename to tests/tcg/lm32/test_nor.S
> diff --git a/tests/lm32/test_nori.S b/tests/tcg/lm32/test_nori.S
> similarity index 100%
> rename from tests/lm32/test_nori.S
> rename to tests/tcg/lm32/test_nori.S
> diff --git a/tests/lm32/test_or.S b/tests/tcg/lm32/test_or.S
> similarity index 100%
> rename from tests/lm32/test_or.S
> rename to tests/tcg/lm32/test_or.S
> diff --git a/tests/lm32/test_orhi.S b/tests/tcg/lm32/test_orhi.S
> similarity index 100%
> rename from tests/lm32/test_orhi.S
> rename to tests/tcg/lm32/test_orhi.S
> diff --git a/tests/lm32/test_ori.S b/tests/tcg/lm32/test_ori.S
> similarity index 100%
> rename from tests/lm32/test_ori.S
> rename to tests/tcg/lm32/test_ori.S
> diff --git a/tests/lm32/test_ret.S b/tests/tcg/lm32/test_ret.S
> similarity index 100%
> rename from tests/lm32/test_ret.S
> rename to tests/tcg/lm32/test_ret.S
> diff --git a/tests/lm32/test_sb.S b/tests/tcg/lm32/test_sb.S
> similarity index 100%
> rename from tests/lm32/test_sb.S
> rename to tests/tcg/lm32/test_sb.S
> diff --git a/tests/lm32/test_scall.S b/tests/tcg/lm32/test_scall.S
> similarity index 100%
> rename from tests/lm32/test_scall.S
> rename to tests/tcg/lm32/test_scall.S
> diff --git a/tests/lm32/test_sextb.S b/tests/tcg/lm32/test_sextb.S
> similarity index 100%
> rename from tests/lm32/test_sextb.S
> rename to tests/tcg/lm32/test_sextb.S
> diff --git a/tests/lm32/test_sexth.S b/tests/tcg/lm32/test_sexth.S
> similarity index 100%
> rename from tests/lm32/test_sexth.S
> rename to tests/tcg/lm32/test_sexth.S
> diff --git a/tests/lm32/test_sh.S b/tests/tcg/lm32/test_sh.S
> similarity index 100%
> rename from tests/lm32/test_sh.S
> rename to tests/tcg/lm32/test_sh.S
> diff --git a/tests/lm32/test_sl.S b/tests/tcg/lm32/test_sl.S
> similarity index 100%
> rename from tests/lm32/test_sl.S
> rename to tests/tcg/lm32/test_sl.S
> diff --git a/tests/lm32/test_sli.S b/tests/tcg/lm32/test_sli.S
> similarity index 100%
> rename from tests/lm32/test_sli.S
> rename to tests/tcg/lm32/test_sli.S
> diff --git a/tests/lm32/test_sr.S b/tests/tcg/lm32/test_sr.S
> similarity index 100%
> rename from tests/lm32/test_sr.S
> rename to tests/tcg/lm32/test_sr.S
> diff --git a/tests/lm32/test_sri.S b/tests/tcg/lm32/test_sri.S
> similarity index 100%
> rename from tests/lm32/test_sri.S
> rename to tests/tcg/lm32/test_sri.S
> diff --git a/tests/lm32/test_sru.S b/tests/tcg/lm32/test_sru.S
> similarity index 100%
> rename from tests/lm32/test_sru.S
> rename to tests/tcg/lm32/test_sru.S
> diff --git a/tests/lm32/test_srui.S b/tests/tcg/lm32/test_srui.S
> similarity index 100%
> rename from tests/lm32/test_srui.S
> rename to tests/tcg/lm32/test_srui.S
> diff --git a/tests/lm32/test_sub.S b/tests/tcg/lm32/test_sub.S
> similarity index 100%
> rename from tests/lm32/test_sub.S
> rename to tests/tcg/lm32/test_sub.S
> diff --git a/tests/lm32/test_sw.S b/tests/tcg/lm32/test_sw.S
> similarity index 100%
> rename from tests/lm32/test_sw.S
> rename to tests/tcg/lm32/test_sw.S
> diff --git a/tests/lm32/test_xnor.S b/tests/tcg/lm32/test_xnor.S
> similarity index 100%
> rename from tests/lm32/test_xnor.S
> rename to tests/tcg/lm32/test_xnor.S
> diff --git a/tests/lm32/test_xnori.S b/tests/tcg/lm32/test_xnori.S
> similarity index 100%
> rename from tests/lm32/test_xnori.S
> rename to tests/tcg/lm32/test_xnori.S
> diff --git a/tests/lm32/test_xor.S b/tests/tcg/lm32/test_xor.S
> similarity index 100%
> rename from tests/lm32/test_xor.S
> rename to tests/tcg/lm32/test_xor.S
> diff --git a/tests/lm32/test_xori.S b/tests/tcg/lm32/test_xori.S
> similarity index 100%
> rename from tests/lm32/test_xori.S
> rename to tests/tcg/lm32/test_xori.S
> diff --git a/tests/pi_10.com b/tests/tcg/pi_10.com
> similarity index 100%
> rename from tests/pi_10.com
> rename to tests/tcg/pi_10.com
> diff --git a/tests/runcom.c b/tests/tcg/runcom.c
> similarity index 100%
> rename from tests/runcom.c
> rename to tests/tcg/runcom.c
> diff --git a/tests/sha1.c b/tests/tcg/sha1.c
> similarity index 100%
> rename from tests/sha1.c
> rename to tests/tcg/sha1.c
> diff --git a/tests/test-arm-iwmmxt.s b/tests/tcg/test-arm-iwmmxt.s
> similarity index 100%
> rename from tests/test-arm-iwmmxt.s
> rename to tests/tcg/test-arm-iwmmxt.s
> diff --git a/tests/test-i386-code16.S b/tests/tcg/test-i386-code16.S
> similarity index 100%
> rename from tests/test-i386-code16.S
> rename to tests/tcg/test-i386-code16.S
> diff --git a/tests/test-i386-muldiv.h b/tests/tcg/test-i386-muldiv.h
> similarity index 100%
> rename from tests/test-i386-muldiv.h
> rename to tests/tcg/test-i386-muldiv.h
> diff --git a/tests/test-i386-shift.h b/tests/tcg/test-i386-shift.h
> similarity index 100%
> rename from tests/test-i386-shift.h
> rename to tests/tcg/test-i386-shift.h
> diff --git a/tests/test-i386-ssse3.c b/tests/tcg/test-i386-ssse3.c
> similarity index 100%
> rename from tests/test-i386-ssse3.c
> rename to tests/tcg/test-i386-ssse3.c
> diff --git a/tests/test-i386-vm86.S b/tests/tcg/test-i386-vm86.S
> similarity index 100%
> rename from tests/test-i386-vm86.S
> rename to tests/tcg/test-i386-vm86.S
> diff --git a/tests/test-i386.c b/tests/tcg/test-i386.c
> similarity index 100%
> rename from tests/test-i386.c
> rename to tests/tcg/test-i386.c
> diff --git a/tests/test-i386.h b/tests/tcg/test-i386.h
> similarity index 100%
> rename from tests/test-i386.h
> rename to tests/tcg/test-i386.h
> diff --git a/tests/test-mmap.c b/tests/tcg/test-mmap.c
> similarity index 100%
> rename from tests/test-mmap.c
> rename to tests/tcg/test-mmap.c
> diff --git a/tests/test_path.c b/tests/tcg/test_path.c
> similarity index 100%
> rename from tests/test_path.c
> rename to tests/tcg/test_path.c
> diff --git a/tests/testthread.c b/tests/tcg/testthread.c
> similarity index 100%
> rename from tests/testthread.c
> rename to tests/tcg/testthread.c
> diff --git a/tests/xtensa/Makefile b/tests/tcg/xtensa/Makefile
> similarity index 100%
> rename from tests/xtensa/Makefile
> rename to tests/tcg/xtensa/Makefile
> diff --git a/tests/xtensa/crt.S b/tests/tcg/xtensa/crt.S
> similarity index 100%
> rename from tests/xtensa/crt.S
> rename to tests/tcg/xtensa/crt.S
> diff --git a/tests/xtensa/linker.ld b/tests/tcg/xtensa/linker.ld
> similarity index 100%
> rename from tests/xtensa/linker.ld
> rename to tests/tcg/xtensa/linker.ld
> diff --git a/tests/xtensa/macros.inc b/tests/tcg/xtensa/macros.inc
> similarity index 100%
> rename from tests/xtensa/macros.inc
> rename to tests/tcg/xtensa/macros.inc
> diff --git a/tests/xtensa/test_b.S b/tests/tcg/xtensa/test_b.S
> similarity index 100%
> rename from tests/xtensa/test_b.S
> rename to tests/tcg/xtensa/test_b.S
> diff --git a/tests/xtensa/test_bi.S b/tests/tcg/xtensa/test_bi.S
> similarity index 100%
> rename from tests/xtensa/test_bi.S
> rename to tests/tcg/xtensa/test_bi.S
> diff --git a/tests/xtensa/test_boolean.S b/tests/tcg/xtensa/test_boolean.S
> similarity index 100%
> rename from tests/xtensa/test_boolean.S
> rename to tests/tcg/xtensa/test_boolean.S
> diff --git a/tests/xtensa/test_bz.S b/tests/tcg/xtensa/test_bz.S
> similarity index 100%
> rename from tests/xtensa/test_bz.S
> rename to tests/tcg/xtensa/test_bz.S
> diff --git a/tests/xtensa/test_clamps.S b/tests/tcg/xtensa/test_clamps.S
> similarity index 100%
> rename from tests/xtensa/test_clamps.S
> rename to tests/tcg/xtensa/test_clamps.S
> diff --git a/tests/xtensa/test_fail.S b/tests/tcg/xtensa/test_fail.S
> similarity index 100%
> rename from tests/xtensa/test_fail.S
> rename to tests/tcg/xtensa/test_fail.S
> diff --git a/tests/xtensa/test_interrupt.S b/tests/tcg/xtensa/test_interrupt.S
> similarity index 100%
> rename from tests/xtensa/test_interrupt.S
> rename to tests/tcg/xtensa/test_interrupt.S
> diff --git a/tests/xtensa/test_loop.S b/tests/tcg/xtensa/test_loop.S
> similarity index 100%
> rename from tests/xtensa/test_loop.S
> rename to tests/tcg/xtensa/test_loop.S
> diff --git a/tests/xtensa/test_mac16.S b/tests/tcg/xtensa/test_mac16.S
> similarity index 100%
> rename from tests/xtensa/test_mac16.S
> rename to tests/tcg/xtensa/test_mac16.S
> diff --git a/tests/xtensa/test_max.S b/tests/tcg/xtensa/test_max.S
> similarity index 100%
> rename from tests/xtensa/test_max.S
> rename to tests/tcg/xtensa/test_max.S
> diff --git a/tests/xtensa/test_min.S b/tests/tcg/xtensa/test_min.S
> similarity index 100%
> rename from tests/xtensa/test_min.S
> rename to tests/tcg/xtensa/test_min.S
> diff --git a/tests/xtensa/test_mmu.S b/tests/tcg/xtensa/test_mmu.S
> similarity index 100%
> rename from tests/xtensa/test_mmu.S
> rename to tests/tcg/xtensa/test_mmu.S
> diff --git a/tests/xtensa/test_mul16.S b/tests/tcg/xtensa/test_mul16.S
> similarity index 100%
> rename from tests/xtensa/test_mul16.S
> rename to tests/tcg/xtensa/test_mul16.S
> diff --git a/tests/xtensa/test_mul32.S b/tests/tcg/xtensa/test_mul32.S
> similarity index 100%
> rename from tests/xtensa/test_mul32.S
> rename to tests/tcg/xtensa/test_mul32.S
> diff --git a/tests/xtensa/test_nsa.S b/tests/tcg/xtensa/test_nsa.S
> similarity index 100%
> rename from tests/xtensa/test_nsa.S
> rename to tests/tcg/xtensa/test_nsa.S
> diff --git a/tests/xtensa/test_pipeline.S b/tests/tcg/xtensa/test_pipeline.S
> similarity index 100%
> rename from tests/xtensa/test_pipeline.S
> rename to tests/tcg/xtensa/test_pipeline.S
> diff --git a/tests/xtensa/test_quo.S b/tests/tcg/xtensa/test_quo.S
> similarity index 100%
> rename from tests/xtensa/test_quo.S
> rename to tests/tcg/xtensa/test_quo.S
> diff --git a/tests/xtensa/test_rem.S b/tests/tcg/xtensa/test_rem.S
> similarity index 100%
> rename from tests/xtensa/test_rem.S
> rename to tests/tcg/xtensa/test_rem.S
> diff --git a/tests/xtensa/test_rst0.S b/tests/tcg/xtensa/test_rst0.S
> similarity index 100%
> rename from tests/xtensa/test_rst0.S
> rename to tests/tcg/xtensa/test_rst0.S
> diff --git a/tests/xtensa/test_sar.S b/tests/tcg/xtensa/test_sar.S
> similarity index 100%
> rename from tests/xtensa/test_sar.S
> rename to tests/tcg/xtensa/test_sar.S
> diff --git a/tests/xtensa/test_sext.S b/tests/tcg/xtensa/test_sext.S
> similarity index 100%
> rename from tests/xtensa/test_sext.S
> rename to tests/tcg/xtensa/test_sext.S
> diff --git a/tests/xtensa/test_shift.S b/tests/tcg/xtensa/test_shift.S
> similarity index 100%
> rename from tests/xtensa/test_shift.S
> rename to tests/tcg/xtensa/test_shift.S
> diff --git a/tests/xtensa/test_timer.S b/tests/tcg/xtensa/test_timer.S
> similarity index 100%
> rename from tests/xtensa/test_timer.S
> rename to tests/tcg/xtensa/test_timer.S
> diff --git a/tests/xtensa/test_windowed.S b/tests/tcg/xtensa/test_windowed.S
> similarity index 100%
> rename from tests/xtensa/test_windowed.S
> rename to tests/tcg/xtensa/test_windowed.S
> diff --git a/tests/xtensa/vectors.S b/tests/tcg/xtensa/vectors.S
> similarity index 100%
> rename from tests/xtensa/vectors.S
> rename to tests/tcg/xtensa/vectors.S
Avi Kivity - Jan. 9, 2012, 4:16 p.m.
On 01/09/2012 06:04 PM, Anthony Liguori wrote:
> Hi,
>
> I'm going to apply this series quickly and will start running 'make
> check-quick' as part a sniff test before pushing patches.
>
> I'd like to request that all maintainers/submaintainers do the same
> and that everyone contributes unit tests to this target.
>

Good stuff.

> The general rules for 'make check-quick':
>
>  1) It must complete in less than 10 minutes start to finish (the
> entire rule).  We can re-examine this over time but for now, it seems
> like a reasonable limit.
>
>  2) It must gracefully degrade across architectures/targets.  Do not
> assume qemu-system-x86_64 is present or that an arm cross compiler is
> available.
>

There's a cross compiler in Fedora, arm-gp2x-linux-gcc.x86_64.  Is it
suitable for make check?
Anthony Liguori - Jan. 9, 2012, 4:28 p.m.
On 01/09/2012 10:16 AM, Avi Kivity wrote:
> On 01/09/2012 06:04 PM, Anthony Liguori wrote:
>> Hi,
>>
>> I'm going to apply this series quickly and will start running 'make
>> check-quick' as part a sniff test before pushing patches.
>>
>> I'd like to request that all maintainers/submaintainers do the same
>> and that everyone contributes unit tests to this target.
>>
>
> Good stuff.
>
>> The general rules for 'make check-quick':
>>
>>   1) It must complete in less than 10 minutes start to finish (the
>> entire rule).  We can re-examine this over time but for now, it seems
>> like a reasonable limit.
>>
>>   2) It must gracefully degrade across architectures/targets.  Do not
>> assume qemu-system-x86_64 is present or that an arm cross compiler is
>> available.
>>
>
> There's a cross compiler in Fedora, arm-gp2x-linux-gcc.x86_64.  Is it
> suitable for make check?

It must degrade gracefully so if you probe for a cross compiler in configure and 
then disable/enable tests appropriately, that's fine.

But 'make check' should succeed and do something useful with only the 
dependencies required to build QEMU.  It can test fewer things of course.

Regards,

Anthony Liguori

>
Daniel Gollub - Jan. 9, 2012, 4:47 p.m.
Hi Anthony,

On Monday, January 09, 2012 05:04:38 PM Anthony Liguori wrote:
[...]
> It would also be nice to get this integrated as part of buildbot. 
> Stefan/Daniel, is that something we can do?

Sure, that is pretty easy modification for the current buildbot environment we just need to add:

f_default.addStep(Test(command=["make", "check-quick"], env={'LANG': 'C'}, maxTime=1200))

to all "buildbot factories".

We could even let it fail if it does not finish within 10 minutes ;)
But for the beginning I would suggest to allow to run 20 minutes on the buildslaves so we get some experiences how long it takes.

Best Regards,
Daniel
Paul Brook - Jan. 9, 2012, 5:47 p.m.
> I'm going to apply this series quickly and will start running 'make
> check-quick' as part a sniff test before pushing patches.
> 
> I'd like to request that all maintainers/submaintainers do the same and
> that everyone contributes unit tests to this target.
> 
> The general rules for 'make check-quick':
> 
>   1) It must complete in less than 10 minutes start to finish (the entire
> rule). We can re-examine this over time but for now, it seems like a
> reasonable limit.

No objection in principle, though I'm a bit unclear on the guidelines.
In particular:

- 10 minutes on what hardware?  10 minutes on one of my fat build machines is 
an hour on an average year-old laptop/desktop, and I guess 6+ hours on the 
netbook I use when travelling.  Maybe relating this to the time taken to do a 
clean build would make more sense?

- What level of testing is appropriate? As a maintainer when can/should I 
bounce a patch due to lack of tests? e.g should new device emulation come with 
unit tests? New infrastructure? What about fixes to both of the above, should 
these include regression tests? Given the size of the test surface for many 
components (in particular emulated CPUs), I'm guessing we're looking at 
extremely basic smoke-tests.  Consistent regression tests or any sort of 
architecture conformance tests are going to completely blow your time budget.

Obviously level of testing is always a bit of a judgement call - anyone who 
claims of have complete test coverage is either lying or writing trivially 
uninteresting code.  However given qemu has historically had zero active test 
coverage I'd appreciate some guidance (as both maintainers and contrubutor).

Paul
Andreas Färber - Jan. 9, 2012, 7:18 p.m.
Am 09.01.2012 16:56, schrieb Anthony Liguori:
> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>

Reviewed-by: Andreas Färber <afaerber@suse.de>

tests/tcg looks better than tests/tcg-test, thanks.

Andreas

> ---
>  Makefile                                          |    4 ++--
>  configure                                         |    6 +++---
>  tests/{ => tcg}/Makefile                          |    0
>  tests/{ => tcg}/alpha/Makefile                    |    0
>  tests/{ => tcg}/alpha/crt.s                       |    0
>  tests/{ => tcg}/alpha/hello-alpha.c               |    0
>  tests/{ => tcg}/alpha/test-cond.c                 |    0
>  tests/{ => tcg}/alpha/test-ovf.c                  |    0
>  tests/{ => tcg}/cris/.gdbinit                     |    0
>  tests/{ => tcg}/cris/Makefile                     |    0
>  tests/{ => tcg}/cris/README                       |    0
>  tests/{ => tcg}/cris/check_abs.c                  |    0
>  tests/{ => tcg}/cris/check_addc.c                 |    0
>  tests/{ => tcg}/cris/check_addcm.c                |    0
>  tests/{ => tcg}/cris/check_addi.s                 |    0
>  tests/{ => tcg}/cris/check_addiv32.s              |    0
>  tests/{ => tcg}/cris/check_addm.s                 |    0
>  tests/{ => tcg}/cris/check_addo.c                 |    0
>  tests/{ => tcg}/cris/check_addoq.c                |    0
>  tests/{ => tcg}/cris/check_addq.s                 |    0
>  tests/{ => tcg}/cris/check_addr.s                 |    0
>  tests/{ => tcg}/cris/check_addxc.s                |    0
>  tests/{ => tcg}/cris/check_addxm.s                |    0
>  tests/{ => tcg}/cris/check_addxr.s                |    0
>  tests/{ => tcg}/cris/check_andc.s                 |    0
>  tests/{ => tcg}/cris/check_andm.s                 |    0
>  tests/{ => tcg}/cris/check_andq.s                 |    0
>  tests/{ => tcg}/cris/check_andr.s                 |    0
>  tests/{ => tcg}/cris/check_asr.s                  |    0
>  tests/{ => tcg}/cris/check_ba.s                   |    0
>  tests/{ => tcg}/cris/check_bas.s                  |    0
>  tests/{ => tcg}/cris/check_bcc.s                  |    0
>  tests/{ => tcg}/cris/check_bound.c                |    0
>  tests/{ => tcg}/cris/check_boundc.s               |    0
>  tests/{ => tcg}/cris/check_boundr.s               |    0
>  tests/{ => tcg}/cris/check_btst.s                 |    0
>  tests/{ => tcg}/cris/check_clearfv32.s            |    0
>  tests/{ => tcg}/cris/check_clrjmp1.s              |    0
>  tests/{ => tcg}/cris/check_cmp-2.s                |    0
>  tests/{ => tcg}/cris/check_cmpc.s                 |    0
>  tests/{ => tcg}/cris/check_cmpm.s                 |    0
>  tests/{ => tcg}/cris/check_cmpq.s                 |    0
>  tests/{ => tcg}/cris/check_cmpr.s                 |    0
>  tests/{ => tcg}/cris/check_cmpxc.s                |    0
>  tests/{ => tcg}/cris/check_cmpxm.s                |    0
>  tests/{ => tcg}/cris/check_dstep.s                |    0
>  tests/{ => tcg}/cris/check_ftag.c                 |    0
>  tests/{ => tcg}/cris/check_gcctorture_pr28634-1.c |    0
>  tests/{ => tcg}/cris/check_gcctorture_pr28634.c   |    0
>  tests/{ => tcg}/cris/check_glibc_kernelversion.c  |    0
>  tests/{ => tcg}/cris/check_hello.c                |    0
>  tests/{ => tcg}/cris/check_int64.c                |    0
>  tests/{ => tcg}/cris/check_jsr.s                  |    0
>  tests/{ => tcg}/cris/check_lapc.s                 |    0
>  tests/{ => tcg}/cris/check_lsl.s                  |    0
>  tests/{ => tcg}/cris/check_lsr.s                  |    0
>  tests/{ => tcg}/cris/check_lz.c                   |    0
>  tests/{ => tcg}/cris/check_mapbrk.c               |    0
>  tests/{ => tcg}/cris/check_mcp.s                  |    0
>  tests/{ => tcg}/cris/check_mmap1.c                |    0
>  tests/{ => tcg}/cris/check_mmap2.c                |    0
>  tests/{ => tcg}/cris/check_mmap3.c                |    0
>  tests/{ => tcg}/cris/check_movdelsr1.s            |    0
>  tests/{ => tcg}/cris/check_movecr.s               |    0
>  tests/{ => tcg}/cris/check_movei.s                |    0
>  tests/{ => tcg}/cris/check_movemr.s               |    0
>  tests/{ => tcg}/cris/check_movemrv32.s            |    0
>  tests/{ => tcg}/cris/check_moveq.c                |    0
>  tests/{ => tcg}/cris/check_mover.s                |    0
>  tests/{ => tcg}/cris/check_moverm.s               |    0
>  tests/{ => tcg}/cris/check_movmp.s                |    0
>  tests/{ => tcg}/cris/check_movpmv32.s             |    0
>  tests/{ => tcg}/cris/check_movpr.s                |    0
>  tests/{ => tcg}/cris/check_movprv32.s             |    0
>  tests/{ => tcg}/cris/check_movscr.s               |    0
>  tests/{ => tcg}/cris/check_movsm.s                |    0
>  tests/{ => tcg}/cris/check_movsr.s                |    0
>  tests/{ => tcg}/cris/check_movucr.s               |    0
>  tests/{ => tcg}/cris/check_movum.s                |    0
>  tests/{ => tcg}/cris/check_movur.s                |    0
>  tests/{ => tcg}/cris/check_mulv32.s               |    0
>  tests/{ => tcg}/cris/check_mulx.s                 |    0
>  tests/{ => tcg}/cris/check_neg.s                  |    0
>  tests/{ => tcg}/cris/check_not.s                  |    0
>  tests/{ => tcg}/cris/check_openpf1.c              |    0
>  tests/{ => tcg}/cris/check_openpf2.c              |    0
>  tests/{ => tcg}/cris/check_openpf3.c              |    0
>  tests/{ => tcg}/cris/check_openpf4.c              |    0
>  tests/{ => tcg}/cris/check_openpf5.c              |    0
>  tests/{ => tcg}/cris/check_orc.s                  |    0
>  tests/{ => tcg}/cris/check_orm.s                  |    0
>  tests/{ => tcg}/cris/check_orq.s                  |    0
>  tests/{ => tcg}/cris/check_orr.s                  |    0
>  tests/{ => tcg}/cris/check_ret.s                  |    0
>  tests/{ => tcg}/cris/check_scc.s                  |    0
>  tests/{ => tcg}/cris/check_settls1.c              |    0
>  tests/{ => tcg}/cris/check_sigalrm.c              |    0
>  tests/{ => tcg}/cris/check_stat1.c                |    0
>  tests/{ => tcg}/cris/check_stat2.c                |    0
>  tests/{ => tcg}/cris/check_stat3.c                |    0
>  tests/{ => tcg}/cris/check_stat4.c                |    0
>  tests/{ => tcg}/cris/check_subc.s                 |    0
>  tests/{ => tcg}/cris/check_subm.s                 |    0
>  tests/{ => tcg}/cris/check_subq.s                 |    0
>  tests/{ => tcg}/cris/check_subr.s                 |    0
>  tests/{ => tcg}/cris/check_swap.c                 |    0
>  tests/{ => tcg}/cris/check_time1.c                |    0
>  tests/{ => tcg}/cris/check_time2.c                |    0
>  tests/{ => tcg}/cris/check_xarith.s               |    0
>  tests/{ => tcg}/cris/crisutils.h                  |    0
>  tests/{ => tcg}/cris/crt.s                        |    0
>  tests/{ => tcg}/cris/sys.c                        |    0
>  tests/{ => tcg}/cris/sys.h                        |    0
>  tests/{ => tcg}/cris/testutils.inc                |    0
>  tests/{ => tcg}/hello-arm.c                       |    0
>  tests/{ => tcg}/hello-i386.c                      |    0
>  tests/{ => tcg}/hello-mips.c                      |    0
>  tests/{ => tcg}/linux-test.c                      |    0
>  tests/{ => tcg}/lm32/Makefile                     |    0
>  tests/{ => tcg}/lm32/crt.S                        |    0
>  tests/{ => tcg}/lm32/linker.ld                    |    0
>  tests/{ => tcg}/lm32/macros.inc                   |    0
>  tests/{ => tcg}/lm32/test_add.S                   |    0
>  tests/{ => tcg}/lm32/test_addi.S                  |    0
>  tests/{ => tcg}/lm32/test_and.S                   |    0
>  tests/{ => tcg}/lm32/test_andhi.S                 |    0
>  tests/{ => tcg}/lm32/test_andi.S                  |    0
>  tests/{ => tcg}/lm32/test_b.S                     |    0
>  tests/{ => tcg}/lm32/test_be.S                    |    0
>  tests/{ => tcg}/lm32/test_bg.S                    |    0
>  tests/{ => tcg}/lm32/test_bge.S                   |    0
>  tests/{ => tcg}/lm32/test_bgeu.S                  |    0
>  tests/{ => tcg}/lm32/test_bgu.S                   |    0
>  tests/{ => tcg}/lm32/test_bi.S                    |    0
>  tests/{ => tcg}/lm32/test_bne.S                   |    0
>  tests/{ => tcg}/lm32/test_break.S                 |    0
>  tests/{ => tcg}/lm32/test_bret.S                  |    0
>  tests/{ => tcg}/lm32/test_call.S                  |    0
>  tests/{ => tcg}/lm32/test_calli.S                 |    0
>  tests/{ => tcg}/lm32/test_cmpe.S                  |    0
>  tests/{ => tcg}/lm32/test_cmpei.S                 |    0
>  tests/{ => tcg}/lm32/test_cmpg.S                  |    0
>  tests/{ => tcg}/lm32/test_cmpge.S                 |    0
>  tests/{ => tcg}/lm32/test_cmpgei.S                |    0
>  tests/{ => tcg}/lm32/test_cmpgeu.S                |    0
>  tests/{ => tcg}/lm32/test_cmpgeui.S               |    0
>  tests/{ => tcg}/lm32/test_cmpgi.S                 |    0
>  tests/{ => tcg}/lm32/test_cmpgu.S                 |    0
>  tests/{ => tcg}/lm32/test_cmpgui.S                |    0
>  tests/{ => tcg}/lm32/test_cmpne.S                 |    0
>  tests/{ => tcg}/lm32/test_cmpnei.S                |    0
>  tests/{ => tcg}/lm32/test_divu.S                  |    0
>  tests/{ => tcg}/lm32/test_eret.S                  |    0
>  tests/{ => tcg}/lm32/test_lb.S                    |    0
>  tests/{ => tcg}/lm32/test_lbu.S                   |    0
>  tests/{ => tcg}/lm32/test_lh.S                    |    0
>  tests/{ => tcg}/lm32/test_lhu.S                   |    0
>  tests/{ => tcg}/lm32/test_lw.S                    |    0
>  tests/{ => tcg}/lm32/test_modu.S                  |    0
>  tests/{ => tcg}/lm32/test_mul.S                   |    0
>  tests/{ => tcg}/lm32/test_muli.S                  |    0
>  tests/{ => tcg}/lm32/test_nor.S                   |    0
>  tests/{ => tcg}/lm32/test_nori.S                  |    0
>  tests/{ => tcg}/lm32/test_or.S                    |    0
>  tests/{ => tcg}/lm32/test_orhi.S                  |    0
>  tests/{ => tcg}/lm32/test_ori.S                   |    0
>  tests/{ => tcg}/lm32/test_ret.S                   |    0
>  tests/{ => tcg}/lm32/test_sb.S                    |    0
>  tests/{ => tcg}/lm32/test_scall.S                 |    0
>  tests/{ => tcg}/lm32/test_sextb.S                 |    0
>  tests/{ => tcg}/lm32/test_sexth.S                 |    0
>  tests/{ => tcg}/lm32/test_sh.S                    |    0
>  tests/{ => tcg}/lm32/test_sl.S                    |    0
>  tests/{ => tcg}/lm32/test_sli.S                   |    0
>  tests/{ => tcg}/lm32/test_sr.S                    |    0
>  tests/{ => tcg}/lm32/test_sri.S                   |    0
>  tests/{ => tcg}/lm32/test_sru.S                   |    0
>  tests/{ => tcg}/lm32/test_srui.S                  |    0
>  tests/{ => tcg}/lm32/test_sub.S                   |    0
>  tests/{ => tcg}/lm32/test_sw.S                    |    0
>  tests/{ => tcg}/lm32/test_xnor.S                  |    0
>  tests/{ => tcg}/lm32/test_xnori.S                 |    0
>  tests/{ => tcg}/lm32/test_xor.S                   |    0
>  tests/{ => tcg}/lm32/test_xori.S                  |    0
>  tests/{ => tcg}/pi_10.com                         |  Bin 54 -> 54 bytes
>  tests/{ => tcg}/runcom.c                          |    0
>  tests/{ => tcg}/sha1.c                            |    0
>  tests/{ => tcg}/test-arm-iwmmxt.s                 |    0
>  tests/{ => tcg}/test-i386-code16.S                |    0
>  tests/{ => tcg}/test-i386-muldiv.h                |    0
>  tests/{ => tcg}/test-i386-shift.h                 |    0
>  tests/{ => tcg}/test-i386-ssse3.c                 |    0
>  tests/{ => tcg}/test-i386-vm86.S                  |    0
>  tests/{ => tcg}/test-i386.c                       |    0
>  tests/{ => tcg}/test-i386.h                       |    0
>  tests/{ => tcg}/test-mmap.c                       |    0
>  tests/{ => tcg}/test_path.c                       |    0
>  tests/{ => tcg}/testthread.c                      |    0
>  tests/{ => tcg}/xtensa/Makefile                   |    0
>  tests/{ => tcg}/xtensa/crt.S                      |    0
>  tests/{ => tcg}/xtensa/linker.ld                  |    0
>  tests/{ => tcg}/xtensa/macros.inc                 |    0
>  tests/{ => tcg}/xtensa/test_b.S                   |    0
>  tests/{ => tcg}/xtensa/test_bi.S                  |    0
>  tests/{ => tcg}/xtensa/test_boolean.S             |    0
>  tests/{ => tcg}/xtensa/test_bz.S                  |    0
>  tests/{ => tcg}/xtensa/test_clamps.S              |    0
>  tests/{ => tcg}/xtensa/test_fail.S                |    0
>  tests/{ => tcg}/xtensa/test_interrupt.S           |    0
>  tests/{ => tcg}/xtensa/test_loop.S                |    0
>  tests/{ => tcg}/xtensa/test_mac16.S               |    0
>  tests/{ => tcg}/xtensa/test_max.S                 |    0
>  tests/{ => tcg}/xtensa/test_min.S                 |    0
>  tests/{ => tcg}/xtensa/test_mmu.S                 |    0
>  tests/{ => tcg}/xtensa/test_mul16.S               |    0
>  tests/{ => tcg}/xtensa/test_mul32.S               |    0
>  tests/{ => tcg}/xtensa/test_nsa.S                 |    0
>  tests/{ => tcg}/xtensa/test_pipeline.S            |    0
>  tests/{ => tcg}/xtensa/test_quo.S                 |    0
>  tests/{ => tcg}/xtensa/test_rem.S                 |    0
>  tests/{ => tcg}/xtensa/test_rst0.S                |    0
>  tests/{ => tcg}/xtensa/test_sar.S                 |    0
>  tests/{ => tcg}/xtensa/test_sext.S                |    0
>  tests/{ => tcg}/xtensa/test_shift.S               |    0
>  tests/{ => tcg}/xtensa/test_timer.S               |    0
>  tests/{ => tcg}/xtensa/test_windowed.S            |    0
>  tests/{ => tcg}/xtensa/vectors.S                  |    0
>  227 files changed, 5 insertions(+), 5 deletions(-)
>  rename tests/{ => tcg}/Makefile (100%)
>  rename tests/{ => tcg}/alpha/Makefile (100%)
>  rename tests/{ => tcg}/alpha/crt.s (100%)
>  rename tests/{ => tcg}/alpha/hello-alpha.c (100%)
>  rename tests/{ => tcg}/alpha/test-cond.c (100%)
>  rename tests/{ => tcg}/alpha/test-ovf.c (100%)
>  rename tests/{ => tcg}/cris/.gdbinit (100%)
>  rename tests/{ => tcg}/cris/Makefile (100%)
>  rename tests/{ => tcg}/cris/README (100%)
>  rename tests/{ => tcg}/cris/check_abs.c (100%)
>  rename tests/{ => tcg}/cris/check_addc.c (100%)
>  rename tests/{ => tcg}/cris/check_addcm.c (100%)
>  rename tests/{ => tcg}/cris/check_addi.s (100%)
>  rename tests/{ => tcg}/cris/check_addiv32.s (100%)
>  rename tests/{ => tcg}/cris/check_addm.s (100%)
>  rename tests/{ => tcg}/cris/check_addo.c (100%)
>  rename tests/{ => tcg}/cris/check_addoq.c (100%)
>  rename tests/{ => tcg}/cris/check_addq.s (100%)
>  rename tests/{ => tcg}/cris/check_addr.s (100%)
>  rename tests/{ => tcg}/cris/check_addxc.s (100%)
>  rename tests/{ => tcg}/cris/check_addxm.s (100%)
>  rename tests/{ => tcg}/cris/check_addxr.s (100%)
>  rename tests/{ => tcg}/cris/check_andc.s (100%)
>  rename tests/{ => tcg}/cris/check_andm.s (100%)
>  rename tests/{ => tcg}/cris/check_andq.s (100%)
>  rename tests/{ => tcg}/cris/check_andr.s (100%)
>  rename tests/{ => tcg}/cris/check_asr.s (100%)
>  rename tests/{ => tcg}/cris/check_ba.s (100%)
>  rename tests/{ => tcg}/cris/check_bas.s (100%)
>  rename tests/{ => tcg}/cris/check_bcc.s (100%)
>  rename tests/{ => tcg}/cris/check_bound.c (100%)
>  rename tests/{ => tcg}/cris/check_boundc.s (100%)
>  rename tests/{ => tcg}/cris/check_boundr.s (100%)
>  rename tests/{ => tcg}/cris/check_btst.s (100%)
>  rename tests/{ => tcg}/cris/check_clearfv32.s (100%)
>  rename tests/{ => tcg}/cris/check_clrjmp1.s (100%)
>  rename tests/{ => tcg}/cris/check_cmp-2.s (100%)
>  rename tests/{ => tcg}/cris/check_cmpc.s (100%)
>  rename tests/{ => tcg}/cris/check_cmpm.s (100%)
>  rename tests/{ => tcg}/cris/check_cmpq.s (100%)
>  rename tests/{ => tcg}/cris/check_cmpr.s (100%)
>  rename tests/{ => tcg}/cris/check_cmpxc.s (100%)
>  rename tests/{ => tcg}/cris/check_cmpxm.s (100%)
>  rename tests/{ => tcg}/cris/check_dstep.s (100%)
>  rename tests/{ => tcg}/cris/check_ftag.c (100%)
>  rename tests/{ => tcg}/cris/check_gcctorture_pr28634-1.c (100%)
>  rename tests/{ => tcg}/cris/check_gcctorture_pr28634.c (100%)
>  rename tests/{ => tcg}/cris/check_glibc_kernelversion.c (100%)
>  rename tests/{ => tcg}/cris/check_hello.c (100%)
>  rename tests/{ => tcg}/cris/check_int64.c (100%)
>  rename tests/{ => tcg}/cris/check_jsr.s (100%)
>  rename tests/{ => tcg}/cris/check_lapc.s (100%)
>  rename tests/{ => tcg}/cris/check_lsl.s (100%)
>  rename tests/{ => tcg}/cris/check_lsr.s (100%)
>  rename tests/{ => tcg}/cris/check_lz.c (100%)
>  rename tests/{ => tcg}/cris/check_mapbrk.c (100%)
>  rename tests/{ => tcg}/cris/check_mcp.s (100%)
>  rename tests/{ => tcg}/cris/check_mmap1.c (100%)
>  rename tests/{ => tcg}/cris/check_mmap2.c (100%)
>  rename tests/{ => tcg}/cris/check_mmap3.c (100%)
>  rename tests/{ => tcg}/cris/check_movdelsr1.s (100%)
>  rename tests/{ => tcg}/cris/check_movecr.s (100%)
>  rename tests/{ => tcg}/cris/check_movei.s (100%)
>  rename tests/{ => tcg}/cris/check_movemr.s (100%)
>  rename tests/{ => tcg}/cris/check_movemrv32.s (100%)
>  rename tests/{ => tcg}/cris/check_moveq.c (100%)
>  rename tests/{ => tcg}/cris/check_mover.s (100%)
>  rename tests/{ => tcg}/cris/check_moverm.s (100%)
>  rename tests/{ => tcg}/cris/check_movmp.s (100%)
>  rename tests/{ => tcg}/cris/check_movpmv32.s (100%)
>  rename tests/{ => tcg}/cris/check_movpr.s (100%)
>  rename tests/{ => tcg}/cris/check_movprv32.s (100%)
>  rename tests/{ => tcg}/cris/check_movscr.s (100%)
>  rename tests/{ => tcg}/cris/check_movsm.s (100%)
>  rename tests/{ => tcg}/cris/check_movsr.s (100%)
>  rename tests/{ => tcg}/cris/check_movucr.s (100%)
>  rename tests/{ => tcg}/cris/check_movum.s (100%)
>  rename tests/{ => tcg}/cris/check_movur.s (100%)
>  rename tests/{ => tcg}/cris/check_mulv32.s (100%)
>  rename tests/{ => tcg}/cris/check_mulx.s (100%)
>  rename tests/{ => tcg}/cris/check_neg.s (100%)
>  rename tests/{ => tcg}/cris/check_not.s (100%)
>  rename tests/{ => tcg}/cris/check_openpf1.c (100%)
>  rename tests/{ => tcg}/cris/check_openpf2.c (100%)
>  rename tests/{ => tcg}/cris/check_openpf3.c (100%)
>  rename tests/{ => tcg}/cris/check_openpf4.c (100%)
>  rename tests/{ => tcg}/cris/check_openpf5.c (100%)
>  rename tests/{ => tcg}/cris/check_orc.s (100%)
>  rename tests/{ => tcg}/cris/check_orm.s (100%)
>  rename tests/{ => tcg}/cris/check_orq.s (100%)
>  rename tests/{ => tcg}/cris/check_orr.s (100%)
>  rename tests/{ => tcg}/cris/check_ret.s (100%)
>  rename tests/{ => tcg}/cris/check_scc.s (100%)
>  rename tests/{ => tcg}/cris/check_settls1.c (100%)
>  rename tests/{ => tcg}/cris/check_sigalrm.c (100%)
>  rename tests/{ => tcg}/cris/check_stat1.c (100%)
>  rename tests/{ => tcg}/cris/check_stat2.c (100%)
>  rename tests/{ => tcg}/cris/check_stat3.c (100%)
>  rename tests/{ => tcg}/cris/check_stat4.c (100%)
>  rename tests/{ => tcg}/cris/check_subc.s (100%)
>  rename tests/{ => tcg}/cris/check_subm.s (100%)
>  rename tests/{ => tcg}/cris/check_subq.s (100%)
>  rename tests/{ => tcg}/cris/check_subr.s (100%)
>  rename tests/{ => tcg}/cris/check_swap.c (100%)
>  rename tests/{ => tcg}/cris/check_time1.c (100%)
>  rename tests/{ => tcg}/cris/check_time2.c (100%)
>  rename tests/{ => tcg}/cris/check_xarith.s (100%)
>  rename tests/{ => tcg}/cris/crisutils.h (100%)
>  rename tests/{ => tcg}/cris/crt.s (100%)
>  rename tests/{ => tcg}/cris/sys.c (100%)
>  rename tests/{ => tcg}/cris/sys.h (100%)
>  rename tests/{ => tcg}/cris/testutils.inc (100%)
>  rename tests/{ => tcg}/hello-arm.c (100%)
>  rename tests/{ => tcg}/hello-i386.c (100%)
>  rename tests/{ => tcg}/hello-mips.c (100%)
>  rename tests/{ => tcg}/linux-test.c (100%)
>  rename tests/{ => tcg}/lm32/Makefile (100%)
>  rename tests/{ => tcg}/lm32/crt.S (100%)
>  rename tests/{ => tcg}/lm32/linker.ld (100%)
>  rename tests/{ => tcg}/lm32/macros.inc (100%)
>  rename tests/{ => tcg}/lm32/test_add.S (100%)
>  rename tests/{ => tcg}/lm32/test_addi.S (100%)
>  rename tests/{ => tcg}/lm32/test_and.S (100%)
>  rename tests/{ => tcg}/lm32/test_andhi.S (100%)
>  rename tests/{ => tcg}/lm32/test_andi.S (100%)
>  rename tests/{ => tcg}/lm32/test_b.S (100%)
>  rename tests/{ => tcg}/lm32/test_be.S (100%)
>  rename tests/{ => tcg}/lm32/test_bg.S (100%)
>  rename tests/{ => tcg}/lm32/test_bge.S (100%)
>  rename tests/{ => tcg}/lm32/test_bgeu.S (100%)
>  rename tests/{ => tcg}/lm32/test_bgu.S (100%)
>  rename tests/{ => tcg}/lm32/test_bi.S (100%)
>  rename tests/{ => tcg}/lm32/test_bne.S (100%)
>  rename tests/{ => tcg}/lm32/test_break.S (100%)
>  rename tests/{ => tcg}/lm32/test_bret.S (100%)
>  rename tests/{ => tcg}/lm32/test_call.S (100%)
>  rename tests/{ => tcg}/lm32/test_calli.S (100%)
>  rename tests/{ => tcg}/lm32/test_cmpe.S (100%)
>  rename tests/{ => tcg}/lm32/test_cmpei.S (100%)
>  rename tests/{ => tcg}/lm32/test_cmpg.S (100%)
>  rename tests/{ => tcg}/lm32/test_cmpge.S (100%)
>  rename tests/{ => tcg}/lm32/test_cmpgei.S (100%)
>  rename tests/{ => tcg}/lm32/test_cmpgeu.S (100%)
>  rename tests/{ => tcg}/lm32/test_cmpgeui.S (100%)
>  rename tests/{ => tcg}/lm32/test_cmpgi.S (100%)
>  rename tests/{ => tcg}/lm32/test_cmpgu.S (100%)
>  rename tests/{ => tcg}/lm32/test_cmpgui.S (100%)
>  rename tests/{ => tcg}/lm32/test_cmpne.S (100%)
>  rename tests/{ => tcg}/lm32/test_cmpnei.S (100%)
>  rename tests/{ => tcg}/lm32/test_divu.S (100%)
>  rename tests/{ => tcg}/lm32/test_eret.S (100%)
>  rename tests/{ => tcg}/lm32/test_lb.S (100%)
>  rename tests/{ => tcg}/lm32/test_lbu.S (100%)
>  rename tests/{ => tcg}/lm32/test_lh.S (100%)
>  rename tests/{ => tcg}/lm32/test_lhu.S (100%)
>  rename tests/{ => tcg}/lm32/test_lw.S (100%)
>  rename tests/{ => tcg}/lm32/test_modu.S (100%)
>  rename tests/{ => tcg}/lm32/test_mul.S (100%)
>  rename tests/{ => tcg}/lm32/test_muli.S (100%)
>  rename tests/{ => tcg}/lm32/test_nor.S (100%)
>  rename tests/{ => tcg}/lm32/test_nori.S (100%)
>  rename tests/{ => tcg}/lm32/test_or.S (100%)
>  rename tests/{ => tcg}/lm32/test_orhi.S (100%)
>  rename tests/{ => tcg}/lm32/test_ori.S (100%)
>  rename tests/{ => tcg}/lm32/test_ret.S (100%)
>  rename tests/{ => tcg}/lm32/test_sb.S (100%)
>  rename tests/{ => tcg}/lm32/test_scall.S (100%)
>  rename tests/{ => tcg}/lm32/test_sextb.S (100%)
>  rename tests/{ => tcg}/lm32/test_sexth.S (100%)
>  rename tests/{ => tcg}/lm32/test_sh.S (100%)
>  rename tests/{ => tcg}/lm32/test_sl.S (100%)
>  rename tests/{ => tcg}/lm32/test_sli.S (100%)
>  rename tests/{ => tcg}/lm32/test_sr.S (100%)
>  rename tests/{ => tcg}/lm32/test_sri.S (100%)
>  rename tests/{ => tcg}/lm32/test_sru.S (100%)
>  rename tests/{ => tcg}/lm32/test_srui.S (100%)
>  rename tests/{ => tcg}/lm32/test_sub.S (100%)
>  rename tests/{ => tcg}/lm32/test_sw.S (100%)
>  rename tests/{ => tcg}/lm32/test_xnor.S (100%)
>  rename tests/{ => tcg}/lm32/test_xnori.S (100%)
>  rename tests/{ => tcg}/lm32/test_xor.S (100%)
>  rename tests/{ => tcg}/lm32/test_xori.S (100%)
>  rename tests/{ => tcg}/pi_10.com (100%)
>  rename tests/{ => tcg}/runcom.c (100%)
>  rename tests/{ => tcg}/sha1.c (100%)
>  rename tests/{ => tcg}/test-arm-iwmmxt.s (100%)
>  rename tests/{ => tcg}/test-i386-code16.S (100%)
>  rename tests/{ => tcg}/test-i386-muldiv.h (100%)
>  rename tests/{ => tcg}/test-i386-shift.h (100%)
>  rename tests/{ => tcg}/test-i386-ssse3.c (100%)
>  rename tests/{ => tcg}/test-i386-vm86.S (100%)
>  rename tests/{ => tcg}/test-i386.c (100%)
>  rename tests/{ => tcg}/test-i386.h (100%)
>  rename tests/{ => tcg}/test-mmap.c (100%)
>  rename tests/{ => tcg}/test_path.c (100%)
>  rename tests/{ => tcg}/testthread.c (100%)
>  rename tests/{ => tcg}/xtensa/Makefile (100%)
>  rename tests/{ => tcg}/xtensa/crt.S (100%)
>  rename tests/{ => tcg}/xtensa/linker.ld (100%)
>  rename tests/{ => tcg}/xtensa/macros.inc (100%)
>  rename tests/{ => tcg}/xtensa/test_b.S (100%)
>  rename tests/{ => tcg}/xtensa/test_bi.S (100%)
>  rename tests/{ => tcg}/xtensa/test_boolean.S (100%)
>  rename tests/{ => tcg}/xtensa/test_bz.S (100%)
>  rename tests/{ => tcg}/xtensa/test_clamps.S (100%)
>  rename tests/{ => tcg}/xtensa/test_fail.S (100%)
>  rename tests/{ => tcg}/xtensa/test_interrupt.S (100%)
>  rename tests/{ => tcg}/xtensa/test_loop.S (100%)
>  rename tests/{ => tcg}/xtensa/test_mac16.S (100%)
>  rename tests/{ => tcg}/xtensa/test_max.S (100%)
>  rename tests/{ => tcg}/xtensa/test_min.S (100%)
>  rename tests/{ => tcg}/xtensa/test_mmu.S (100%)
>  rename tests/{ => tcg}/xtensa/test_mul16.S (100%)
>  rename tests/{ => tcg}/xtensa/test_mul32.S (100%)
>  rename tests/{ => tcg}/xtensa/test_nsa.S (100%)
>  rename tests/{ => tcg}/xtensa/test_pipeline.S (100%)
>  rename tests/{ => tcg}/xtensa/test_quo.S (100%)
>  rename tests/{ => tcg}/xtensa/test_rem.S (100%)
>  rename tests/{ => tcg}/xtensa/test_rst0.S (100%)
>  rename tests/{ => tcg}/xtensa/test_sar.S (100%)
>  rename tests/{ => tcg}/xtensa/test_sext.S (100%)
>  rename tests/{ => tcg}/xtensa/test_shift.S (100%)
>  rename tests/{ => tcg}/xtensa/test_timer.S (100%)
>  rename tests/{ => tcg}/xtensa/test_windowed.S (100%)
>  rename tests/{ => tcg}/xtensa/vectors.S (100%)
Anthony Liguori - Jan. 9, 2012, 7:28 p.m.
On 01/09/2012 11:47 AM, Paul Brook wrote:
>> I'm going to apply this series quickly and will start running 'make
>> check-quick' as part a sniff test before pushing patches.
>>
>> I'd like to request that all maintainers/submaintainers do the same and
>> that everyone contributes unit tests to this target.
>>
>> The general rules for 'make check-quick':
>>
>>    1) It must complete in less than 10 minutes start to finish (the entire
>> rule). We can re-examine this over time but for now, it seems like a
>> reasonable limit.
>
> No objection in principle, though I'm a bit unclear on the guidelines.
> In particular:
>
> - 10 minutes on what hardware?  10 minutes on one of my fat build machines is
> an hour on an average year-old laptop/desktop, and I guess 6+ hours on the
> netbook I use when travelling.  Maybe relating this to the time taken to do a
> clean build would make more sense?

10 minutes on my laptop.  It's a soft rule and is meant to give people an idea 
of what to target.

gtest has a set of functions to use to select run profiles (quick, slow, 
thorough, etc.).  It's just a matter of making sure that you don't add anything 
ridiculous to the quick profile.

We can tweak the profiles over time

>
> - What level of testing is appropriate? As a maintainer when can/should I
> bounce a patch due to lack of tests?

Yes.

> e.g should new device emulation come with
> unit tests? New infrastructure? What about fixes to both of the above, should
> these include regression tests?

There's a careful balance that we're going to need to work out over time.  We 
need to balance test coverage with setting reasonable criteria for patch inclusion.

We're still short on infrastructure right now so I expect that a lot of stuff 
will get merged without tests at first.  As we get more test infrastructure like 
qtest and qemu-test, I expect that to change.

In terms of total coverage for any given feature, I think ultimately the goal is 
to move the responsibility for regression testing from the contributors of new 
features to the subsystems themselves.

IOW, after we get going with our test infrastructure, when we do big sweeping 
changes like the memory API or QOM, I will have much less sympathy for breakages 
that are caused by subsystems with an incomplete test suite.

So I think the most important thing for maintainers to start thinking about is 
how they can add the necessary infrastructure for testing their subsystems.

> Given the size of the test surface for many
> components (in particular emulated CPUs), I'm guessing we're looking at
> extremely basic smoke-tests.  Consistent regression tests or any sort of
> architecture conformance tests are going to completely blow your time budget.

Right, testing is a cost that should be minimized.  Ultimately, the right 
testing investment is something like the amount of hours that you would have 
spent fixing introduced regressions multiplied by the impact of the regression 
appear in the first place.  That's not an easy formula to use for prediction :-)

That probably means that for subsystems that are well isolated and not in 
anyone's critical path, not a lot of test infrastructure is practical.

> Obviously level of testing is always a bit of a judgement call - anyone who
> claims of have complete test coverage is either lying or writing trivially
> uninteresting code.  However given qemu has historically had zero active test
> coverage I'd appreciate some guidance (as both maintainers and contrubutor).

We're going to have to strike a balance.  To start with, I'd recommend enforcing 
at least sniff tests.  We'll get a huge return on investment with a reasonable 
set of sniff tests.  Longer term, we're going to have to just wait and see at 
what point the ROI starts to diminish significantly.

Regards,

Anthony Liguori

> Paul
>
Stefan Weil - Jan. 9, 2012, 8 p.m.
Am 09.01.2012 17:04, schrieb Anthony Liguori:
> Hi,
>
> I'm going to apply this series quickly and will start running 'make 
> check-quick' as part a sniff test before pushing patches.
>
> I'd like to request that all maintainers/submaintainers do the same 
> and that everyone contributes unit tests to this target.
>
> The general rules for 'make check-quick':
>
>  1) It must complete in less than 10 minutes start to finish (the 
> entire rule).  We can re-examine this over time but for now, it seems 
> like a reasonable limit.
>
>  2) It must gracefully degrade across architectures/targets.  Do not 
> assume qemu-system-x86_64 is present or that an arm cross compiler is 
> available.
>
> It would also be nice to get this integrated as part of buildbot. 
> Stefan/Daniel, is that something we can do?
>
> Regards,
>
> Anthony Liguori

Hi,

'make check-quick' sounds unusual for me. I'm not a native speaker,
so I compared the frequency of "check quick" and "quick check"
using Google. 'make quick-check' would sound better, but even
that is a Makefile target which I never saw before.

There is a standard for the commonly used 'make check'
(http://www.gnu.org/prep/standards/html_node/Standard-Targets.html).
I'd stick to that standard and allow users to select the tests
which should be run by Makefile macros. So

     make check-quick

could be replaced by

     make check TESTS=quick

Macro TESTS could be used to select a list of tests, for example
TESTS=tcg,block,pci or TESTS=mips,s390. The supported keywords
should be similar to the keywords used in MAINTAINERS. Then
committers or maintainers can select which tests are needed
for their commits. Other keywords like 'quick' or 'all' select
a predefined subset or all tests, and individual tests can be
specified by some kind of hierarchical name like for example
'pci/net/e1000'.

Regards,
Stefan Weil
Andreas Färber - Jan. 9, 2012, 8:57 p.m.
Am 09.01.2012 20:28, schrieb Anthony Liguori:
> On 01/09/2012 11:47 AM, Paul Brook wrote:
>> - What level of testing is appropriate? As a maintainer when can/should I
>> bounce a patch due to lack of tests?
> 
> Yes.

Note the "when". :)

>> e.g should new device emulation come with
>> unit tests? New infrastructure? What about fixes to both of the above,
>> should
>> these include regression tests?
> 
> There's a careful balance that we're going to need to work out over
> time.  We need to balance test coverage with setting reasonable criteria
> for patch inclusion.

Can we interpret that as new API infrastructure for now? As opposed to
devices (needing qtest), TCG (not unified), KVM (autotest), build
infrastructure (manually).

Do you envision also testing scripts? (e.g., simpletrace.py,
checkpatch.pl, tracetool[.py])

> We're still short on infrastructure right now so I expect that a lot of
> stuff will get merged without tests at first.  As we get more test
> infrastructure like qtest and qemu-test, I expect that to change.
> 
> In terms of total coverage for any given feature, I think ultimately the
> goal is to move the responsibility for regression testing from the
> contributors of new features to the subsystems themselves.
> 
> IOW, after we get going with our test infrastructure, when we do big
> sweeping changes like the memory API or QOM, I will have much less
> sympathy for breakages that are caused by subsystems with an incomplete
> test suite.
> 
> So I think the most important thing for maintainers to start thinking
> about is how they can add the necessary infrastructure for testing their
> subsystems.

Well, I already tried pointing out that qemu-test in the way previously
proposed does not help catching the recent regressions for PReP.

Neither am I a kernel guru to propose my own JeOS build and testing
framework, nor do I think an abundance of test frameworks merely
orchestrated by a common driver will do us much good...

From what I understand, qemu-test with building binutils, gcc, linux
would not fit the stated 10 minutes goal.

The intentions here are certainly good, just the process needs some more
thought - or less absoluteness in announcing it. If the infrastructure
we provide in a first step is good and people benefit from using it, we
will gain coverage and supporting infrastructure over time. It's
unlikely to work as a requirement from day one though.

Regards,
Andreas
Anthony Liguori - Jan. 9, 2012, 9:42 p.m.
On 01/09/2012 02:57 PM, Andreas Färber wrote:
> Am 09.01.2012 20:28, schrieb Anthony Liguori:
>> On 01/09/2012 11:47 AM, Paul Brook wrote:
>>> - What level of testing is appropriate? As a maintainer when can/should I
>>> bounce a patch due to lack of tests?
>>
>> Yes.
>
> Note the "when". :)

I read "should".

I think I answered this below...

>
>>> e.g should new device emulation come with
>>> unit tests? New infrastructure? What about fixes to both of the above,
>>> should
>>> these include regression tests?
>>
>> There's a careful balance that we're going to need to work out over
>> time.  We need to balance test coverage with setting reasonable criteria
>> for patch inclusion.
>
> Can we interpret that as new API infrastructure for now? As opposed to
> devices (needing qtest),

I'm working on the qtest integration patches right now actually..  Right now, 
there's no excuse to not write test cases against anything that is 
infrastructure and reasonably stand alone.

I hope to make it easy to write device specific test cases very soon too.

> TCG (not unified), KVM (autotest), build
> infrastructure (manually).
>
> Do you envision also testing scripts? (e.g., simpletrace.py,
> checkpatch.pl, tracetool[.py])

I don't see any of that stuff being in the critical path.


>> We're still short on infrastructure right now so I expect that a lot of
>> stuff will get merged without tests at first.  As we get more test
>> infrastructure like qtest and qemu-test, I expect that to change.
>>
>> In terms of total coverage for any given feature, I think ultimately the
>> goal is to move the responsibility for regression testing from the
>> contributors of new features to the subsystems themselves.
>>
>> IOW, after we get going with our test infrastructure, when we do big
>> sweeping changes like the memory API or QOM, I will have much less
>> sympathy for breakages that are caused by subsystems with an incomplete
>> test suite.
>>
>> So I think the most important thing for maintainers to start thinking
>> about is how they can add the necessary infrastructure for testing their
>> subsystems.
>
> Well, I already tried pointing out that qemu-test in the way previously
> proposed does not help catching the recent regressions for PReP.

Actually, qemu-test did catch it.  The only reason I didn't see it is that I 
didn't add qemu-system-powerpc to my regression script that I'm using to drive 
it.  But simply booting up a Linux guest would have caught it.

> Neither am I a kernel guru to propose my own JeOS build and testing
> framework, nor do I think an abundance of test frameworks merely
> orchestrated by a common driver will do us much good...

It's really not that complicated... it's just building four packages in sequence.

>> From what I understand, qemu-test with building binutils, gcc, linux
> would not fit the stated 10 minutes goal.

The idea would be that qemu-jeos would generate the test images, make check 
could probe for the existence of those images, and run tests if they are there. 
  The same principle could apply to anything else that has an external dependency.

> The intentions here are certainly good, just the process needs some more
> thought - or less absoluteness in announcing it.

There's no magic here.  If you care about your code not breaking, write a unit 
test so that other people can check to see if there changes broke your code.

We can bike shed all day long about how long things should run, or whether the 
wording of the "rules" require us to write tests for checkpatch, but it's 
counter productive.

If there's some piece of QEMU you care about, start writing tests and tie it 
into make check.  It's that simple :-)

> If the infrastructure
> we provide in a first step is good and people benefit from using it, we
> will gain coverage and supporting infrastructure over time. It's
> unlikely to work as a requirement from day one though.

Maintainers are going to have exercise discretion, yes.

But the mandate here (if there even is one), is while you can continue to 
complain when people break your subsystem, if you aren't working to add test 
infrastructure so people can reasonably test your subsystem, then your 
complaints aren't going to receive much sympathy.

Regards,

Anthony Liguori

>
> Regards,
> Andreas
>
Andreas Färber - Jan. 9, 2012, 11:22 p.m.
Am 09.01.2012 22:42, schrieb Anthony Liguori:
> On 01/09/2012 02:57 PM, Andreas Färber wrote:
>> Am 09.01.2012 20:28, schrieb Anthony Liguori:
>>> We're still short on infrastructure right now so I expect that a lot of
>>> stuff will get merged without tests at first.  As we get more test
>>> infrastructure like qtest and qemu-test, I expect that to change.
>>>
>>> In terms of total coverage for any given feature, I think ultimately the
>>> goal is to move the responsibility for regression testing from the
>>> contributors of new features to the subsystems themselves.
>>>
>>> IOW, after we get going with our test infrastructure, when we do big
>>> sweeping changes like the memory API or QOM, I will have much less
>>> sympathy for breakages that are caused by subsystems with an incomplete
>>> test suite.
>>>
>>> So I think the most important thing for maintainers to start thinking
>>> about is how they can add the necessary infrastructure for testing their
>>> subsystems.
>>
>> Well, I already tried pointing out that qemu-test in the way previously
>> proposed does not help catching the recent regressions for PReP.
> 
> Actually, qemu-test did catch it.  The only reason I didn't see it is
> that I didn't add qemu-system-powerpc to my regression script that I'm
> using to drive it.  But simply booting up a Linux guest would have
> caught it.

Booting up a Linux kernel yes, but not the latest-and-greatest like you
proposed. Meaning, we need to be able to reference different branches or
trees instead of a single submodule (cf. qemu-test thread).

>> The intentions here are certainly good, just the process needs some more
>> thought - or less absoluteness in announcing it.
> 
> There's no magic here.  If you care about your code not breaking, write
> a unit test so that other people can check to see if there changes broke
> your code.
> 
> We can bike shed all day long about how long things should run, or
> whether the wording of the "rules" require us to write tests for
> checkpatch, but it's counter productive.
> 
> If there's some piece of QEMU you care about, start writing tests and
> tie it into make check.  It's that simple :-)

Not quite. It would be easier if we just set up some storage space with
images like the handful of *-test images on qemu.org. That way we can
supply working images for all targets, you can supply build scripts to
rebuild them and we can all be done quickly and have fun.

I was just saying, stop bike-shedding about how we're supposed to deny
patches without test cases from tomorrow on, and instead let's get the
test infrastructure in place and see how well we get along with it.
That's even simpler and much more convenient.

You're building up quite a lot of time pressure on other people lately,
claiming two days for review were long already, wanting to merge QOM and
now make check ASAP - despite all inchoate. Don't expect a lot of
sympathy for ignoring in pursuit of your own agenda that there's other
down- and upstream issues people are handling besides these. :/

Me, I've reviewed most of this series in what I believe is a
constructive way; I'd love to build test cases for my code based on
qtest - you've made this series a prerequisite, so getting libqtest for
writing test cases based on it is going to take some more time until we
can expect contributors to contribute test cases.
If however you're trying to push the work of writing tons of test cases
for legacy code - be it qtest or qemu-test or a qemu-test alternative -
upfront to submaintainers, like you seemed to with this thread, then
you're on the wrong track IMO. KVM on x86_64 has the biggest user base
in terms of people testing and potentially contributing test cases; this
imbalance of manpower is not going to be remedied by any unit test
frameworks we introduce.

Regards,
Andreas
Anthony Liguori - Jan. 9, 2012, 11:56 p.m.
On 01/09/2012 05:22 PM, Andreas Färber wrote:
> Am 09.01.2012 22:42, schrieb Anthony Liguori:
>> On 01/09/2012 02:57 PM, Andreas Färber wrote:
>>> Am 09.01.2012 20:28, schrieb Anthony Liguori:
>>>> We're still short on infrastructure right now so I expect that a lot of
>>>> stuff will get merged without tests at first.  As we get more test
>>>> infrastructure like qtest and qemu-test, I expect that to change.
>>>>
>>>> In terms of total coverage for any given feature, I think ultimately the
>>>> goal is to move the responsibility for regression testing from the
>>>> contributors of new features to the subsystems themselves.
>>>>
>>>> IOW, after we get going with our test infrastructure, when we do big
>>>> sweeping changes like the memory API or QOM, I will have much less
>>>> sympathy for breakages that are caused by subsystems with an incomplete
>>>> test suite.
>>>>
>>>> So I think the most important thing for maintainers to start thinking
>>>> about is how they can add the necessary infrastructure for testing their
>>>> subsystems.
>>>
>>> Well, I already tried pointing out that qemu-test in the way previously
>>> proposed does not help catching the recent regressions for PReP.
>>
>> Actually, qemu-test did catch it.  The only reason I didn't see it is
>> that I didn't add qemu-system-powerpc to my regression script that I'm
>> using to drive it.  But simply booting up a Linux guest would have
>> caught it.
>
> Booting up a Linux kernel yes, but not the latest-and-greatest like you
> proposed. Meaning, we need to be able to reference different branches or
> trees instead of a single submodule (cf. qemu-test thread).

I don't understand what you mean.  Given the set of submodules currently used, 
I'm not aware of any target that has issues.  You asserted that it may not be 
the case that a single version of Linux, busybox, uclibc would all work on all 
targets.  But so far, I don't see any evidence to suggest that this isn't, in 
fact, possible.

>> If there's some piece of QEMU you care about, start writing tests and
>> tie it into make check.  It's that simple :-)
>
> Not quite. It would be easier if we just set up some storage space with
> images like the handful of *-test images on qemu.org.

It's not that simple.  We cannot just host an image on qemu.org without getting 
into GPL considerations.  Even beyond the GPL, I don't think having opaque 
images that people don't understand how to recreate if they need to is a good 
strategy.

I've considered trying to do something based on automated installation (using 
kickstart/preseed).  This has limitations though.  It takes an extremely long 
time to generate these having the necessary hooks with preseeds appears to be 
very difficult.

> That way we can
> supply working images for all targets, you can supply build scripts to
> rebuild them and we can all be done quickly and have fun.

That's what qemu-jeos is.

> I was just saying, stop bike-shedding about how we're supposed to deny
> patches without test cases from tomorrow on,

I never said that.

> and instead let's get the
> test infrastructure in place and see how well we get along with it.
> That's even simpler and much more convenient.

That's what I'm proposing.  Specifically:

"I'm going to apply this series quickly and will start running 'make 
check-quick' as part a sniff test before pushing patches.

I'd like to request that all maintainers/submaintainers do the same and that 
everyone contributes unit tests to this target."

> You're building up quite a lot of time pressure on other people lately,
> claiming two days for review were long already, wanting to merge QOM and

The latest QOM series has been sitting on the list for a few weeks and I'm still 
waiting to give people time to review.  I think it's hard to claim I'm rushing it.

> now make check ASAP - despite all inchoate.

Yes, I am going to rush through make check but there's nothing new or exciting here.

> Me, I've reviewed most of this series in what I believe is a
> constructive way;

Yes, and I appreciate that :-)

> I'd love to build test cases for my code based on
> qtest - you've made this series a prerequisite, so getting libqtest for
> writing test cases based on it is going to take some more time until we
> can expect contributors to contribute test cases.

The reason I sent this out before qtest (which is my real goal) is based on past 
experience.  We have had two unit test frameworks in use, libcheck and gtester. 
  I'd wager that most developers haven't used either.  The libcheck tests spent 
a while with a small break too that no one noticed.

I don't want to introduce yet another test framework without having a 
simple-to-consume mechanism for our existing test suites while also unifying 
what we already have into a single mechanism.

> If however you're trying to push the work of writing tons of test cases
> for legacy code - be it qtest or qemu-test or a qemu-test alternative -
> upfront to submaintainers, like you seemed to with this thread, then
> you're on the wrong track IMO.

I think you mean 'existing code', not legacy code.  I don't consider all of the 
code we have today as legacy.

> KVM on x86_64 has the biggest user base
> in terms of people testing and potentially contributing test cases; this
> imbalance of manpower is not going to be remedied by any unit test
> frameworks we introduce.

Actually, I think it will.  Why do non-x86 architectures break so often? 
Because they aren't tested.  Why aren't they tested?  Because it's extremely 
difficult.

AFAIK, the majority of folks that do test non-x86 architectures do so by running 
images manually.  Most of them use Aurelien's debian images.

What I'm trying to get at with make check/qemu-test is a simple way that we can 
add test cases for less commonly used features that makes it very easy to test 
these things.  That's the only way we'll stop breaking other targets.

Don't view this as, "here is extra work you have to do to get your feature in", 
but rather as, "here is an opportunity to make sure that no one else does 
something silly and breaks your feature, forcing you to spend your time tracking 
it down."

Regards,

Anthony Liguori

>
> Regards,
> Andreas
>
Stefan Hajnoczi - Jan. 10, 2012, 8:39 a.m.
On Mon, Jan 09, 2012 at 10:04:38AM -0600, Anthony Liguori wrote:
> The general rules for 'make check-quick':
> 
>  1) It must complete in less than 10 minutes start to finish (the
> entire rule).  We can re-examine this over time but for now, it
> seems like a reasonable limit.
> 
>  2) It must gracefully degrade across architectures/targets.  Do not
> assume qemu-system-x86_64 is present or that an arm cross compiler
> is available.

This should be captured in qemu/ documentation somewhere, otherwise it
will be quickly forgotten or newcomers will not be aware.

Stefan
Kevin Wolf - Jan. 10, 2012, 9:57 a.m.
Am 10.01.2012 00:56, schrieb Anthony Liguori:
> On 01/09/2012 05:22 PM, Andreas Färber wrote:
>> Am 09.01.2012 22:42, schrieb Anthony Liguori:
>>> If there's some piece of QEMU you care about, start writing tests and
>>> tie it into make check.  It's that simple :-)
>>
>> Not quite. It would be easier if we just set up some storage space with
>> images like the handful of *-test images on qemu.org.
> 
> It's not that simple.  We cannot just host an image on qemu.org without getting 
> into GPL considerations.  Even beyond the GPL, I don't think having opaque 
> images that people don't understand how to recreate if they need to is a good 
> strategy.
> 
> I've considered trying to do something based on automated installation (using 
> kickstart/preseed).  This has limitations though.  It takes an extremely long 
> time to generate these having the necessary hooks with preseeds appears to be 
> very difficult.

Isn't this kind of tool called autotest? I can't see a reason to
duplicate it if you really want to go for full-blown guests.

Kevin
Anthony Liguori - Jan. 10, 2012, 1:11 p.m.
On 01/10/2012 03:57 AM, Kevin Wolf wrote:
> Am 10.01.2012 00:56, schrieb Anthony Liguori:
>> On 01/09/2012 05:22 PM, Andreas Färber wrote:
>>> Am 09.01.2012 22:42, schrieb Anthony Liguori:
>>>> If there's some piece of QEMU you care about, start writing tests and
>>>> tie it into make check.  It's that simple :-)
>>>
>>> Not quite. It would be easier if we just set up some storage space with
>>> images like the handful of *-test images on qemu.org.
>>
>> It's not that simple.  We cannot just host an image on qemu.org without getting
>> into GPL considerations.  Even beyond the GPL, I don't think having opaque
>> images that people don't understand how to recreate if they need to is a good
>> strategy.
>>
>> I've considered trying to do something based on automated installation (using
>> kickstart/preseed).  This has limitations though.  It takes an extremely long
>> time to generate these having the necessary hooks with preseeds appears to be
>> very difficult.
>
> Isn't this kind of tool called autotest? I can't see a reason to
> duplicate it if you really want to go for full-blown guests.

Yes, I should have added, "I couldn't think of a better way to do this than what 
autotest already does."

Regards,

Anthony Liguori

>
> Kevin
>
Luiz Capitulino - Jan. 10, 2012, 1:21 p.m.
On Tue, 10 Jan 2012 08:39:07 +0000
Stefan Hajnoczi <stefanha@gmail.com> wrote:

> On Mon, Jan 09, 2012 at 10:04:38AM -0600, Anthony Liguori wrote:
> > The general rules for 'make check-quick':
> > 
> >  1) It must complete in less than 10 minutes start to finish (the
> > entire rule).  We can re-examine this over time but for now, it
> > seems like a reasonable limit.
> > 
> >  2) It must gracefully degrade across architectures/targets.  Do not
> > assume qemu-system-x86_64 is present or that an arm cross compiler
> > is available.
> 
> This should be captured in qemu/ documentation somewhere, otherwise it
> will be quickly forgotten or newcomers will not be aware.

Submitting patches also should have a clause asking submitters to run
the suite before posting patches.

> 
> Stefan
>
Andreas Färber - Jan. 10, 2012, 2:49 p.m.
Am 10.01.2012 00:56, schrieb Anthony Liguori:
> On 01/09/2012 05:22 PM, Andreas Färber wrote:
>> Am 09.01.2012 22:42, schrieb Anthony Liguori:
>>> On 01/09/2012 02:57 PM, Andreas Färber wrote:
>>>> Am 09.01.2012 20:28, schrieb Anthony Liguori:
>>>>> We're still short on infrastructure right now so I expect that a
>>>>> lot of
>>>>> stuff will get merged without tests at first.  As we get more test
>>>>> infrastructure like qtest and qemu-test, I expect that to change.
>>>>>
>>>>> In terms of total coverage for any given feature, I think
>>>>> ultimately the
>>>>> goal is to move the responsibility for regression testing from the
>>>>> contributors of new features to the subsystems themselves.
>>>>>
>>>>> IOW, after we get going with our test infrastructure, when we do big
>>>>> sweeping changes like the memory API or QOM, I will have much less
>>>>> sympathy for breakages that are caused by subsystems with an
>>>>> incomplete
>>>>> test suite.
>>>>>
>>>>> So I think the most important thing for maintainers to start thinking
>>>>> about is how they can add the necessary infrastructure for testing
>>>>> their
>>>>> subsystems.
>>>>
>>>> Well, I already tried pointing out that qemu-test in the way previously
>>>> proposed does not help catching the recent regressions for PReP.
>>>
>>> Actually, qemu-test did catch it.  The only reason I didn't see it is
>>> that I didn't add qemu-system-powerpc to my regression script that I'm
>>> using to drive it.  But simply booting up a Linux guest would have
>>> caught it.
>>
>> Booting up a Linux kernel yes, but not the latest-and-greatest like you
>> proposed. Meaning, we need to be able to reference different branches or
>> trees instead of a single submodule (cf. qemu-test thread).
> 
> I don't understand what you mean.  Given the set of submodules currently
> used, I'm not aware of any target that has issues.

To my knowledge -M prep is not supported from 2.6 kernel on while
g3beige/mac99/pseries are. So yes, there's ppc support in binutils, yes
there'll probably be ppc support in uClibc but no 3.x kernel support
despite the target generally being supported by the kernel.

>  You asserted that it
> may not be the case that a single version of Linux, busybox, uclibc
> would all work on all targets.  But so far, I don't see any evidence to
> suggest that this isn't, in fact, possible.

Depends on what you consider possible, of course. ;)

At university we were stuck at 2.4.x for the Sharp Zaurus (armel) -
don't know the background there though, might be resolved by now.
Many mipsel devices still run 2.4.x but that's more of a binary-driver
issue, I guess.

ARM recently needed a binutils fix by Alex to avoid some segfault.
Toshiba AC100, Efika, etc. all have their respective downstream kernels.
Haven't checked the kernel for Cortex-R4F support yet but my board
doesn't really support it memory-wise (unless there's sufficient RAM to
boot via CAN, but point is, not all boards are manufactured for Linux).

Examples of potentially problematic targets not in upstream:

* V850 was recently scheduled for removal from the kernel; stable
binutils+gcc available, apparently supported by uClib.

* RX needs a binutils snapshot apparently (GNURX v11.03) and is not
mentioned in the uClibc FAQ, but supported by gcc 4.5; no kernel port
that I'm aware of (/me poking at it).

* RL78 needs binutils+gcc+newlib snapshot (GNRL78 v11.03), not mentioned
in uClibc FAQ; no kernel port that I'm aware of (and doesn't seem worth
the effort to me).

* STM8 not supported by binutils+gcc at all (llvm+clang port underway),
probably no uClibc/kernel support either then.

* 8051 needs sdcc iirc. Don't know about libc/kernel.

* z80? openrisc? mmix? avr32? iPhone?

You'll find plenty more examples when you look at embedded systems
(e.g., automotive) and/or relatively new architectures.

Doesn't mean we can't use qemu-test for some targets, just that we can't
use Linux 3.x and uClibc for everything. For many things yes.

In particular my criticism targetted the proposed use of submodules for
qemu-jeos.git: Doing the checkouts from a trivial shell script instead
would allow to checkout different commits/trees for different targets
and resolve part of the problem.

Andreas
Peter Maydell - Jan. 10, 2012, 3:39 p.m.
On 10 January 2012 14:49, Andreas Färber <andreas.faerber@web.de> wrote:
> Haven't checked the kernel for Cortex-R4F support yet but my board
> doesn't really support it memory-wise (unless there's sufficient RAM to
> boot via CAN, but point is, not all boards are manufactured for Linux).

Also R profile doesn't have an MMU... (M profile even more so. uClinux,
anybody?)

-- PMM

Patch

diff --git a/Makefile b/Makefile
index 9ce8768..0cbe7c2 100644
--- a/Makefile
+++ b/Makefile
@@ -241,7 +241,7 @@  clean:
 	rm -f trace-dtrace.h trace-dtrace.h-timestamp
 	rm -f $(GENERATED_SOURCES)
 	rm -rf $(qapi-dir)
-	$(MAKE) -C tests clean
+	$(MAKE) -C tests/tcg clean
 	for d in $(ALL_SUBDIRS) $(QEMULIBS) libcacard; do \
 	if test -d $$d; then $(MAKE) -C $$d $@ || exit 1; fi; \
 	rm -f $$d/qemu-options.def; \
@@ -319,7 +319,7 @@  endif
 
 # various test targets
 test speed: all
-	$(MAKE) -C tests $@
+	$(MAKE) -C tests/tcg $@
 
 .PHONY: check
 check: $(patsubst %,run-check-%,$(CHECKS))
diff --git a/configure b/configure
index 0309dad..79790b3 100755
--- a/configure
+++ b/configure
@@ -3809,14 +3809,14 @@  echo "QEMU_INCLUDES+=$includes" >> $config_target_mak
 done # for target in $targets
 
 # build tree in object directory in case the source is not in the current directory
-DIRS="tests tests/cris slirp audio block net pc-bios/optionrom"
+DIRS="tests tests/tcg tests/tcg/cris slirp audio block net pc-bios/optionrom"
 DIRS="$DIRS pc-bios/spapr-rtas"
 DIRS="$DIRS roms/seabios roms/vgabios"
 DIRS="$DIRS fsdev ui"
 DIRS="$DIRS qapi qapi-generated"
 DIRS="$DIRS qga trace"
-FILES="Makefile tests/Makefile qdict-test-data.txt"
-FILES="$FILES tests/cris/Makefile tests/cris/.gdbinit"
+FILES="Makefile tests/tcg/Makefile qdict-test-data.txt"
+FILES="$FILES tests/tcg/cris/Makefile tests/tcg/cris/.gdbinit"
 FILES="$FILES pc-bios/optionrom/Makefile pc-bios/keymaps"
 FILES="$FILES pc-bios/spapr-rtas/Makefile"
 FILES="$FILES roms/seabios/Makefile roms/vgabios/Makefile"