qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH 00/10 v12] tilegx: Firstly add tilegx target for linux-user
@ 2015-06-13 13:07 Chen Gang
  2015-06-13 13:08 ` [Qemu-devel] [PATCH 01/10 v12] linux-user: tilegx: Firstly add architecture related features Chen Gang
                   ` (10 more replies)
  0 siblings, 11 replies; 21+ messages in thread
From: Chen Gang @ 2015-06-13 13:07 UTC (permalink / raw)
  To: Peter Maydell, Chris Metcalf, rth@twiddle.net,
	Andreas Färber
  Cc: walt@tilera.com, Riku Voipio, qemu-devel

It can finish running "Hello world" elf64 binary, and the related test
cases:

  - with "--enable-debug", enable assertion with "-g":

    ./tilegx-linux-user/qemu-tilegx -L /upstream/release-tile /upstream/release-tile/test/test_shared
    ./tilegx-linux-user/qemu-tilegx -d all -L /upstream/release-tile /upstream/release-tile/test/test_shared > /tmp/a.log

    ./tilegx-linux-user/qemu-tilegx /upstream/release-tile/test/test_static
    ./tilegx-linux-user/qemu-tilegx -d all /upstream/release-tile/test/test_static  > /tmp/b.log

  - without "--enable-debug", disable assertion with "-O2 -g":

    ./tilegx-linux-user/qemu-tilegx -L /upstream/release-tile /upstream/release-tile/test/test_shared
    ./tilegx-linux-user/qemu-tilegx -d all -L /upstream/release-tile /upstream/release-tile/test/test_shared > /tmp/c.log

    ./tilegx-linux-user/qemu-tilegx /upstream/release-tile/test/test_static
    ./tilegx-linux-user/qemu-tilegx -d all /upstream/release-tile/test/test_static  > /tmp/d.log

Chen Gang (10):
  linux-user: tilegx: Firstly add architecture related features
  linux-user: Support tilegx architecture in linux-user
  linux-user/syscall.c: conditionalize syscalls which are not defined in
    tilegx
  target-tilegx: Add opcode basic implementation from Tilera Corporation
  target-tilegx/opcode_tilegx.h: Modify it to fit QEMU usage
  target-tilegx: Add special register information from Tilera
    Corporation
  target-tilegx: Add cpu basic features for linux-user
  target-tilegx: Add several helpers for instructions translation
  target-tilegx: Generate tcg instructions to finish "Hello world"
  target-tilegx: Add TILE-Gx building files

 configure                             |    2 +
 default-configs/tilegx-linux-user.mak |    1 +
 include/elf.h                         |    2 +
 linux-user/elfload.c                  |   23 +
 linux-user/main.c                     |  295 ++++
 linux-user/syscall.c                  |   50 +-
 linux-user/syscall_defs.h             |   14 +-
 linux-user/tilegx/syscall.h           |   40 +
 linux-user/tilegx/syscall_nr.h        |  324 ++++
 linux-user/tilegx/target_cpu.h        |   35 +
 linux-user/tilegx/target_signal.h     |   28 +
 linux-user/tilegx/target_structs.h    |   46 +
 linux-user/tilegx/termbits.h          |  274 +++
 target-tilegx/Makefile.objs           |    1 +
 target-tilegx/cpu.c                   |  143 ++
 target-tilegx/cpu.h                   |  175 ++
 target-tilegx/helper.c                |   83 +
 target-tilegx/helper.h                |    5 +
 target-tilegx/opcode_tilegx.h         | 1406 ++++++++++++++++
 target-tilegx/spr_def_64.h            |  216 +++
 target-tilegx/translate.c             | 2966 +++++++++++++++++++++++++++++++++
 21 files changed, 6123 insertions(+), 6 deletions(-)
 create mode 100644 default-configs/tilegx-linux-user.mak
 create mode 100644 linux-user/tilegx/syscall.h
 create mode 100644 linux-user/tilegx/syscall_nr.h
 create mode 100644 linux-user/tilegx/target_cpu.h
 create mode 100644 linux-user/tilegx/target_signal.h
 create mode 100644 linux-user/tilegx/target_structs.h
 create mode 100644 linux-user/tilegx/termbits.h
 create mode 100644 target-tilegx/Makefile.objs
 create mode 100644 target-tilegx/cpu.c
 create mode 100644 target-tilegx/cpu.h
 create mode 100644 target-tilegx/helper.c
 create mode 100644 target-tilegx/helper.h
 create mode 100644 target-tilegx/opcode_tilegx.h
 create mode 100644 target-tilegx/spr_def_64.h
 create mode 100644 target-tilegx/translate.c

-- 
1.9.3

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2015-07-19 21:51 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-13 13:07 [Qemu-devel] [PATCH 00/10 v12] tilegx: Firstly add tilegx target for linux-user Chen Gang
2015-06-13 13:08 ` [Qemu-devel] [PATCH 01/10 v12] linux-user: tilegx: Firstly add architecture related features Chen Gang
2015-06-13 13:10 ` [Qemu-devel] [PATCH 02/10 v12] linux-user: Support tilegx architecture in linux-user Chen Gang
2015-07-19 11:31   ` Chen Gang
2015-07-19 21:52     ` Chen Gang
2015-06-13 13:13 ` [Qemu-devel] [PATCH 03/10 v12] linux-user/syscall.c: conditionally define syscalls which are not defined in tilegx Chen Gang
2015-06-13 13:14 ` [Qemu-devel] [PATCH 04/10 v12] target-tilegx: Add opcode basic implementation from Tilera Corporation Chen Gang
2015-06-13 13:15 ` [Qemu-devel] [PATCH 05/10 v12] target-tilegx/opcode_tilegx.h: Modify it to fit QEMU usage Chen Gang
2015-06-13 13:18 ` [Qemu-devel] [PATCH 07/10 v12] target-tilegx: Add cpu basic features for linux-user Chen Gang
2015-06-13 13:18 ` [Qemu-devel] [PATCH 06/10 v12] target-tilegx: Add special register information from Tilera Corporation Chen Gang
2015-06-13 13:19 ` [Qemu-devel] [PATCH 08/10 v12] target-tilegx: Add several helpers for instructions translation Chen Gang
     [not found]   ` <55A76DE6.4070103@hotmail.com>
2015-07-16  8:42     ` gchen gchen
2015-06-13 13:21 ` [Qemu-devel] [PATCH 09/10 v12] target-tilegx: Generate tcg instructions to finish "Hello world" Chen Gang
     [not found]   ` <55A76DB1.4090302@hotmail.com>
2015-07-16  8:43     ` gchen gchen
2015-07-19  9:42   ` Chen Gang
2015-07-19 10:09     ` Chen Gang
2015-07-19  9:57   ` Chen Gang
2015-06-13 13:22 ` [Qemu-devel] [PATCH 10/10 v12] target-tilegx: Add TILE-Gx building files Chen Gang
2015-06-18 22:02 ` [Qemu-devel] [PATCH 00/10 v12] tilegx: Firstly add tilegx target for linux-user Peter Maydell
2015-06-19  1:12   ` Chen Gang
2015-07-01  1:06     ` Chen Gang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).