Commit message (Collapse) | Author | Files | Lines | ||
---|---|---|---|---|---|
2015-04-20 | dyncom: Remove more unused/unnecessary code | Lioncash | 1 | -6/+0 | |
Gets rid of a sizeable amount of stuff in armdefs. | |||||
2015-04-14 | Headers: Add some forgotten overrides, thanks clang! | Emmanuel Gil Peyrot | 1 | -1/+1 | |
2015-04-07 | dyncom: Remove unnecessary enum and typedef | Lioncash | 4 | -25/+30 | |
Also fixes descriptions in the process. | |||||
2015-04-06 | arm_interface: Support retrieval/storage to CP15 registers | Lioncash | 2 | -0/+10 | |
2015-04-06 | Move CP15 enum definitions into their own enum. | Lioncash | 1 | -1/+0 | |
Also gets rid of preprocessor mumbo-jumbo | |||||
2015-04-06 | dyncom: Suppress uninitialized variable warnings | Lioncash | 1 | -4/+4 | |
The switch cases will always be hit, but this makes compilers stop complaining. | |||||
2015-04-02 | dyncom: Move CP15 register writing into its own function. | Lioncash | 1 | -88/+2 | |
Also implements writing to the rest of the ARM11 MPCore CP15 register set. | |||||
2015-04-02 | dyncom: Move CP15 register reading into its own function. | Lioncash | 1 | -44/+3 | |
Keeps everything contained. Added all supported readable registers in an ARM11 MPCore. | |||||
2015-03-26 | dyncom: Migrate InAPrivilegedMode to armsupp | Lioncash | 1 | -4/+0 | |
It's a generic helper function, so it should be here anyway. | |||||
2015-03-24 | dyncom: Implement SRS | Lioncash | 1 | -1/+32 | |
2015-03-24 | dyncom: Implement RFE | Lioncash | 1 | -1/+30 | |
2015-03-24 | dyncom: Remove unused/unnecessary macros and macro constants | Lioncash | 2 | -39/+2 | |
2015-03-17 | dyncom: Make Load/Store instructions support big endian | Lioncash | 1 | -52/+62 | |
2015-03-16 | arm_interface: Get rid of GetTicks. | Lioncash | 2 | -6/+0 | |
Removes a TODO. | |||||
2015-03-15 | dyncom: Implement SETEND | Lioncash | 1 | -1/+35 | |
2015-03-10 | dyncom: Minor cleanup | Lioncash | 1 | -26/+7 | |
Assemblers will exit with an error when trying to assemble instructions with disallowed registers. | |||||
2015-03-09 | dyncom: Fix an indexing bug in STM | Lioncash | 1 | -5/+4 | |
Previously it would write the contents of register 13 for the case where the link register (r14) is supposed to be written. | |||||
2015-03-09 | dyncom: General cleanup of STM | Lioncash | 1 | -16/+14 | |
2015-03-09 | dyncom: Increment addr when accessing LR in LDM | Lioncash | 1 | -0/+2 | |
2015-03-02 | Add profiling infrastructure and widget | Yuri Kunde Schlesner | 1 | -0/+8 | |
2015-02-26 | arm: The CP15 Main ID register is not writeable | Lioncash | 1 | -3/+1 | |
2015-02-22 | Cleaned up unaligned access. | Kevin Hartman | 1 | -17/+2 | |
2015-02-17 | dyncom: Support conditional BKPT instructions | Lioncash | 2 | -2/+28 | |
2015-02-16 | dyncom: Actually set the destination register for USAD8/USADA8. | Lioncash | 1 | -0/+1 | |
Idiotville: Population: 1 - Inhabitant name: Lioncash | |||||
2015-02-13 | core: Apply static to local functions | Lioncash | 4 | -189/+195 | |
2015-02-13 | arm: General cleanup | Lioncash | 5 | -94/+57 | |
- Remove several typedefs for ARMul_State. - Remove unused functions - Remove unused/unnecessary headers - Removed unused enums, etc. | |||||
2015-02-13 | dyncom: Switch the app and system cores into the correct mode at initialization | Lioncash | 3 | -10/+15 | |
2015-02-13 | dyncom: Clean up the constructor | Lioncash | 1 | -7/+4 | |
Some function calls aren't necessary and would be handled by regular initialization routines. | |||||
2015-02-13 | dyncom: Remove warning for SXTAH | Lioncash | 1 | -1/+0 | |
This is tested to work correctly. | |||||
2015-02-12 | arm: Remove ARMul_EmulateInit | Lioncash | 1 | -6/+1 | |
This was only used for armemu, which has since been removed. Removed components related to this as well. | |||||
2015-02-11 | arm: Get rid of some magic constants. Specify proper ARM mode. | Lioncash | 1 | -2/+2 | |
Initially, we were starting the emulator in USER26MODE, which is incorrect, this should be USER32MODE. | |||||
2015-02-11 | Asserts: break/crash program, fit to style guide; log.h->assert.h | archshift | 1 | -0/+1 | |
Involves making asserts use printf instead of the log functions (log functions are asynchronous and, as such, the log won't be printed in time) As such, the log type argument was removed (printf obviously can't use it, and it's made obsolete by the file and line printing) Also removed some GEKKO cruft. | |||||
2015-02-10 | arm_dyncom_thumb: Make lookup tables static | Lioncash | 1 | -7/+7 | |
These don't need to be recreated all the time. | |||||
2015-02-10 | dyncom: Add more regs to MCR/MRC | Lioncash | 1 | -17/+32 | |
Adds the registers that were left out of some coprocessor ranges. | |||||
2015-02-10 | Scheduler refactor Pt. 1 | Kevin Hartman | 2 | -56/+11 | |
* Simplifies scheduling logic, specifically regarding thread status. It should be much clearer which statuses are valid for a thread at any given point in the system. * Removes dead code from thread.cpp. * Moves the implementation of resetting a ThreadContext to the corresponding core's implementation. Other changes: * Fixed comments in arm interfaces. * Updated comments in thread.cpp * Removed confusing, useless, functions like MakeReady() and ChangeStatus() from thread.cpp. * Removed stack_size from Thread. In the CTR kernel, the thread's stack would be allocated before thread creation. | |||||
2015-02-03 | dyncom: Remove more unnecessary code | Lioncash | 1 | -45/+3 | |
2015-02-03 | core: Fix some warnings on OSX | Lioncash | 1 | -2/+4 | |
2015-02-01 | arm: Clean up ARMul_State | Lioncash | 1 | -6/+3 | |
Remove unnecessary/unused struct variables. | |||||
2015-02-01 | arm: Adios armemu | Lioncash | 1 | -4/+0 | |
2015-01-30 | dyncom: clean up arm_dyncom_dec.h | Lioncash | 1 | -43/+2 | |
2015-01-30 | arm: Move headers over to pragma once | Lioncash | 2 | -8/+2 | |
2015-01-30 | arm: Get rid of armcpu.h and skyeye_types.h | Lioncash | 3 | -4/+0 | |
2015-01-27 | dyncom: Minor cleanup | Lioncash | 1 | -126/+137 | |
Narrow scopes for the instruction variables. Remove unnecessary parentheses. | |||||
2015-01-22 | dyncom: Minor cleanup | Lioncash | 1 | -282/+270 | |
Removes some unused macros and cleans up indentation inconsistencies | |||||
2015-01-20 | dyncom: Clarify precedence for ternary statements | Lioncash | 1 | -1/+1 | |
2015-01-19 | dyncom: Implement missing shifts in ScaledRegisterPostIndexed, etc | Lioncash | 1 | -7/+33 | |
2015-01-17 | dyncom: Handle the ARM A2 encoding of STRT/LDRT | Lioncash | 1 | -10/+24 | |
These were also missing the shifted register case. | |||||
2015-01-17 | dyncom: Handle the ARM A2 encoding of LDRBT/STRBT. | Lioncash | 1 | -17/+15 | |
2015-01-12 | dyncom: Fix 32-bit ASR shifts for immediates | Lioncash | 1 | -5/+3 | |
2015-01-12 | dyncom: Remove unused flag macros | Lioncash | 1 | -15/+3 | |
2015-01-12 | dyncom: Get rid of unnecessary outer-scope variables in InterpreterMainLoop | Lioncash | 1 | -97/+108 | |
2015-01-12 | dyncom: Fix overflow flag setting for ADD/RSB/RSC/SUB/SBC | Lioncash | 1 | -38/+41 | |
Also cleans up CMN, and CMP. | |||||
2015-01-12 | dyncom: Add a helper function for addition with a carry | Lioncash | 1 | -12/+9 | |
2015-01-12 | dyncom: Fix ADC overflow flag setting | Lioncash | 1 | -8/+12 | |
2015-01-12 | dyncom: Fix conditional execution of MSR | Lioncash | 1 | -29/+31 | |
2015-01-09 | Move ThreadContext to core/core.h and deal with the fallout | Yuri Kunde Schlesner | 2 | -4/+5 | |
2015-01-09 | DynCom: Add a comment to GetTicks. | Subv | 1 | -0/+1 | |
2015-01-09 | Timing: Use CoreTiming::GetTicks to keep track of ticks. | Subv | 2 | -6/+2 | |
This will keep track of idle ticks for us, and fixes some tickcount-related issues | |||||
2015-01-08 | dyncom: Fix UMAAL | Lioncash | 1 | -4/+4 | |
These need to be done as a 64-bit operation. | |||||
2015-01-07 | dyncom: Fix SMULWB/SMULWT | Lioncash | 1 | -10/+7 | |
Wasn't doing proper sign-extension | |||||
2015-01-07 | CoreTiming: Ported the CoreTiming namespace from PPSSPP | Subv | 1 | -1/+7 | |
Implemented the required calls to make it work. CoreTiming: Added a new logging class Core_Timing. | |||||
2015-01-07 | dyncom: Fix SWPB | Lioncash | 1 | -0/+1 | |
2015-01-07 | dyncom: Move over SMLALXY | Lioncash | 1 | -1/+56 | |
2015-01-06 | Added exclusive reservation granule from ARMv7 spec to dyncom to protect LDR/STREX. | Kevin Hartman | 1 | -5/+7 | |
2015-01-05 | dyncom: Partially emulate BXJ | Lioncash | 1 | -8/+25 | |
Just in case some game studio let the intern write inline assembly or something. | |||||
2015-01-05 | dyncom: Actually set the Q flag for SMLABB/SMLABT/SMLATB/SMLATT | Lioncash | 1 | -1/+2 | |
Easy skyeye todo fix. | |||||
2015-01-05 | dyncom: Implement QADD/QSUB/QDADD/QDSUB | Lioncash | 1 | -8/+103 | |
2015-01-04 | skyeye: Remove duplicate typedefs | Lioncash | 3 | -14/+14 | |
citra already has its own typedefs like this. | |||||
2015-01-03 | dyncom: Implement SMLAW | Lioncash | 1 | -1/+43 | |
2015-01-03 | dyncom: Implement REVSH | Lioncash | 1 | -45/+45 | |
Also joins the REV ops into one common place. | |||||
2015-01-03 | dyncom: Implement SMLALD/SMLSLD | Lioncash | 1 | -3/+72 | |
2015-01-03 | dyncom: Implement SMMLA/SMMUL/SMMLS | Lioncash | 1 | -3/+64 | |
2015-01-03 | dyncom: Implemented LDREXD/STREXD/LDREXH/STREXH | bunnei | 3 | -227/+282 | |
2015-01-03 | dyncom: Remove dead function InterpreterInitInstLength | Lioncash | 1 | -27/+0 | |
Technically eliminates two memory leaks as well. | |||||
2015-01-03 | dyncom: Implement SMLAD/SMUAD/SMLSD/SMUSD | Lioncash | 1 | -44/+73 | |
2015-01-02 | dyncom: Implement SXTAB16 and SXTB16 | Lioncash | 1 | -3/+58 | |
2015-01-01 | dyncom: Implement SHADD8/SHADD16/SHSUB8/SHSUB16/SHASX/SHSAX | Lioncash | 1 | -8/+110 | |
2015-01-01 | dyncom: Implement SADD8/SSUB8 | Lioncash | 1 | -55/+108 | |
2014-12-31 | dyncom: Implement UADD8/UADD16/USUB8/USUB16/UASX/USAX | Lioncash | 1 | -9/+208 | |
2014-12-31 | dyncom: Massive refactor | bunnei | 1 | -514/+191 | |
2014-12-30 | dyncom: Implement USAT16/SSAT16 | Lioncash | 1 | -2/+61 | |
2014-12-30 | dyncom: Implement USAT/SSAT | bunnei | 1 | -2/+94 | |
2014-12-30 | dyncom: Various cleanups to match coding style, no functional changes. | bunnei | 4 | -7055/+5962 | |
2014-12-29 | dyncom: Fix SMLALXY's instruction labels | Lioncash | 1 | -2/+2 | |
They were erroneously labeled as SMLAL. | |||||
2014-12-29 | dyncom: Implement QADD8/QSUB8 | Lioncash | 1 | -32/+42 | |
2014-12-29 | dyncom: Implement UXTB16/UXTAB16 | Lioncash | 1 | -2/+55 | |
2014-12-29 | vfp: Actually make the code somewhat readable | Lioncash | 2 | -14/+109 | |
2014-12-28 | dyncom: Implement PKHBT and PKHTB. | bunnei | 1 | -2/+57 | |
2014-12-28 | dyncom: Implement USAD8/USADA8 | Lioncash | 1 | -2/+52 | |
2014-12-27 | dyncom: Implement UQADD8, UQADD16, UQSUB8, UQSUB16, UQASX, and UQSAX. | Lioncash | 1 | -8/+97 | |
2014-12-27 | dyncom: Implement UHADD8, UHADD16, UHSUB8, UHSUB16, UHASX, and UHSAX | Lioncash | 1 | -11/+123 | |
2014-12-26 | ARM: Add a mechanism for faking CPU time elapsed during HLE. | bunnei | 2 | -49/+14 | |
- Also a few cleanups. | |||||
2014-12-22 | dyncom: Move over QADD16/QASX/QSAX/QSUB16 | Lioncash | 1 | -7/+87 | |
2014-12-22 | dyncom: Move SEL over | Lioncash | 1 | -1/+58 | |
2014-12-22 | dyncom: Move over SASX/SSAX/SADD16/SSUB16 | Lioncash | 1 | -7/+102 | |
2014-12-21 | More warning cleanups | Chin | 3 | -9/+6 | |
2014-12-21 | License change | purpasmart96 | 3 | -3/+3 | |
2014-12-19 | dyncom: Implement UMAAL | Lioncash | 1 | -1/+47 | |
2014-12-13 | Convert old logging calls to new logging macros | Yuri Kunde Schlesner | 1 | -99/+101 | |
2014-11-29 | dyncom: Use unordered_map rather than the terrible 2-level bb_map | Yuri Kunde Schlesner | 1 | -33/+15 | |
Seems (probably just placebo/wishful thinking) to make it slightly faster. Also reduces memory usage and makes shutdown when debugging from MSVC fast. | |||||
2014-11-29 | arm_dyncom_interpreter: Get rid of unused var warnings | Lioncash | 1 | -4/+2 | |
2014-11-29 | Add comment regarding __WIN32__ in SkyEye code | darkf | 1 | -0/+4 | |
2014-11-29 | Fix MinGW build | darkf | 1 | -0/+4 | |
2014-11-19 | Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generated | Emmanuel Gil Peyrot | 3 | -4/+4 | |
2014-11-18 | Fix documentation of parameters | Lioncash | 1 | -1/+1 | |
2014-11-12 | ARM: Fixed dyncom to use reg15 for PC (this core doesn't use pc variable). | bunnei | 1 | -2/+2 | |
- Fixes single stepping in debugger. | |||||
2014-11-12 | ARM: Removed unnecessary goto with each instruction. | bunnei | 1 | -43/+39 | |
2014-11-12 | ARM: Fixed several dyncom bugs. | bunnei | 3 | -17/+25 | |
- Fixed NZCVT flags to properly save state when function returns. - Fixed counter to keep track of the actual number of instructions executed. - Fixed single-step mode to only execute one instruction at a time. - DefaultIni: Removed comment that no longer applied to dyncom. | |||||
2014-10-26 | Add `override` keyword through the code. | Yuri Kunde Schlesner | 1 | -7/+7 | |
This was automated using `clang-modernize`. | |||||
2014-10-25 | ARM: Removed unnecessary and unused SkyEye MMU code. | bunnei | 1 | -1/+0 | |
Added license header back in. I originally removed this because I mostly rewrote the file, but meh | |||||
2014-10-25 | ARM: Updated dyncom core to use fast label lookup table on clang. | bunnei | 1 | -3/+7 | |
2014-10-25 | ARM: Integrate SkyEye faster "dyncom" interpreter. | bunnei | 10 | -0/+8124 | |
Fixed typo (make protected member public) Added license header back in. I originally removed this because I mostly rewrote the file, but meh ARM: Fixed a type error in dyncom interpreter. ARM: Updated dyncom to use unique_ptr for internal ARM state. |