Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
(sim-debug): Allow arguments. Define WITH_DEBUG in addition to
-DDEBUG.
* configure: Regenerated to track ../common/aclocal.m4 changes.
|
|
Update common/aclocal.m4 to better work with sim-config.[hc].
|
|
Somewhat simplify "sub" instructions.
Correctly sign extend operands for "mul". Put the correct
half of the result in MDR for "mul" and "mulu".
Implement remaining instructions.
Tweak opcode for "syscall".
|
|
dummy "trap" instruction.
Cleanups for the beta release.
|
|
optional arguments.
* Regenerate all configure scripts.
|
|
* Make-common.in (CSEARCH): Do not include the gdb directory in
the search path.
* Make-common.in (SIM_ENDIAN, SIM_HOSTENDIAN, SIM_INLINE,
SIM_WARNING): Drop, requiring the simulator specific Makefile.in
to explicitly incorporate these.
* aclocal.m4 (--enable-sim-alignment); New option. Strongly
specify the alignment restrictions of the target architecture -
without this option all alignment restrictions are accomodated.
(--enable-sim-assert): New option. Conditionally compile in
assertion statements.
(--enable-sim-float): New option. Strongly specify the target's
floating point support.
(--enable-sim-hardware): New option. Specify the hardware devices
included in the simulation.
(--enable-sim-packages): New option. Specify the hardware
packages included in the simulation.
(--enable-sim-regparm): New option. Specify that parameters be
passed in registers instead of on the stack.
(--enable-sim-reserved-bits): New option. Specify that reserved
bits within an instruction are are correctly set.
(--enable-sim-smp): New option. Specify the level of SMP support
to be included in the simulator.
(--enable-sim-stdcall): New option. Specify an alternative
function call convention.
(--enable-sim-xor-endian): New option. Configure xor-endian
support used by some targets to implement bi-endian support.
|
|
system call trap, keeping 0 temporarily
|
|
in argv form.
(other sim_*): New SIM_DESC argument.
|
|
More bugs exposed by new mn10300 compiler optimizations.
|
|
for bset imm8,(d8,an) and bclr imm8,(d8,an).
Bugs exposed by new compiler optimizations.
|
|
for lsr imm8,dn.
Bug exposed by c-torture testing of the mn10300.
|
|
COMMON_{PRE,POST}_CONFIG_FRAG instead.
* configure.in: sinclude ../common/aclocal.m4.
* configure: Regenerated.
|
|
comments and single quotes. Fixes a problem found on hpux.
|
|
simulator.
To match the linker.
|
|
is actually in ../common/aclocal.m4.)
|
|
../common/aclocal.m4).
|
|
scheme which is more compatible with WinGDB builds.
* configure.in: Improve comment on how to run autoconf.
* configure: Re-run autoconf to get new ../common/aclocal.m4.
* Makefile.in: Use autoconf substitution to install common
makefile fragment.
|
|
was correct!
|
|
Something I noticed while working on the mn10200.
|
|
|
|
Something I noticed while working on the mn10200 simulator.
|
|
Just something I noticed while working on the mn10200 simulator.
|
|
array to make gdb implementation easier.
(REG_*): Add definitions for all registers in the state array.
(SEXT32, SEXT40, SEXT44, SEXT60): Remove unused macros.
* simops.c: Related changes.
|
|
* simops.c: Fix overflow computation for "add" and "inc"
instructions.
|
|
|
|
|
|
opcode.
* mn10300_sim.h (simops): Add "format" field.
* interp.c (sim_resume): Deal with endianness issues here.
|
|
Use REG0_4 for indexed loads/stores.
Fixes bugs exposed after minor codegen improvements in the compiler.
|
|
|
|
|
|
simulated.
|
|
values from instructions. Use them consistently.
|
|
(sim_resume): Remove unused variable "opcode".
* simops.c: Fix some uninitialized variable problems, add
parens to fix various -Wall warnings.
Fixing assorted -Wall problems.
|
|
|
|
to the OP_* declarations.
(write_template): Similarly for function templates.
* interp.c (insn, extension): Remove global variables. Instead
pass them as arguments to the OP_* functions.
* mn10300_sim.h: Remove decls for "insn" and "extension".
* simops.c (OP_*): Accept "insn" and "extension" as arguments
instead of using globals.
Starting to clean things up.
|
|
Fixes remaining hangs while running c-torture execution tests.
Only 12 c-torture execution failures left:
* 920625-1.c fails all 6 execution tests.
* 960521-1.c fails all 6 execution tests.
|
|
|
|
"inc dn" does effect the condition codes.
Just something I noticed.
|
|
"div" instruction.
Fixes another dozen c-torture execution failures.
|
|
Fix typos/thinkos in several "cmp" and "sub" instructions.
Another couple dozen c-torture failures fixed.
|
|
instructions.
Another dozen execution failures fixed.
|
|
Fixes 80 or so c-torture execution failures. 400 to go.
|
|
Fixes several hangs in the c-torture execution tests. Also fixes about
40 failures.
|
|
Along with some compiler, bfd, assembler changes this fixes 90 or so
c-torture execution failures.
|
|
Fixes more c-torture problems.
|
|
"add imm,dn".
Fixes a half-dozen (of several hundred :( c-torture failures.
|
|
main(){write (0, "hello world\n", 13);} works!
|
|
pointer in "call" and "calls" instructions. Rough cut
at emulated system calls.
|
|
Everything except the extended instructions, the loop instructions,
trap, rti, and rtm.
|