DJ Delorie
ddcd33c11d
* i960-desc.c: Update all the A macro definitions to the new
stdc-sensitive versions that cgen would have used.
26 years ago
Nick Clifton
fae0bf59e6
Add parentheses ready for future conbtribution
26 years ago
Nick Clifton
dda308f5fd
Update base address register after restoring register bank.
26 years ago
Jonathan Larmour
42acc51e30
* Makefile.in (gencode): Link with libopcodes in build tree rather
26 years ago
Nick Clifton
88694af3f9
Detect installation of SWI vector by running program as well as loading program.
26 years ago
Alexandre Oliva
de0492b6fb
* interp.c (sim_create_inferior): Record program arguments for
later inspection by the trap handler.
(count_argc): New function.
(prog_argv): Declare static.
(sim_write): Declare.
(trap): Implement argc, argnlen and argn system calls. Do not
abort on unknown system calls--simply return -1.
* syscall.h (SYS_argc, SYS_argnlen, SYS_argn): Define.
26 years ago
Alexandre Oliva
554064594b
* interp.c (trap): Implement time.
26 years ago
Geoffrey Keating
428e1889bc
* emul_netbsd.c (do_open): Translate the flag parameter to the
open syscall to the numbers supported by the host.
26 years ago
Chris Demetriou
0b8c7076b5
* MAINTAINERS: Added self and Andrew for the mips sim.
26 years ago
Ben Elliston
badd2b1e70
* Tidy.
26 years ago
Frank Ch. Eigler
9397fcbf1c
* configury fix
[common/ChangeLog]
2001-01-12 Chris Demetriou <cgd@sibyte.com>
* aclocal.m4 (SIM_AC_OPTION_SCACHE): Properly
handle the case where a numeric value is supplied.
[eg. m32r/ChangeLog]
2001-01-12 Frank Ch. Eigler <fche@redhat.com>
* configure: Regenerated with sim_scache fix.
26 years ago
Ben Elliston
63fe103861
2001-01-06 Ben Elliston <bje@redhat.com>
* cgen.sh: Allow extrafiles to include the semantics files when
generating an ISA-specific decoder.
26 years ago
Alexandre Oliva
b6f6b44d62
* Make-common.in (sim-io.o): Depend on targ-vals.h.
26 years ago
Ben Elliston
ad8707b58d
2000-12-23 Ben Elliston <bje@redhat.com>
* cgen-trace.c (trace_result): Handle 'f' type operands; output
them to the trace stream using sim_fpu_printn_fpu. Include
"sim-fpu.h".
26 years ago
Ben Elliston
b94c096644
2000-12-15 Ben Elliston <bje@redhat.com>
* sim-fpu.h (sim_fpu_printn_fpu): Declare.
* sim-fpu.c (print_bits): Add digits parameter. Print only as many
trailing digits as specified (-1 to print all digits).
(sim_fpu_print_fpu): New wrapper around sim_fpu_printn_fpu.
(sim_fpu_printn_fpu): Rename from sim_fpu_print_fpu; update calls
to print_bits ().
26 years ago
Nick Clifton
ac1c9d3aad
Fix test for StoreDouble Instruction.
26 years ago
Ben Elliston
fd5d712edf
2000-12-13 Ben Elliston <bje@redhat.com>
* cgen.sh: Set prefix/PREFIX (append ISA if applicable). Factor
sed expressions into $sedscript, substituting @prefix@/@PREFIX@.
(defs): New action.
26 years ago
Geoffrey Keating
4c15ccf7af
In sim/common:
* sim-endian.h: Don't have parameters on macro definitions which
are simply renaming functions, to permit use of XCONCAT2 in both
the macro name and the arguments in a use of such a definition.
In sim/ppc:
* sim-endian.h: Don't have parameters on macro definitions which
are simply renaming functions, to permit use of XCONCAT2 in both
the macro name and the arguments in a use of such a definition.
26 years ago
Ben Elliston
0d277f51d0
2000-12-11 Ben Elliston <bje@redhat.com>
* cgen-ops.h (SUBWORDDFDI): New function.
26 years ago
Nick Clifton
9a6b6a66b7
Add 0x91 as an FPE SWI.
26 years ago
Michael Chastain
7c721b2a2a
2000-11-15 Jim Blandy <jimb@redhat.com>
* sim_calls.c: Doc fix.
(sim_fetch_register, sim_store_register): Call
gdbarch_register_name directly, instead of going through
REGISTER_NAME macro.
26 years ago
Nick Clifton
df38a86eec
oops - remove redundant prototype introduced in previous delta
26 years ago
Nick Clifton
760a7bbec5
Add emulation of double word load and store instructions.
26 years ago
Ben Elliston
c79688eb6e
2000-12-05 Ben Elliston <bje@redhat.com>
* Make-common.in (cgen-defs): New target.
(cgen-decode): Pass $(EXTRAFILES).
26 years ago
Ben Elliston
bb4e03e555
2000-12-05 Ben Elliston <bje@redhat.com>
* genmloop.sh: Use @prefix@, not @cpu@ throughout. Add -prefix and
-outfile-suffix options.
26 years ago
Ben Elliston
6227bc851d
2000-12-04 Ben Elliston <bje@redhat.com>
* cgen-ops.h (SUBWORDSIQI): Mask off top bits.
(SUBWORDSIUQI): Likewise.
(SUBWORDDIHI): Likewise.
(SUBWORDDIQI): New function.
26 years ago
Ben Elliston
76440e4ba0
2000-12-04 Ben Elliston <bje@redhat.com>
* cgen-trace.c (disassemble_insn): Remove unused declaration.
* cgen-scache.c (scache_option_handler): Remove unused local var.
26 years ago
Nick Clifton
7f53bc3526
Suppress support of DEMON swi's in XScale mode.
26 years ago
Ben Elliston
cdc2a5c395
2000-12-03 Ben Elliston <bje@redhat.com>
* sim-profile.c (profile_option_handler): Remove unused prof_nr.
26 years ago
Nick Clifton
f1129fb8ff
Add support for ARM's v5TE architecture and Intel's XScale extenstions
26 years ago
Nick Clifton
2a1aa0e97c
Add GNU Free Documentation License
26 years ago
Stephane Carrez
4e73b9c108
Fix delete_hw_event_data() to free the scheduled events
26 years ago
Stephane Carrez
ce9bc8d1f1
Remove space == 0 restriction in the simulator (dv-core)
26 years ago
Stephane Carrez
b93775f586
Preliminary support for 68HC12
26 years ago
Stephane Carrez
639aa4f72f
Register a delete handler for 68HC11 core device node
26 years ago
Stephane Carrez
ce13044d7a
Fix for sim/common hw_delete()/hw_tree_delete()
26 years ago
Stephane Carrez
7c070881e4
Fix memory leak in sim_parse_args
26 years ago
Stephane Carrez
6e73e7ed64
Fix device memory allocation in 68hc11 simulator
26 years ago
Ben Elliston
4f49fa1bf0
2000-11-20 Ben Elliston <bje@redhat.com>
* cgen-ops.h (SUBBI): New macro.
(SUBWORDSIQI, SUBWORDSIHI, SUBWORDSIUQI): New functions.
(SUBWORDDIHI, SUBWORDDIUQI, SUBWORDDIDF): Likewise.
26 years ago
Greg McGary
fec7d8b0e7
* Makefile.in: remove `@true' commands for rules that have
$(CGEN_MAINT) as a prerequisite.
26 years ago
Ben Elliston
2d84da1b7c
2000-11-16 Ben Elliston <bje@redhat.com>
* cgen-types.h (VOID): New type.
26 years ago
Ben Elliston
dbc168afd2
2000-11-09 Ben Elliston <bje@redhat.com>
* sim-fpu.c (sim_fpu_one): Set exponent to 0.
(sim_fpu_two): Set exponent to 1.
26 years ago
Ben Elliston
620abd4dfd
* Spelling corrections.
26 years ago
Dave Brolley
0ab7df8a89
2000-11-01 Dave Brolley <brolley@cygnus.com>
* lib/sim-defs.exp (run_sm_test): Correct comment. "output" and
"xerror" options do not use a list of machines. Clear options from
previous test case. Use "$cpu_option" to identify the machine to the
assembler, if specified.
26 years ago
Elena Zannoni
e4f5c43e77
2000-10-26 Ben Elliston <bje@redhat.com>
* cgen.sh: Handle an isa argument between cpu and mach. Default to
`all'. Pass `-i' options to cgen applications.
* Make-common.in (cgen-arch, cgen-cpu, cgen-decode, cgen-cpu-decode,
cgen-desc): Pass $(isa) to cgen.sh.
26 years ago
Geoffrey Keating
c56a7a95d1
* MAINTAINERS: Added self and Andrew for the ppc sim.
26 years ago
Geoffrey Keating
ae02957b46
* ppc-instructions (lfsux): Correct XO field of lfsux instruction.
26 years ago
Ben Elliston
8f1e3ff591
* pendanticism
2000-10-24 Ben Elliston <bje@redhat.com>
* gencode.c (tab): Delimit strings with commas where applicable.
26 years ago
Frank Ch. Eigler
d3ee60d90e
* cleanup
2000-10-19 Frank Ch. Eigler <fche@redhat.com>
On advice from Chris G. Demetriou <cgd@sibyte.com>:
* sim-main.h (GPR_CLEAR): Remove unused alternative macro.
26 years ago
Ben Elliston
a8d894af63
* usability improvements
2000-10-08 Ben Elliston <bje@redhat.com>
* cgen-utils.c (cgen_rtx_error): New function.
2000-10-07 Ben Elliston <bje@redhat.com>
* cgen-trace.c (sim_cgen_disassemble_insn): Handle failure
conditions for sim_core_read_buffer().
26 years ago