[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 14/27] arc: Add support for ARCv2
From: |
Richard Henderson |
Subject: |
Re: [PATCH 14/27] arc: Add support for ARCv2 |
Date: |
Wed, 7 Apr 2021 13:30:52 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 |
On 4/5/21 7:31 AM, cupertinomiranda@gmail.com wrote:
diff --git a/configure b/configure
index 535e6a9269..80d993fac7 100755
--- a/configure
+++ b/configure
@@ -680,6 +680,8 @@ elif check_define __arm__ ; then
cpu="arm"
elif check_define __aarch64__ ; then
cpu="aarch64"
+elif check_define __arc__ ; then
+ cpu="arc"
else
cpu=$(uname -m)
fi
This is host related, not target.
diff --git a/disas.c b/disas.c
index a61f95b580..a10fa41330 100644
--- a/disas.c
+++ b/disas.c
@@ -208,6 +208,8 @@ static void initialize_debug_host(CPUDebug *s)
s->info.cap_insn_split = 6;
#elif defined(__hppa__)
s->info.print_insn = print_insn_hppa;
+#elif defined(__arc__)
+ s->info.print_insn = print_insn_arc;
#endif
As is this.
Until arc can self-host qemu, you don't need them.
--- a/hw/arc/Makefile.objs
Leftover from before meson.build.
r~
- [PATCH 03/27] arc: Opcode definitions table, (continued)
- [PATCH 03/27] arc: Opcode definitions table, cupertinomiranda, 2021/04/05
- [PATCH 05/27] arc: TCG instruction generator and hand-definitions, cupertinomiranda, 2021/04/05
- [PATCH 06/27] arc: semfunc.c tcg code generator., cupertinomiranda, 2021/04/05
- [PATCH 10/27] arc: Add memory management unit (MMU) support, cupertinomiranda, 2021/04/05
- [PATCH 09/27] arc: Add IRQ and timer subsystem support, cupertinomiranda, 2021/04/05
- [PATCH 14/27] arc: Add support for ARCv2, cupertinomiranda, 2021/04/05
- Re: [PATCH 14/27] arc: Add support for ARCv2,
Richard Henderson <=
- [PATCH 11/27] arc: Add memory protection unit (MPU) support, cupertinomiranda, 2021/04/05
- [PATCH 16/27] tests/acceptance: ARC: Add linux boot testing., cupertinomiranda, 2021/04/05
- [PATCH 08/27] arc: Add BCR and AUX registers implementation, cupertinomiranda, 2021/04/05
- [PATCH 12/27] arc: Add gdbstub and XML for debugging support, cupertinomiranda, 2021/04/05
- [PATCH 13/27] arc: Add Synopsys ARC emulation boards, cupertinomiranda, 2021/04/05
- [PATCH 17/27] arcv3: Core cpu file changes, cupertinomiranda, 2021/04/05
- [PATCH 20/27] arcv3: TCG, decoder glue code and helper changes, cupertinomiranda, 2021/04/05
- [PATCH 15/27] tests/tcg: ARC: Add TCG instruction definition tests, cupertinomiranda, 2021/04/05