All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Henderson <richard.henderson@linaro.org>
To: qemu-devel@nongnu.org
Cc: =gaosong@loongson.cn, yangxiaojuan@loongson.cn,
	"Song Gao" <gaosong@loongson.cn>,
	"Philippe Mathieu-Daudé" <f4bug@amsat.org>
Subject: [PULL 17/43] target/loongarch: Add target build suport
Date: Mon,  6 Jun 2022 16:14:24 -0700	[thread overview]
Message-ID: <20220606231450.448443-18-richard.henderson@linaro.org> (raw)
In-Reply-To: <20220606231450.448443-1-richard.henderson@linaro.org>

From: Song Gao <gaosong@loongson.cn>

Signed-off-by: Song Gao <gaosong@loongson.cn>
Signed-off-by: Xiaojuan Yang <yangxiaojuan@loongson.cn>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20220606124333.2060567-18-yangxiaojuan@loongson.cn>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
 target/loongarch/meson.build | 19 +++++++++++++++++++
 target/meson.build           |  1 +
 2 files changed, 20 insertions(+)
 create mode 100644 target/loongarch/meson.build

diff --git a/target/loongarch/meson.build b/target/loongarch/meson.build
new file mode 100644
index 0000000000..bcb076e55f
--- /dev/null
+++ b/target/loongarch/meson.build
@@ -0,0 +1,19 @@
+gen = decodetree.process('insns.decode')
+
+loongarch_ss = ss.source_set()
+loongarch_ss.add(files(
+  'cpu.c',
+  'disas.c',
+))
+loongarch_tcg_ss = ss.source_set()
+loongarch_tcg_ss.add(gen)
+loongarch_tcg_ss.add(files(
+  'fpu_helper.c',
+  'op_helper.c',
+  'translate.c',
+))
+loongarch_tcg_ss.add(zlib)
+
+loongarch_ss.add_all(when: 'CONFIG_TCG', if_true: [loongarch_tcg_ss])
+
+target_arch += {'loongarch': loongarch_ss}
diff --git a/target/meson.build b/target/meson.build
index 2f6940255e..a53a60486f 100644
--- a/target/meson.build
+++ b/target/meson.build
@@ -5,6 +5,7 @@ subdir('cris')
 subdir('hexagon')
 subdir('hppa')
 subdir('i386')
+subdir('loongarch')
 subdir('m68k')
 subdir('microblaze')
 subdir('mips')
-- 
2.34.1



  parent reply	other threads:[~2022-06-06 23:31 UTC|newest]

