Search
lxdream.org :: lxdream/src/sh4/sh4core.c :: log
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/sh4core.c
changeset669:ab344e42bca9
authornkeynes
dateMon May 12 10:00:13 2008 +0000 (15 years ago)
permissions-rw-r--r--
last changeCleanup most of the -Wall warnings (getting a bit sloppy...)
Convert FP code to use fixed banks rather than indirect pointer
(3-4% faster this way now)
file annotate diff log rss
669:ab344e42bca915 yearsnkeynesCleanup most of the -Wall warnings (getting a bit sloppy...)
641:afb9a42c61c616 yearsnkeynesRemove checkpriv() from STC GBR, Rn (instruction is not privileged)
626:a010e30a30e916 yearsnkeynesFix LDS/STS to FPUL/FPSCR to check the FPU disabled bit. Fixes
617:476a717a54f316 yearsnkeynesStart getting SLEEP into order
587:739a3136f26916 yearsnkeynesFix instruction side-effects in presence of exceptions
586:2a3ba82cf24316 yearsnkeynesMerged lxdream-mmu r570:596 to trunk
582:c89a69dc427d16 yearsnkeynesFix emu instruction translation lxdream-mmu
576:4945fa2ed24f16 yearsnkeynesFix TRAPA in emulator core lxdream-mmu
570:d2893980fbf516 yearsnkeynesChange to generate different code for mmu on/off cases lxdream-mmu
569:a1c49e1e877616 yearsnkeynesBring icache partially into line with the mmu, a little less slow with AT off lxdream-mmu
561:533f6b47807116 yearsnkeynesEnable Id keyword on all source files lxdream-mmu
559:06714bc6427116 yearsnkeynesCommit first pass at full TLB support - still needs a lot more work lxdream-mmu
550:a27e3134014716 yearsnkeynesAdd support for the MMIO side of the TLB (and LDTLB)
490:1e0f9940e06416 yearsnkeynesFix pointer=>int conversions to use intptr_t types
430:467519b050f416 yearsnkeynesFix compilation warnings
401:f79327f3981816 yearsnkeynesMove support routines to sh4.c
391:16afb90b5d4716 yearsnkeynesAdd sh4_raise_trap() routine
384:c9d5c194984b16 yearsnkeynesAdd DIV1 test cases
378:f10fbdd4e24b16 yearsnkeynesStart splitting the common SH4 parts into sh4.c, with sh4core.c to become
374:8f80a795513e16 yearsnkeynesCache the pointer to the last FR bank (speeds fp ops up by about 10%)
369:4b4223e7d72016 yearsnkeynesMove the store queue operation to a function in sh4mem.c
367:9c52dcbad3fb16 yearsnkeynesMove EXC_* codes to sh4core.h and rename to match the EX_* codes
359:c588dce7ebde16 yearsnkeynesCommit decoder generator
312:2c34bdc36cbd17 yearsnkeynesSave/restore MMU state (specifically the OC cache ram) correctly
302:96b5cc24309c17 yearsnkeynesRename SPUDMA to G2DMA (following KOS's lead)
273:48eb3304a41e17 yearsnkeynesAlways return TRUE at end of execute instruction (oops)
265:5daf59b7f31b17 yearsnkeynesImplement event queue.
260:c82e26ec0cac17 yearsnkeynesAdjust timers when they're read rather than waiting until the next time
246:98054d036a2417 yearsnkeynesAdd slot-illegal instruction checking
235:880bff11df9217 yearsnkeynesAdd a couple of performance hacks:
232:9c8ef78376ed17 yearsnkeynesAdd CHECKSLOTILLEGAL() checks around a few banned delay-slot instructions
229:f27eb26ccdd217 yearsnkeynesFix SPC assignment for exceptions (the only one it was _correct_ for was
227:1b98af7fc60117 yearsnkeynesCommit implementation of ADDV
208:ad290228eea117 yearsnkeynesAdd alignment checks
181:bc28fd93e23317 yearsnkeynesFSCA, FSRRA, FIPR, FTRV should be treated as no-ops when PR=1.
164:84f6b203cfe117 yearsnkeynesImplement MOVCA
157:fbe03268ad8a17 yearsnkeynesAdd preliminary call-stack tracing ability
124:ceb38f08619a18 yearsnkeynesFix FMOV for writes to the back bank (ie FMOV @R1, XD2)
123:2ad156e1065718 yearsnkeynesFix FTRC - needs to clamp at min/max int
122:3a557bc205d818 yearsnkeynesFix insanely stupid FSCA bug. Unfortunately doesn't actually appear to fix
116:87e3bea309a518 yearsnkeynesFix TRAPA to actually work (and correspond to the documentation)
104:94b2d9962b5918 yearsnkeynesRemove call-slot-delay on syscall
102:844a3f2a76ff18 yearsnkeynesRefactor bios into more generic syscall structure. Add initial hooks for
95:7c0dac698ea218 yearsnkeynesFix DR FMOV functions to allow reference to the back bank
92:108450d84ce818 yearsnkeynesComment out some more info lines
84:b993a8d8fbf318 yearsnkeynesFix double-precision floating point
53:f2981805b92918 yearsnkeynesRewrite timer to be more accurate, also support cycle precision in the future
43:0cf3e339cc5918 yearsnkeynesAdd sh4 + arm breakpoints
38:9ccc7ac66a9d18 yearsnkeynesRemove log lines for store queue + writes to op address cache
36:f581f9c43c4318 yearsnkeynesRemove RTE log line (not needed anymore)
35:21a4be09830418 yearsnkeynesRemove modules.h - move definitions into dream.h
32:bf0bc2c524b818 yearsnkeynesReset SCIF properly on SH4 reset
30:89b30313d75718 yearsnkeynesChange timeslice to nanoseconds (was microseconds)
27:1ef09a52cd1e18 yearsnkeynesRefactor all the GUI bits out of the main directory (except for a couple
23:1ec3acd0594d18 yearsnkeynesStart of "real" time slices, general structure in place now
19:9da7a8e38f9d18 yearsnkeynesImplement 95% of the SCIF serial interface
18:9a1b5d75703f18 yearsnkeynesImplement save states
16:f383e7640da418 yearsnkeynesCleanup init config => dreamcast_config
15:5194dd0fdb6018 yearsnkeynesAdd dreamcast_module module structure
10:c898b37506e018 yearsnkeynesAdd CPU disasembly options to mode dropdown
.