Skip to content

RFC ARC cores

Michael Rolnik linux-snps-arc qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest29 patches 20 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/29target-arc: initial commit.gitignore MAINTAINERS arch_init.c +15 more+1511 -03 replies
2/29target-arc: ADC, ADD, ADD1, ADD2, ADD3target-arc/Makefile.objs target-arc/translate-inst.c target-arc/translate-inst.h+201 -01 reply
3/29target-arc: SUB, SUB1, SUB2, SUB3, SBC, RSUB, CMPtarget-arc/translate-inst.c target-arc/translate-inst.h+173 -01 reply
4/29target-arc: AND, OR, XOR, BIC, TSTtarget-arc/translate-inst.c target-arc/translate-inst.h+125 -01 reply
5/29target-arc: ASL(m), ASR(m), LSR(m), ROR(m)target-arc/translate-inst.c target-arc/translate-inst.h+221 -00 replies
6/29target-arc: EX, LD, ST, SYNC, PREFETCHtarget-arc/translate-inst.c target-arc/translate-inst.h+240 -01 reply
7/29target-arc: MAX, MINtarget-arc/translate-inst.c target-arc/translate-inst.h+32 -01 reply
8/29target-arc: MOV, EXT, SEX, SWAPtarget-arc/translate-inst.c target-arc/translate-inst.h+163 -00 replies
9/29target-arc: NEG, ABS, NOTtarget-arc/translate-inst.c target-arc/translate-inst.h+72 -01 reply
10/29target-arc: POP, PUSHtarget-arc/translate-inst.c target-arc/translate-inst.h+25 -01 reply
11/29target-arc: BCLR, BMSK, BSET, BTST, BXORtarget-arc/translate-inst.c target-arc/translate-inst.h+145 -01 reply
12/29target-arc: RLC, RRCtarget-arc/translate-inst.c target-arc/translate-inst.h+59 -00 replies
13/29target-arc: NORM, NORMWtarget-arc/Makefile.objs target-arc/helper.h target-arc/op_helper.c +2 more+151 -01 reply
14/29target-arc: MPY, MPYH, MPYHU, MPYUtarget-arc/translate-inst.c target-arc/translate-inst.h+134 -01 reply
15/29target-arc: MUL64, MULU64, DIVAWtarget-arc/translate-inst.c target-arc/translate-inst.h+109 -01 reply
16/29target-arc: BBIT0, BBIT1, BRtarget-arc/translate-inst.c target-arc/translate-inst.h+171 -01 reply
17/29target-arc: B, BLtarget-arc/translate-inst.c target-arc/translate-inst.h+193 -01 reply
18/29target-arc: J, JLtarget-arc/translate-inst.c target-arc/translate-inst.h+96 -00 replies
19/29target-arc: LR, SRtarget-arc/helper.h target-arc/op_helper.c target-arc/translate-inst.c +1 more+353 -01 reply
20/29target-arc: ADDS, ADDSDW, SUBS, SUBSDWtarget-arc/translate-inst.c target-arc/translate-inst.h+231 -00 replies
21/29target-arc: ABSS, ABSSW, NEGS, NEGSW, RND16, SAT16target-arc/translate-inst.c target-arc/translate-inst.h+246 -00 replies
22/29target-arc: ASLS, ASRStarget-arc/translate-inst.c target-arc/translate-inst.h+60 -01 reply
23/29target-arc: FLAG, BRK, SLEEPtarget-arc/helper.h target-arc/op_helper.c target-arc/translate-inst.c +1 more+72 -00 replies
24/29target-arc: NOP, UNIMPtarget-arc/translate-inst.c target-arc/translate-inst.h+22 -01 reply
25/29target-arc: TRAP, SWItarget-arc/translate-inst.c target-arc/translate-inst.h+109 -00 replies
26/29target-arc: RTIEtarget-arc/helper.h target-arc/op_helper.c target-arc/translate-inst.c +1 more+34 -00 replies
27/29target-arc: LPtarget-arc/helper.h target-arc/op_helper.c target-arc/translate-inst.c +1 more+47 -10 replies
28/29target-arc: decodetarget-arc/decode.c+2207 -21 reply
29/29target-arc: sample boardMAINTAINERS hw/arc/Makefile.objs hw/arc/sample.c+102 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH RFC v1 00/29] ARC cores

