URL
https://opencores.org/ocsvn/or1k/or1k/trunk
Subversion Repositories or1k
[/] [or1k/] [trunk/] [gdb-5.0/] [sim/] [ppc/] [BUGS] - Rev 1765
Compare with Previous | Blame | View Log
ChangeLogSee the ChangeLog file looking for lines taged with the word FIXME.COREFILE.C:The implementation of corefile.c (defined by corefile.h) isn't thebest. It is intended to be functionaly correct rather than fast. Oneoption being considered is to add a data cache to reduce the overheadof the most common case of data read/writes.VEA:Missing VEA system calls.ppc-instructions:Missing or commented out instructions.64bit:64bit target untested. 64bit host broken. For instance use of scanf"%x", &long long.hw_*.c:Better and more devices.PORTABILITY:(Notes taken from Michael Meissner): Heavy use of the ## operator -fix using the clasic X/**/Y hack; Use of the signed keyword. Inparticular, signed char has no analogue in classic C (though mostimplementations of classic C use signed chars); Use of long long whichrestricts the target compiler to be GCC.TRACING:debug.c: Macro's should be extended to include:IS_*TRACE: True if tracing enabled*TRACE_PREFIX: Outputs just the prefix linehw_trace.c: Flush, replace with a psim_set_tracing or somesuch program.CIA/NIA:Replace with functions to return/increment the CIA?SMP & GDB:GDB doesn't understand SMP!OVERALL STRUCTURE:A new file pstruct.h is to be created that contains a single flat datastructure containing:pstruct {events;core;processor[nr_cpus];monitor;devices;trace;}The CPU's structure, in turn would contain the VM sub structures.When SMP==0, everything would have PSTRUCT passed. In SMP mode,however, there are two choices: PSTRUCT + CPU_NR or PROCESSOR. Isuspect the latter is better.It is believed that this would significantly improve performance (atthe price of reduced control over object scope).IGEN:Igen at present can't do the following:o duplication is an all or nothing afair.It should be configurable according tothe instruction or the sub-table.o Due to the naming, only a single generatedsimulator can be included in a program.IGEN should be able to generate multipleengines that can all be included in a programo handle alternate architectures.o Igen should support the generation of adisasembler and posibly an assembler.I suggest that the table be extended toinclude, for each instruction, additionallines describing the extual format of theinstruction.One possible format is:"mtlr %RS":SPR.something"mtspr %SPR, %RS"
