Fred Fish [Mon, 26 Jan 1998 17:14:55 +0000 (17:14 +0000)]
Fix minor sanitization problems.
Doug Evans [Mon, 26 Jan 1998 06:33:18 +0000 (06:33 +0000)]
use .vu pseduo-op
Doug Evans [Mon, 26 Jan 1998 06:24:59 +0000 (06:24 +0000)]
checkpoint
Michael Meissner [Mon, 26 Jan 1998 03:23:55 +0000 (03:23 +0000)]
Exit status is in r0, not r2
Doug Evans [Sun, 25 Jan 1998 23:38:32 +0000 (23:38 +0000)]
fix ilw,ilwr,isw,iswr
Doug Evans [Sun, 25 Jan 1998 23:34:09 +0000 (23:34 +0000)]
checkpoint
Martin Hunt [Sun, 25 Jan 1998 08:56:08 +0000 (08:56 +0000)]
Sat Jan 24 23:52:08 1998 Martin M. Hunt <hunt@cygnus.com>
* gdbtk.c: Merge from Foundry branch.
(TclDebug): New debugging function.
(gdb_loc): For frames, find address of calling function
instead of whatever is on the stack (usually the next
instruction).
(gdb_listfiles): Takes an optional pathname argument and
returns an alphabetized list of basenames of files in the
path.
Martin Hunt [Sun, 25 Jan 1998 08:53:37 +0000 (08:53 +0000)]
Sat Jan 24 23:44:43 1998 Martin M. Hunt <hunt@cygnus.com>
* breakpoint.c (enable_breakpoint): Preserve breakpoint
disposition when enabling a breakpoint.
* symtab.c (find_pc_sect_line): If no symbol information
is found, return correct pc anyway.
Michael Meissner [Sun, 25 Jan 1998 00:13:19 +0000 (00:13 +0000)]
If DEBUG has 0x20 set, turn traps into batch debugging
Jeff Law [Sat, 24 Jan 1998 08:58:46 +0000 (08:58 +0000)]
* configure (package_makefile_frag): Move inserting the
${package_makefile_frag} to where it should be according
to the comment.
Doug Evans [Sat, 24 Jan 1998 02:47:35 +0000 (02:47 +0000)]
* txvu-opc.c:
(parse_dest1,insert_luimm12up6): New functions.
(txvu_operands): New operands LUIMM12UP6, LDEST1.
(txvu_lower_opcodes): Clean up pass over table.
(parse_dotdest1): Fix dest calculation.
(_parse_sdest): Fix typo.
Doug Evans [Sat, 24 Jan 1998 02:44:02 +0000 (02:44 +0000)]
* config/tc-txvu.c (assemble_insn): Initialize errmsg = NULL
before calling insert routine.
Doug Evans [Sat, 24 Jan 1998 02:41:41 +0000 (02:41 +0000)]
new txvu testcase lower-1
Doug Evans [Sat, 24 Jan 1998 02:40:00 +0000 (02:40 +0000)]
new testcase lower-1
Stan Shebs [Sat, 24 Jan 1998 01:34:00 +0000 (01:34 +0000)]
* configure.host (i[3456]86-*-osf1mk*, mips-*-mach3*,
ns32k-*-mach3*): Fix file names.
(i[3456]86-*-os9k, m88*-*-mach3*, w65-*-*): Remove config
recognition, no source files for these.
* configure.tgt (powerpc-*-aix4*): Remove config, now identical
to powerpc-*-aix*.
* config/powerpc/{aix4.mh,aix4.mt,tm-ppc-aix4.h}: Remove files,
no longer needed.
Mark Alexander [Sat, 24 Jan 1998 00:52:54 +0000 (00:52 +0000)]
* monitor.c (monitor_write, monitor_readchar): New functions.
* monitor.h (monitor_write, monitor_readchar): Declare.
* dve3900-rom.c: Add support for fast loading on ethernet connections.
Doug Evans [Sat, 24 Jan 1998 00:44:53 +0000 (00:44 +0000)]
* config/tc-txvu.c (assemble_insn): Initialize errmsg = NULL
before calling insert routine.
Doug Evans [Sat, 24 Jan 1998 00:44:52 +0000 (00:44 +0000)]
* config/tc-txvu.c (assemble_insn): Delete test for !isalpha
after parsing mnemonic. ASCII operand chars are case insensitive.
Doug Evans [Fri, 23 Jan 1998 23:03:29 +0000 (23:03 +0000)]
sanitize m32rx piece of _sim_cpu
Doug Evans [Fri, 23 Jan 1998 23:01:06 +0000 (23:01 +0000)]
add m32rx sanitization to tconfig.in
Doug Evans [Fri, 23 Jan 1998 22:22:23 +0000 (22:22 +0000)]
* Make-common.in (stamp-tvals): New rule.
(targ-vals.h,targ-map.c): Depend on it.
(clean): Remove stamp-tvals.
Keith Seitz [Fri, 23 Jan 1998 20:54:35 +0000 (20:54 +0000)]
* symfile.c: Define two new hooks for symbol reading: "pre_add_symbol_hook"
and "post_add_symbol_hook". These hooks are called before we begin reading
symbols, and after we finish.
(generic_load): Use new symbol reading hooks and get rid of compiler warning.
* gdbtk.c (gdbtk_init): Add hooks for pre- and post-symbol reading.
(gdbtk_pre_add_symbol): New function: the pre-add-symbol hook.
(gdbtk_post_add_symbol): New function: the post-add-symbol hook.
(find_file_in_dir): New function. Moved the guts of gdb_find_file_command
into here to allow its use by others.
(gdb_loc): Use find_file_in_dir to return the real path to the file
(or "N/A" if we can't find it).
* configure.in (TIX_LIB_EXT): Define new variable for those special cases
when TCL_SHLIB_SUFFIX is not enough to specify the dependency.
* configure: Regenerate.
Nick Clifton [Fri, 23 Jan 1998 18:32:40 +0000 (18:32 +0000)]
Updated to match latest disassembly results.
Michael Meissner [Fri, 23 Jan 1998 16:30:08 +0000 (16:30 +0000)]
First round of d10v ABI changes
Fred Fish [Fri, 23 Jan 1998 15:44:12 +0000 (15:44 +0000)]
* config/d10v/tm-d10v.h (CALL_DUMMY): Define as "{ 0 }".
(TARGET_READ_FP): Define to d10v_read_fp rather than d10v_read_sp.
(TARGET_WRITE_FP): Define to d10v_write_fp rather than d10v_write_sp.
(d10v_write_fp, d10v_read_fp): Add prototypes.
* symtab.c (decode_line_1): Remove assignment of sals[0].pc field.
* symfile.c (simple_overlay_update, simple_overlay_update_1):
Ignore the size of overlay sections. This check is redundant anyway.
* printcmd.c (print_frame_args): Ditto.
* valops.c (value_fetch_lazy): Ditto.
* values.c (unpack_long): Ditto.
* d10v-tdep.c (d10v_frame_chain, d10v_frame_find_saved_regs,
d10v_init_extra_frame_info): Fix some minor bugs so the finish command
works properly.
(show_regs): Change num1 and num2 types from "long long" to "LONGEST".
(d10v_read_fp, d10v_write_fp): New functions.
(d10v_push_arguments): Remove unneeded assigns to "val" and "contents".
(d10v_push_arguments): Fix for pointers and structs.
(d10v_extract_return_value): Fix for pointers and chars.
Fred Fish [Fri, 23 Jan 1998 15:36:12 +0000 (15:36 +0000)]
* gdb.base/watchpoint.exp: Set "d10v*-*-*" clear_xfail for
"calling function with watchpoint enabled".
Doug Evans [Fri, 23 Jan 1998 10:06:43 +0000 (10:06 +0000)]
* txvu-opc.c (txvu_operands, UBC): Add extract entry.
(txvu_operands, UACCDEST): Not a fake operand.
(txvu_operands, UXYZ): Move parse entry to insert entry.
(txvu_operands, LVI01): Not a fake operand.
(txvu_upper_opcodes): Fix spelling of minii instruction.
(printf_vfreg): Print register number with "%02ld".
(print_bcftreg): Likewise.
(print_accdest): Pass `dest' to _print_dest.
(insert_xyz): Renamed from parse_xyz.
Doug Evans [Fri, 23 Jan 1998 10:04:16 +0000 (10:04 +0000)]
add comment.
Doug Evans [Fri, 23 Jan 1998 09:58:28 +0000 (09:58 +0000)]
new br-1 and upper-1 testcases
Doug Evans [Fri, 23 Jan 1998 09:54:38 +0000 (09:54 +0000)]
new txvu testcases
Jeff Law [Fri, 23 Jan 1998 07:29:19 +0000 (07:29 +0000)]
* config.guess: Add support for Linux/ARM.
Doug Evans [Fri, 23 Jan 1998 06:01:23 +0000 (06:01 +0000)]
* config/tc-txvu.c (assemble_insn): Commas moved to opcode table.
Doug Evans [Fri, 23 Jan 1998 05:36:20 +0000 (05:36 +0000)]
* config/tc-txvu.c (assemble_insn): Commas moved to opcode table.
Richard Henderson [Fri, 23 Jan 1998 05:27:42 +0000 (05:27 +0000)]
* bfd.c (bfd_get_error_handler): Add orthogonal function.
* bfd-in2.h: Regenerate.
Richard Henderson [Fri, 23 Jan 1998 05:14:12 +0000 (05:14 +0000)]
* tekhex.c (tekhex_write_object_contents): Check for no symbols.
PR 14422
Doug Evans [Fri, 23 Jan 1998 03:15:26 +0000 (03:15 +0000)]
update, lower insn has lower address
Fred Fish [Fri, 23 Jan 1998 02:37:34 +0000 (02:37 +0000)]
* objdump.c (disassemble_bytes): Add flag INSN_HAS_RELOC to tell
disassembly function there is a reloc on this line.
Fred Fish [Fri, 23 Jan 1998 02:36:05 +0000 (02:36 +0000)]
* d10v-dis.c (PC_MASK): Correct value.
(print_operand): If there's a reloc, don't calculate the
address because they could be in different sections.
Fred Fish [Fri, 23 Jan 1998 02:34:56 +0000 (02:34 +0000)]
* dis-asm.h: Add flag INSN_HAS_RELOC to tell disassembly
function there is a reloc on this line.
Nick Clifton [Fri, 23 Jan 1998 01:58:25 +0000 (01:58 +0000)]
Oopps - forgot to save cgen.h before commiting previous delta.
Nick Clifton [Fri, 23 Jan 1998 01:57:11 +0000 (01:57 +0000)]
Add prototypes for fixup swapping functions.
Change prototype of cgen_asm_finish_insn to return a char *
Nick Clifton [Fri, 23 Jan 1998 01:54:39 +0000 (01:54 +0000)]
Add support for swapping the fixups when insn are swapped.
Nick Clifton [Fri, 23 Jan 1998 01:45:06 +0000 (01:45 +0000)]
Added tests of automatic parallelisation.
Frank Ch. Eigler [Fri, 23 Jan 1998 00:38:10 +0000 (00:38 +0000)]
- added first batch of PKE code
- PKE memory region registration
- basic R/W operations
- combined pke[01] -> pke
Doug Evans [Fri, 23 Jan 1998 00:22:56 +0000 (00:22 +0000)]
* cgen.sh: Rewrite to be like simulator's version.
* Makefile.am (cgen): Update call to cgen.sh.
* Makefile.in: Regenerate
Mark Alexander [Fri, 23 Jan 1998 00:19:49 +0000 (00:19 +0000)]
Fix sanitization.
Richard Henderson [Fri, 23 Jan 1998 00:18:50 +0000 (00:18 +0000)]
* ldlex.l (<SCRIPT>{WILDCHAR}*): Take care for the comments this
pattern could match.
Ron Unrau [Thu, 22 Jan 1998 23:25:18 +0000 (23:25 +0000)]
Add sanitize-sky for txvu stuff.
Ron Unrau [Thu, 22 Jan 1998 23:22:22 +0000 (23:22 +0000)]
Recognize txvu-elf as a target.
Ron Unrau [Thu, 22 Jan 1998 23:19:14 +0000 (23:19 +0000)]
Allow gdb to recognize txvu-elf as a valid configuration.
Fred Fish [Thu, 22 Jan 1998 22:48:02 +0000 (22:48 +0000)]
* .cvsignore: Remove *-info and *-install since they match
release-info and mpw-install, which we don't want to just ignore.
Fred Fish [Thu, 22 Jan 1998 22:13:07 +0000 (22:13 +0000)]
* gdb.base/break.exp (test_next_with_recursion): Remove
gdb_suppress_tests for d10v-*-*.
* lib/gdb.exp (gdb_suppress_tests): Disable this function
pending review of whether it is useful or not.
Fred Fish [Thu, 22 Jan 1998 21:51:31 +0000 (21:51 +0000)]
* interp.c (UMEM_SEGMENTS): New define, set to 128.
(sim_size): Use UMEM_SEGMENTS rather than hardwired constant.
(sim_close): Reset prog_bfd to NULL after closing it. Also
reset prog_bfd_was_opened_p after closing prog_bfd.
(sim_load): Reset prog_bfd_was_opened_p after closing prog_bfd.
(sim_create_inferior): Get start address from abfd not prog_bfd.
(xfer_mem): Do bounds checking on addresses and return zero length
read/write on bad addresses, rather than aborting. Prepare to
be able to handle xfers that cross segment boundaries, but not
yet implemented. Only emit debug message when d10v_debug is
set as well as DEBUG being defined.
Ian Carmichael [Thu, 22 Jan 1998 20:48:22 +0000 (20:48 +0000)]
* Incorporate GPR_SET() macro from mips/sim-main.h
Mark Alexander [Thu, 22 Jan 1998 18:37:04 +0000 (18:37 +0000)]
Add dve.exp.
Mark Alexander [Thu, 22 Jan 1998 18:23:43 +0000 (18:23 +0000)]
Fix sanitization errors.
Jeff Law [Thu, 22 Jan 1998 17:38:05 +0000 (17:38 +0000)]
Add forgotten files.
Ian Lance Taylor [Thu, 22 Jan 1998 05:02:50 +0000 (05:02 +0000)]
* emultempl/pe.em (gld_${EMULATION_NAME}_set_symbols): When doing
a relocateable link, set the image base to 0, and don't define the
various symbols.
* emulparams/i386pe.sh (RELOCATEABLE_OUTPUT_FORMAT): Define.
* scripttempl/pe.sc: Swap the .data and .bss sections so that
.data comes first. If doing a relocateable link, use
RELOCATEABLE_OUTPUT_FORMAT if it is defined, and start the
sections at 0, and don't define any symbols.
Ian Lance Taylor [Thu, 22 Jan 1998 04:58:01 +0000 (04:58 +0000)]
* coff-i386.c (coff_i386_rtype_to_howto): If COFF_WITH_PE, don't
adjust addend for an output common symbol (from Jimmy Blair
<jimmyb@wrs.com>). If COFF_WITH_PE, adjust addend for PC relative
defined symbol to counteract adjustment made in generic relocation
code.
Ian Lance Taylor [Thu, 22 Jan 1998 03:27:36 +0000 (03:27 +0000)]
* ldlang.c (lang_memory_default): Correct parenthisization of
expression.
Ian Lance Taylor [Thu, 22 Jan 1998 03:18:51 +0000 (03:18 +0000)]
comment fix
Ian Lance Taylor [Thu, 22 Jan 1998 02:32:28 +0000 (02:32 +0000)]
tipoe
Ian Lance Taylor [Thu, 22 Jan 1998 02:27:29 +0000 (02:27 +0000)]
tipoes
Ian Lance Taylor [Thu, 22 Jan 1998 02:25:14 +0000 (02:25 +0000)]
Wed Jan 21 21:24:08 1998 Manfred Hollstein <manfred@s-direktnet.de>
* gas/m88k/init.d: Fix hexadecimal offsets.
Ian Lance Taylor [Thu, 22 Jan 1998 02:22:03 +0000 (02:22 +0000)]
Wed Jan 21 21:20:32 1998 Manfred Hollstein <manfred@s-direktnet.de>
* emultempl/sunos.em: Don't include sys/types.h and sys/stat.h
here; they are included already via sysdep.h.
Ian Lance Taylor [Thu, 22 Jan 1998 02:19:35 +0000 (02:19 +0000)]
* dwarf2.c: Include sysdep.h, not stdio.h and stdlib.h.
Ian Lance Taylor [Thu, 22 Jan 1998 02:17:53 +0000 (02:17 +0000)]
* coff-m88k.c (GET_SCNDHR_NRELOC): Fix typo in macro name.
(GET_SCNDHR_NLNNO): Likewise.
Richard Henderson [Thu, 22 Jan 1998 00:50:17 +0000 (00:50 +0000)]
* listing.c (file_info_struct): Remove FILE, add POS.
(last_open_file_info, last_open_file): New; a one entry FILE* cache.
(file_info): Don't open the file.
(buffer_line): Check for the file in the last_open cache, updating
as necessary.
(print_source): Don't reference file_info->file.
(listing_listing): Likewise.
(listing_print): Close the file in the cache, if any.
Andrew Cagney [Wed, 21 Jan 1998 22:08:37 +0000 (22:08 +0000)]
Use macro GPR_SET(N,VAL) to clear zero registers.
Andrew Cagney [Wed, 21 Jan 1998 22:08:32 +0000 (22:08 +0000)]
Delete bogus line in ChangeLog
Stan Shebs [Wed, 21 Jan 1998 03:01:47 +0000 (03:01 +0000)]
* configure.tgt (i386-*-mach*, m88*-*-mach3*): Remove config
recognition, no source files for these (note that the i386 Mach
is pre-Mach 3).
(mips*-*-mach3*, ns32k-*-mach3*): Fix file names.
* config/mips/mipsel64.mt: Remove, never referenced.
Michael Meissner [Wed, 21 Jan 1998 02:38:09 +0000 (02:38 +0000)]
#if 0 unused variable
Doug Evans [Wed, 21 Jan 1998 01:43:40 +0000 (01:43 +0000)]
checkpoint
Nick Clifton [Wed, 21 Jan 1998 01:13:47 +0000 (01:13 +0000)]
Added opportunistic parallelisation of adjacent instructions.
Doug Evans [Wed, 21 Jan 1998 01:12:57 +0000 (01:12 +0000)]
checkpoint
Doug Evans [Wed, 21 Jan 1998 00:50:24 +0000 (00:50 +0000)]
checkpoint
Doug Evans [Wed, 21 Jan 1998 00:30:46 +0000 (00:30 +0000)]
checkpoint
Doug Evans [Tue, 20 Jan 1998 23:14:05 +0000 (23:14 +0000)]
* reloc.c (BFD_RELOC_TXVU_11_PCREL): New reloc.
* bfd-in2.h: Regenerate.
* libbfd.h: Regenerate.
* elf32-txvu.c (txvu_elf_howto_table): Add entry for it.
(txvu_reloc_map): Likewise.
Doug Evans [Tue, 20 Jan 1998 23:05:37 +0000 (23:05 +0000)]
checkpoint
Nick Clifton [Tue, 20 Jan 1998 22:23:34 +0000 (22:23 +0000)]
Fixed duplicate definition of h_accums field in fmt_53_sadd structure
Mark Alexander [Tue, 20 Jan 1998 21:12:35 +0000 (21:12 +0000)]
* gdb.base/funcargs.exp: Increase timeout for slow TX39 boards.
Doug Evans [Tue, 20 Jan 1998 20:24:40 +0000 (20:24 +0000)]
checkpoint
Doug Evans [Tue, 20 Jan 1998 19:39:54 +0000 (19:39 +0000)]
checkpoint
Ian Carmichael [Tue, 20 Jan 1998 19:22:25 +0000 (19:22 +0000)]
* Devices now get a issue() call.
*
* Modified Files:
* ChangeLog configure engine-sky.c hardware.h pke0.c pke0.h
* pke1.c pke1.h vu0.c vu0.h vu1.c vu1.h
Doug Evans [Tue, 20 Jan 1998 18:07:07 +0000 (18:07 +0000)]
checkpoint
Doug Evans [Tue, 20 Jan 1998 10:43:37 +0000 (10:43 +0000)]
Add m32rx sanitization for new files.
Doug Evans [Tue, 20 Jan 1998 10:43:16 +0000 (10:43 +0000)]
* Makefile.in: Add m32rx objs, and rules to build them.
* cpux.h, decodex.h, decodex.c, readx.c, semx.c, modelx.c: New files.
* m32rx.c, mloopx.in: New files.
Doug Evans [Tue, 20 Jan 1998 10:38:29 +0000 (10:38 +0000)]
Regenerate.
Doug Evans [Tue, 20 Jan 1998 06:37:00 +0000 (06:37 +0000)]
* aclocal.m4: Recognize --enable-maintainer-mode.
*/configure: Regenerated.
Doug Evans [Tue, 20 Jan 1998 06:24:44 +0000 (06:24 +0000)]
* arch-defs.h: Deleted.
* sem-switch.c: Regenerate.
Doug Evans [Tue, 20 Jan 1998 06:20:45 +0000 (06:20 +0000)]
* cpu.h: New file.
Doug Evans [Tue, 20 Jan 1998 06:18:51 +0000 (06:18 +0000)]
Regenerate.
Doug Evans [Tue, 20 Jan 1998 06:17:32 +0000 (06:17 +0000)]
* arch.c, arch.h, cpuall.h: New files.
* arch-defs.h: Deleted.
* mloop.in: Renamed from mainloop.in.
* sem.c: Renamed from semantics.c.
* Makefile.in: Update.
* sem-ops.h: Deleted.
* mem-ops.h: Deleted.
start-sanitize-cygnus
Add cgen support for generating files.
end-sanitize-cygnus
(arch): Renamed from CPU.
* decode.c: Redone.
* decode.h: Redone.
* extract.c: Redone.
* model.c: Redone.
* sem-switch.c: Redone.
* sem.c: Renamed from semantics.c, and redone.
* m32r-sim.h (PROFILE_COUNT_FILLNOPS): Update.
(GETTWI,SETTWI,BRANCH_NEW_PC): Define.
* m32r.c (WANT_CPU,WANT_CPU_M32R): Define.
(m32r_{fetch,store}_register): New functions.
(model_mark_{get,set}_h_gr): Prefix with m32r_.
(m32r_model_mark_{busy,unbusy}_reg): Prefix with m32r_.
(h_cr_{get,set}): Prefix with m32r_.
(do_trap): Fetch state from current_cpu, not current_state.
Call sim_engine_halt instead of engine_halt.
* sim-if.c (alloc_cpu): New function.
(free_state): New function.
(sim_open): Call sim_state_alloc, and malloc space for selected cpu
type. Call sim_analyze_program.
(sim_create_inferior): Handle selected cpu type when setting PC.
start-sanitize-m32rx
(sim_resume): Handle m32rx.
end-sanitize-m32rx
(sim_stop_reason): Deleted.
(print_m32r_misc_cpu): Update.
start-sanitize-m32rx
(sim_{fetch,store}_register): Handle m32rx.
end-sanitize-m32rx
(sim_{read,write}): Deleted.
(sim_engine_illegal_insn): New function.
* sim-main.h: Don't include arch-defs.h,sim-core.h,sim-events.h.
Include arch.h,cpuall.h. Include cpu.h,decode.h if m32r.
start-sanitize-m32rx
Include cpux.h,decodex.h if m32rx.
end-sanitize-m32rx
(_sim_cpu): Include member appropriate cpu_data member for the cpu.
(M32R_MISC_PROFILE): Renamed from M32R_PROFILE.
(sim_state): Delete members core,events,halt_jmp_buf.
Change `cpu' member to be a pointer to the cpu's struct, rather than
record inside the state struct.
* tconfig.in (WITH_DEVICES): Define here.
(WITH_FAST,WITH_SEM_SWITCH_{FULL,FAST}): Define for the cpu.
Doug Evans [Tue, 20 Jan 1998 04:16:37 +0000 (04:16 +0000)]
regenerate
Doug Evans [Tue, 20 Jan 1998 03:57:14 +0000 (03:57 +0000)]
* Make-common.in (cgen-run.o,cgen-scache.o): Delete cgen-scache.h dep.
Doug Evans [Tue, 20 Jan 1998 02:36:21 +0000 (02:36 +0000)]
sanitize keep-cygnus cgen generation
Stan Shebs [Mon, 19 Jan 1998 22:31:03 +0000 (22:31 +0000)]
* top.c (print_gdb_version): Restore to original message.
Doug Evans [Mon, 19 Jan 1998 21:14:14 +0000 (21:14 +0000)]
* Make-common.in (cgen-{arch,cpu,decode}): New targets.
* cgen.sh: New file.
* cgen-scache.h: Deleted.
* cgen-scache.c: Only compile contents if WITH_SCACHE.
(scache_init): Use runtime computed size of SCACHE.
(scache_flush): Likewise.
* cgen-mem.h (GETIMEMU[QHSD]I): Declare.
([GS]ETT{QI,UQI,HI,UHI,SI,USI,DI,UDI}): Declare.
* cgen-sim.h: Scache support moved here.
(PC): Redo definition.
(ARGBUF,SCACHE,PARALLEL_EXEC): Provide forward decls.
(DECODE): Add parallel execution support.
Only include semantic label members if using switch.
(SWITCH,CASE,BREAK,DEFAULT,ENDSWITCH): Portable computed goto support.
(CGEN_CPU): Delete members exec_state, halt_sigrc, halt_jmp_buf.
(IADDR,CIA,SEM_ARG,EX_FN_NAME,SEM_FN_NAME,RECORD_IADDR,SEM_ARGBUF,
SEM_NEXT_PC,SEM_BRANCH_VIA_{CACHE,ADDR},SEM_NEW_PC_ADDR): Moved here
from cgen-types.h.
(engine_{stop,run,resume,halt,signal}): Delete decls.
* cgen-types.h (CGEN_{XCAT3,CAT3}): Delete.
(argbuf,scache): Delete forward decls.
(STATE): Delete decl.
* cgen-utils.c: Don't include decode.h, mem-ops.h, sem-ops.h.
Include cgen-mem.h, cgen-ops.h.
(engine_halt,engine_signal): Delete.
({ex,exc,sem,semc}_illegal): Delete.
(sim_disassemble_insn): Result of extract fn is in bits.
* genmloop.sh: Rewrite.
Doug Evans [Mon, 19 Jan 1998 21:11:00 +0000 (21:11 +0000)]
* sim-base.h (sim_state_base): Delete member `model'.
(sim_cpu_base): Add member `model'.
* sim-model.h (IMP_PROPERTIES): New type.
(MACH): New members imp_props, models.
(models): Delete decl.
* sim-model.c (set_model): Update.
* sim-profile.c (profile_print_model): Update.
Doug Evans [Mon, 19 Jan 1998 21:09:43 +0000 (21:09 +0000)]
* sim-utils.c (sim_state_alloc): Delete setting of cpu backlink here.