aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1998-02-18* Started PKE sim unit testing. A number of minor errors were corrected.Frank Ch. Eigler2-89/+183
A few PKE instructions even run correctly! Next missing function of interest: FIFO pruning. * sky-pke.c (pke_issue): Take extra SIM_DESC argument. (pke_attach): Attach correct PKE0/PKE1 device. Open trace file if VIF{0,1}_TRACE_FILE env. var. is defined. (pke_io_write_buffer): Classify words in FIFO quadword. Use kludgey sim_core routines to access DMA registers. (pke_pc_advance): Add PKEcode classification. Correct DMA tag skipping. Emit trace records. (pke_pc_fifo): Add PKEcode operand classification. (pke_check_stall): Perform stall checks against updated register scheme. (pke_code_unpack): Correct operand-count calculation. (pke_code_stmask): Correct instruction skipping. * sky-pke.h (PKE_MEM_WRITE, PKE_MEM_READ): New kludge macros. (BIT_MASK_BTW): Corrected off-by-one error. (enum wordclass): Classify words in a FIFO quadword. * sky-dma.c (dma_io_read_buffer): Correct address checking assertions. * sky-engine.c (engine_run): Pass along SIM_DESC to PKE instruction issue code.
1998-02-18Delete rac-d,rac-ds,rach-d,rach-ds, they're aliases.Doug Evans5-48/+0
1998-02-18.Sanitize for devo/sim/testsuite/sim/m32r.Doug Evans1-0/+217
1998-02-18 * simops.c (multiply instructions): Cast input operands to aJeff Law1-17/+20
signed64/unsigned64 type as appropriate.
1998-02-18Treat a double vertical bar as a seperator between instructions.Nick Clifton1-0/+5
1998-02-18DMA define names changed (SRCADDR -> MADR).James Lemke1-1/+1
1998-02-18 (CGEN_{INSN,KEYWORD,OPERAND}_NBOOL_ATTRS): Renamed from ..._MAX_ATTRS.Doug Evans1-0/+1
1998-02-18 * cgen.h (CGEN_SYNTAX_MAKE_FIELD): New macro.Doug Evans2-0/+5
1998-02-18Extend sim-trace.[hc] to include a generic set of macro's for tracingAndrew Cagney3-76/+813
ALU/... inputs/outputs. Base implementation on original v850 code. Update igen to generate code interfacing with newer sim-trace.[hc].
1998-02-18 * config.bfd (targ_archs): If mips64r5900-sky-elf, add bfd_dvp_arch.Doug Evans1-0/+6
1998-02-18 * cen.c (cgen_md_apply_fix3): Delete call to validate_operand.Doug Evans1-0/+5
Test result of insert_operand for error.
1998-02-18 * dvp-opc.c (parse_vfreg): Dest spec is optional.Doug Evans1-0/+9
(print_vfreg): Don't print dest spec. (parse_accdest): Dest spec is optional. (print_accdest): Don't print dest spec.
1998-02-18 * gas/dvp/{basic-1,lower-1,upper-1,upper-2}.d: Update to remove destDoug Evans1-0/+7
spec on operands.
1998-02-18 * objcopy.c (compare_section_lma): Rename from _vma.Richard Henderson2-4/+6
(copy_object): Gap fill based on LMA not VMA. * binutils.texi: Update and clarify. * objcopy.1: Likewise. PR 14917
1998-02-18remove #ifdef HAVE_CPU_M32RX uses. tweak some commentsDoug Evans1-15/+4
1998-02-18 * Makefile.in (M32R_OBJS): Add cpu.o.Doug Evans5-834/+1317
(cpu.o): Add rule for. (NL_TARGET): Define. * configure.in: Add AC_CHECK_PROG(SCHEME). * cpu.c: New file. * cpuall.h,cpu.h,decode.c,decode.h,extract.c,model.c: Regenerate. * sem-switch.c,sem.c: Regenerate. * mloop.in (execute): Update call to semantic fn. (M32RX_OBJS): Add cpux.o. (cpux.o): Add rule for. cpux.c: New file. * cpux.h,decodex.c,decodex.h,modelx.c,readx.c,semx.c: Regenerate. * m32rx.c (m32rx_h_accums_{get,set}): Rewrite. (m32rx_h_cr_{get,set}): New functions. (m32rx_h_accums_{get,set}): New functions. * mloopx.in: Rewrite main loop. * m32r.c (do_trap): Move from here. * sim-if.c (do_trap): To here, and rewrite to use CB_SYSCALL support. (sim_create_inferior): Use h_pc_set. (h_pc_{get,set}): New functions. (h_gr_{get,set}): New functions. (syscall_{read,write}_mem): New functions. * sim-main.h (h_{gr,pc}_{get,set}): Declare.
1998-02-18 * Make-common.in (CGEN_MAIN_SCM): Update.Doug Evans1-0/+3
* aclocal.m4 (USE_MAINTAINER_MODE): New variable.
1998-02-18 * dlltool.c (make_one_lib_file): Don't add 1 to hint.Ian Lance Taylor1-0/+4
1998-02-18 * cgen-sim.h (SEMANTIC_CACHE_FN): Delete.Doug Evans1-0/+10
(SEMANTIC_FN): Rewrite declaration. (DECODE): Update type of semantic_fast member. ({EX,SEM}_FN_NAME): Have only one version. * cgen.sh: Support building cpu.c. * sim-base.h (sim_state_base): Delete conditionals surrounding member scache_size.
1998-02-18 * Makefile.am (CGENFILES): Update.Doug Evans2-17/+28
* Makefile.in: Regenerate. * cgen-asm.in (insert_normal): Result is error message now. Validate value to be inserted. (insert_insn_normal): Result is error message now. (@arch@_cgen_assemble_insn): Update. * cgen-asm.c (cgen_parse_{signed,unsigned}_integer): Delete min,max arguments. Don't perform validation here. * m32r-asm.c,m32r-dis.c,m32r-opc.c: Regenerate.
1998-02-18 * cgen.h (cgen_insert_fn): Change type of result to const char *.Doug Evans2-9/+20
(cgen_parse_{signed,unsigned}_integer): Delete min,max arguments.
1998-02-17* XGKICK now uses memory-based GIF fifo.Ian Carmichael1-1/+1
1998-02-17 * remote-mips.c (mips_request): Use unsigned long during parsingFrank Ch. Eigler2-2/+7
returned value from monitor, to prevent accidental sign extension.
1998-02-17Tue Feb 17 14:28:33 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>Jason Molenda5-6/+17
* acconfig.h: FORCE_MMCHECK changed to MMCHECK_FORCE. * configure.in: Ditto. * configure: Regenerated. Tue Feb 17 14:07:34 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> * gdbtypes.c (check_typedef): Do not try to resolve the length of a type which has TYPE_FLAG_TARGET_STUB set, if the target type has set TYPE_FLAG_TARGET_STUB as well. Patches from Peter.
1998-02-17keep config, lib, sim.Doug Evans1-0/+3
1998-02-17 * config/default.exp: New file.Doug Evans1-0/+4
* lib/sim-defs.exp: New file. * sim/m32r/*: m32r dejagnu simulator testsuite.
1998-02-17keep m32rDoug Evans1-0/+32
1998-02-17m32r simulator testsuiteDoug Evans94-0/+1212
1998-02-17 * Makefile.in (build_alias): Define.Doug Evans3-3/+229
(arch): Define. (RUNTEST_FOR_TARGET): Delete. (RUNTEST): Fix. (SCHEME,SCHEMEFLAGS,CGENDIR,CGENFLAGS,CGENFILES): Define. (check): Depend on site.exp. (site.exp): New target. (cgen): New target. * configure.in: Call AC_CHECK_PROG(SCHEME) if using cgen. (arch): Define from target_cpu. * configure: Regenerate.
1998-02-17Better tracing for conditional branchesMichael Meissner4-12/+92
1998-02-17 * libbfd.c (bfd_seek): If fseek fails, save errno around call toIan Lance Taylor1-0/+6
bfd_tell. If errno is EINVAL, set bfd_error_file_truncated, not bfd_error_system_call.
1998-02-17Pass REGISTER_RAW_SIZE to sim_{fetch,store}_register. Verify returnedAndrew Cagney2-6/+18
register size.
1998-02-17For sim_fetch_register / sim_store_register: Add LENGTH parameter,Andrew Cagney10-146/+256
return actual size of register, 0 if not applicable, -1 of legacy implementation.
1998-02-16* Added VU0_CIA register #define.Ian Carmichael1-1/+2
1998-02-16* Add magic VU1_CIA register.Ian Carmichael2-10/+27
1998-02-16* Partially implement new VPE_STAT register.Ian Carmichael3-12/+25
1998-02-16Only parallelise instructions when assembling for the m32rx, and whenNick Clifton2-12/+19
neither instruction is relaxable.
1998-02-16fix 5900 in Makefile.amIan Lance Taylor1-1/+1
1998-02-16Make ``target d10v'' and ``target remote'' equivalent.Andrew Cagney3-68/+61
Hack remote.c so that xfer_memory calls a memory translate function.
1998-02-16configure: rerun autoconfRon Unrau1-0/+2
interp.c: shield dummy vu registers with -DTARGET_SKY
1998-02-16Implement "dbt" and "rtd" instructions.Andrew Cagney2-15/+40
Import fixes to dmap_addr() from mitsu branch.
1998-02-15Test the RDT and DBT instructions.Andrew Cagney2-0/+51
1998-02-15configure.in: add -DTARGET_SKY for mips64r5900-sky-elf configure.Ron Unrau2-2/+88
sim-main.h: Define regs for sky if -DTARGET_SKY interp.c: Initial register upload/download support for sky.
1998-02-15parse.c (write_dollar_variable): call new function target_map_name_to_registerRon Unrau2-13/+45
so that targets can define their own register name aliases. infcmd.c (registers_info): call target_map_name_to_register so that "print $reg" and "info reg $reg" share the same register alias set. mips-tdep.c: separate MIPS_R5900_REGS from NUM_REGS so that sky registers can be printed separately. txvu-tdep.c: print registers according to current CPU context. tm-txvu.h: define SKY registers and conditionalize register interpretation macros. txvu.mt: Don't bother building remote-mips.o for sky target.
1998-02-14* Vu1 state moved to struct. Host-target endian twiddling. Misc other fixes.Ian Carmichael1-34/+29
1998-02-14TIC80 uses little endian doubles, not big endianMichael Meissner2-2/+5
1998-02-14 * config/i386/i386mk.mt (OBJFORMATS): Delete, no longer used.Stan Shebs3-2/+8
* config/i386/xm-i386mk.h: Fix an include. * config/pyr/tm-pyr.h (PC_INNER_THAN): Remove, never used.
1998-02-14micro-cleanupStan Shebs1-2/+0
1998-02-13- PKE simulation almost finished. Needed enhancements:Frank Ch. Eigler2-161/+214
* trace file generation * FIFO pruning - PKE functions still missing due to external dependencies: * interrupt to 5900 (igen?) * VU busy checking (sky-vu / coprocessor registers) * PATH3 masking (sky-gpuif / covert control interface)
1998-02-13Fix tests to match latest version of the assembler.Nick Clifton1-0/+7