This series of patches adds ARC target to QEMU. It indends to support
- ARCtangent-A5 processor
- ARC 600 processor
- ARC 700 processor

All instructions except ASLS are implemented. Not fully tested yet. However I was able to execute correctly recursive fibonacci calculation. Reset vector is assumed to be some hardcoded value which worked for my test. I am planning to get FreeRTOS for ARC, once I get it, I will able to verify and complete interrupt support.

Michael Rolnik (29):
target-arc: initial commit
target-arc: ADC, ADD, ADD1, ADD2, ADD3
target-arc: SUB, SUB1, SUB2, SUB3, SBC, RSUB, CMP
target-arc: AND, OR, XOR, BIC, TST
target-arc: ASL(m), ASR(m), LSR(m), ROR(m)
target-arc: EX, LD, ST, SYNC, PREFETCH
target-arc: MAX, MIN
target-arc: MOV, EXT, SEX, SWAP
target-arc: NEG, ABS, NOT
target-arc: POP, PUSH
target-arc: BCLR, BMSK, BSET, BTST, BXOR
target-arc: RLC, RRC
target-arc: NORM, NORMW
target-arc: MPY, MPYH, MPYHU, MPYU
target-arc: MUL64, MULU64, DIVAW
target-arc: BBIT0, BBIT1, BR
target-arc: B, BL
target-arc: J, JL
target-arc: LR, SR
target-arc: ADDS, ADDSDW, SUBS, SUBSDW
target-arc: ABSS, ABSSW, NEGS, NEGSW, RND16, SAT16
target-arc: ASLS, ASRS
target-arc: FLAG, BRK, SLEEP
target-arc: NOP, UNIMP
target-arc: TRAP, SWI
target-arc: RTIE
target-arc: LP
target-arc: decode
target-arc: sample board

 .gitignore                      |    2 +
 MAINTAINERS                     |    6 +
 arch_init.c                     |    2 +
 configure                       |    5 +
 default-configs/arc-softmmu.mak |    0
 hw/arc/Makefile.objs            |   21 +
 hw/arc/sample.c                 |   80 ++
 include/sysemu/arch_init.h      |    1 +
 target-arc/Makefile.objs        |   28 +
 target-arc/cpu-qom.h            |   84 ++
 target-arc/cpu.c                |  269 ++++
 target-arc/cpu.h                |  174 +++
 target-arc/decode.c             | 2212 ++++++++++++++++++++++++++++++
 target-arc/gdbstub.c            |  138 ++
 target-arc/helper.c             |   74 +
 target-arc/helper.h             |   29 +
 target-arc/machine.c            |   35 +
 target-arc/machine.h            |   21 +
 target-arc/op_helper.c          |  443 ++++++
 target-arc/translate-inst.c     | 2855 +++++++++++++++++++++++++++++++++++++++
 target-arc/translate-inst.h     |  175 +++
 target-arc/translate.c          |  424 ++++++
 target-arc/translate.h          |  223 +++
 23 files changed, 7301 insertions(+)
 create mode 100644 default-configs/arc-softmmu.mak
 create mode 100644 hw/arc/Makefile.objs
 create mode 100644 hw/arc/sample.c
 create mode 100644 target-arc/Makefile.objs
 create mode 100644 target-arc/cpu-qom.h
 create mode 100644 target-arc/cpu.c
 create mode 100644 target-arc/cpu.h
 create mode 100644 target-arc/decode.c
 create mode 100644 target-arc/gdbstub.c
 create mode 100644 target-arc/helper.c
 create mode 100644 target-arc/helper.h
 create mode 100644 target-arc/machine.c
 create mode 100644 target-arc/machine.h
 create mode 100644 target-arc/op_helper.c
 create mode 100644 target-arc/translate-inst.c
 create mode 100644 target-arc/translate-inst.h
 create mode 100644 target-arc/translate.c
 create mode 100644 target-arc/translate.h
Signature · 1 line
2.4.9 (Apple Git-60)