Thread overview: 47+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-06 23:14 [PULL 00/43] target/loongarch: Initial system support Richard Henderson
2022-06-06 23:14 ` [PULL 01/43] target/loongarch: Add README Richard Henderson
2022-06-06 23:14 ` [PULL 02/43] target/loongarch: Add core definition Richard Henderson
2022-06-06 23:14 ` [PULL 03/43] target/loongarch: Add main translation routines Richard Henderson
2022-06-06 23:14 ` [PULL 04/43] target/loongarch: Add fixed point arithmetic instruction translation Richard Henderson
2022-06-06 23:14 ` [PULL 05/43] target/loongarch: Add fixed point shift " Richard Henderson
2022-06-06 23:14 ` [PULL 06/43] target/loongarch: Add fixed point bit " Richard Henderson
2022-06-06 23:14 ` [PULL 07/43] target/loongarch: Add fixed point load/store " Richard Henderson
2022-06-06 23:14 ` [PULL 08/43] target/loongarch: Add fixed point atomic " Richard Henderson
2022-06-06 23:14 ` [PULL 09/43] target/loongarch: Add fixed point extra " Richard Henderson
2022-06-06 23:14 ` [PULL 10/43] target/loongarch: Add floating point arithmetic " Richard Henderson
2022-06-06 23:14 ` [PULL 11/43] target/loongarch: Add floating point comparison " Richard Henderson
2022-06-06 23:14 ` [PULL 12/43] target/loongarch: Add floating point conversion " Richard Henderson
2022-06-06 23:14 ` [PULL 13/43] target/loongarch: Add floating point move " Richard Henderson
2022-06-06 23:14 ` [PULL 14/43] target/loongarch: Add floating point load/store " Richard Henderson
2022-06-06 23:14 ` [PULL 15/43] target/loongarch: Add branch " Richard Henderson
2022-06-06 23:14 ` [PULL 16/43] target/loongarch: Add disassembler Richard Henderson
2022-06-06 23:14 ` Richard Henderson [this message]
2022-06-06 23:14 ` [PULL 18/43] target/loongarch: Add system emulation introduction Richard Henderson
2022-06-06 23:14 ` [PULL 19/43] target/loongarch: Add CSRs definition Richard Henderson
2022-06-06 23:14 ` [PULL 20/43] target/loongarch: Add basic vmstate description of CPU Richard Henderson
2022-06-06 23:14 ` [PULL 21/43] target/loongarch: Implement qmp_query_cpu_definitions() Richard Henderson
2022-06-06 23:14 ` [PULL 22/43] target/loongarch: Add MMU support for LoongArch CPU Richard Henderson
2022-06-06 23:14 ` [PULL 23/43] target/loongarch: Add LoongArch interrupt and exception handle Richard Henderson
2022-06-06 23:14 ` [PULL 24/43] target/loongarch: Add constant timer support Richard Henderson
2022-06-06 23:14 ` [PULL 25/43] target/loongarch: Add LoongArch CSR instruction Richard Henderson
2022-06-06 23:14 ` [PULL 26/43] target/loongarch: Add LoongArch IOCSR instruction Richard Henderson
2022-06-06 23:14 ` [PULL 27/43] target/loongarch: Add TLB instruction support Richard Henderson
2022-06-06 23:14 ` [PULL 28/43] target/loongarch: Add other core instructions support Richard Henderson
2022-06-06 23:14 ` [PULL 29/43] target/loongarch: Add timer related " Richard Henderson
2022-06-06 23:14 ` [PULL 30/43] hw/loongarch: Add support loongson3 virt machine type Richard Henderson
2022-06-06 23:14 ` [PULL 31/43] hw/loongarch: Add LoongArch ipi interrupt support(IPI) Richard Henderson
2022-06-06 23:14 ` [PULL 32/43] hw/intc: Add LoongArch ls7a interrupt controller support(PCH-PIC) Richard Henderson
2022-06-06 23:14 ` [PULL 33/43] hw/intc: Add LoongArch ls7a msi interrupt controller support(PCH-MSI) Richard Henderson
2022-06-06 23:14 ` [PULL 34/43] hw/intc: Add LoongArch extioi interrupt controller(EIOINTC) Richard Henderson
2022-06-06 23:14 ` [PULL 35/43] hw/loongarch: Add irq hierarchy for the system Richard Henderson
2022-06-06 23:14 ` [PULL 36/43] Enable common virtio pci support for LoongArch Richard Henderson
2022-06-06 23:14 ` [PULL 37/43] hw/loongarch: Add some devices support for 3A5000 Richard Henderson
2022-06-06 23:14 ` [PULL 38/43] hw/loongarch: Add LoongArch ls7a rtc device support Richard Henderson
2022-06-28 11:05   ` Peter Maydell
2022-06-28 12:04     ` yangxiaojuan
2022-06-06 23:14 ` [PULL 39/43] hw/loongarch: Add LoongArch load elf function Richard Henderson
2022-06-06 23:14 ` [PULL 40/43] hw/loongarch: Add LoongArch virt power manager support Richard Henderson
2022-06-06 23:14 ` [PULL 41/43] target/loongarch: Add gdb support Richard Henderson
2022-06-06 23:14 ` [PULL 42/43] tests/tcg/loongarch64: Add hello/memory test in loongarch64 system Richard Henderson
2022-06-06 23:14 ` [PULL 43/43] target/loongarch: 'make check-tcg' support Richard Henderson
2022-06-07  1:21 ` [PULL 00/43] target/loongarch: Initial system support Richard Henderson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220606231450.448443-18-richard.henderson@linaro.org \
    --to=richard.henderson@linaro.org \
    --cc==gaosong@loongson.cn \
    --cc=f4bug@amsat.org \
    --cc=gaosong@loongson.cn \
    --cc=qemu-devel@nongnu.org \
    --cc=yangxiaojuan@loongson.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.