Skip to content

sim: port for OpenRISC

Stafford Horne openrisc 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest18 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/18sim: cgen: add rem (remainder) function (needed for OR1K lf.rem.[sd])sim/common/cgen-accfp.c sim/common/cgen-fpu.h sim/common/sim-fpu.c +1 more+113 -00 replies
2/18sim: cgen: add mul-o1flag, mul-o2flag RTL functions to CGENsim/common/cgen-ops.h+18 -00 replies
3/18sim: cgen: allow suffix on generated arch.[ch] and cpuall.hsim/common/Make-common.in sim/common/cgen.sh+4 -40 replies
4/18sim: or1k: add or1k target to simsim/configure sim/configure.tgt sim/or1k/ChangeLog +41 more+59564 -00 replies
5/18sim: or1k: add NOP_EXIT_SILENT; make simulator print exit code for NOP_EXIT;sim/or1k/ChangeLog sim/or1k/or1k.c sim/or1k/or1k.h+23 -110 replies
6/18sim: or1k: fix branching and exceptions in simsim/or1k/ChangeLog sim/or1k/Makefile.in sim/or1k/configure +7 more+307 -1030 replies
7/18sim: or1k: remove erroneous warning message in sim/or1k/or1k.csim/or1k/ChangeLog sim/or1k/or1k.c+6 -50 replies
8/18sim: or1k: fix fl1 in simsim/or1k/ChangeLog sim/or1k/or1k.c+7 -20 replies
9/18sim: or1k: regenerate sim filessim/or1k/ChangeLog sim/or1k/cpu32.c sim/or1k/cpu32.h +11 more+633 -7170 replies
10/18sim: testsuite: add testsuite for or1k simsim/testsuite/sim/or1k/add.S sim/testsuite/sim/or1k/alltests.exp sim/testsuite/sim/or1k/and.S +21 more+6504 -00 replies
11/18sim: or1k: fix segfault when run without argumentssim/or1k/ChangeLog sim/or1k/sim-if.c+16 -90 replies
12/18sim: or1k: Get or1k sim building with latest sim commonsim/or1k/configure.ac sim/or1k/mloop.in sim/or1k/sim-if.c +2 more+10 -250 replies
13/18sim: or1k: Regenerate cgen filessim/or1k/arch32.c sim/or1k/arch64.c sim/or1k/cpu32.c +17 more+1921 -9280 replies
14/18sim: or1k: Regenerate autotool filessim/or1k/Makefile.in sim/or1k/aclocal.m4 sim/or1k/config.in +1 more+12111 -26290 replies
15/18sim: or1k: Implement register store/fetchsim/or1k/or1k-sim.h sim/or1k/or1k.c+29 -40 replies
16/18sim: or1k: Do trap breakpoint handlingsim/or1k/traps.c+37 -330 replies
17/18sim: or1k: Implement fetch/store for ppc and srsim/or1k/or1k-sim.h sim/or1k/or1k.c+14 -00 replies
18/18sim: or1k: add additional stubs for linux buildsim/or1k/traps-linux.c+21 -00 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [OpenRISC] [PATCH 00/18] sim: port for OpenRISC

Hello,

Please find attached the sim patches that allow to get a basic OpenRISC system running. This was used to verify the OpenRISC gdb port.

The main author is Peter Gavin who should have his FSF copyright in place.

Also some new tests were added specifically for openrisc. Please see the details of running the testsuite for sim below:

=== sim Summary ===

# of expected passes            17
/home/shorne/work/openrisc/build-gdb/sim/or1k/run 0.5

Thanks,
-Stafford

Peter Gavin (11):
sim: cgen: add rem (remainder) function (needed for OR1K lf.rem.[sd])
sim: cgen: add mul-o1flag, mul-o2flag RTL functions to CGEN
sim: cgen: allow suffix on generated arch.[ch] and cpuall.h
sim: or1k: add or1k target to sim
sim: or1k: add NOP_EXIT_SILENT; make simulator print exit code for

    NOP_EXIT;

sim: or1k: fix branching and exceptions in sim
sim: or1k: remove erroneous warning message in sim/or1k/or1k.c
sim: or1k: fix fl1 in sim
sim: or1k: regenerate sim files
sim: testsuite: add testsuite for or1k sim
sim: or1k: fix segfault when run without arguments

Stafford Horne (7):
sim: or1k: Get or1k sim building with latest sim common
sim: or1k: Regenerate cgen files
sim: or1k: Regenerate autotool files
sim: or1k: Implement register store/fetch
sim: or1k: Do trap breakpoint handling
sim: or1k: Implement fetch/store for ppc and sr
sim: or1k: add additional stubs for linux build