Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | dyncom: Properly retrieve the PC value in BX if used. | Lioncash | 2015-07-20 | 1 | -3/+5 |
| | |||||
* | Dyncom: Support for a missing ARMv6 Thumb MOV encoding | Yuri Kunde Schlesner | 2015-07-18 | 1 | -10/+4 |
| | |||||
* | arm_dyncom_interpreter: Simplify assignment in SMLAW | Lioncash | 2015-07-17 | 1 | -1/+1 |
| | | | | Also a side-benefit of not having implementation-defined behavior. | ||||
* | Merge pull request #876 from linkmauve/include-cleanups | Yuri Kunde Schlesner | 2015-07-11 | 4 | -4/+12 |
|\ | | | | | Cleanup includes, mostly in common | ||||
| * | Core, VideoCore: Replace or fix exit() calls. | Emmanuel Gil Peyrot | 2015-06-28 | 2 | -4/+6 |
| | | |||||
| * | Core: Cleanup core includes. | Emmanuel Gil Peyrot | 2015-06-28 | 1 | -0/+5 |
| | | |||||
| * | Common: Fix FileUtil includes, and everything relying on those. | Emmanuel Gil Peyrot | 2015-06-28 | 1 | -0/+1 |
| | | |||||
* | | vfp: Change return type of VFPInit from unsigned int to void. | Lioncash | 2015-06-29 | 2 | -4/+2 |
| | | |||||
* | | vfp: Handle accesses to FPINST/FPINST2 system registers | Lioncash | 2015-06-29 | 4 | -42/+53 |
|/ | | | | Also has a side-benefit of correcting access to the FPEXC register. | ||||
* | vfp: Handle accesses to the VFP media feature registers | Lioncash | 2015-06-13 | 3 | -4/+8 |
| | | | | These are able to be accessed in any privilege mode. | ||||
* | vfp: Implement VMOVBCR/VMOVBRC | Lioncash | 2015-06-12 | 2 | -5/+8 |
| | |||||
* | arm_dyncom_thumb: Fix handling of writeback for thumb LDMIA | Lioncash | 2015-06-04 | 1 | -5/+19 |
| | |||||
* | arm_dyncom_thumb: Fix encoding of BKPT's immediate | Lioncash | 2015-06-01 | 1 | -1/+4 |
| | |||||
* | arm_dyncom_thumb: Implement CPS and SETEND | Lioncash | 2015-06-01 | 1 | -0/+13 |
| | |||||
* | arm_dyncom_thumb: Implement SXTH, SXTB, UXTH, and UXTB. | Lioncash | 2015-06-01 | 1 | -0/+11 |
| | |||||
* | arm_dyncom_thumb: Implement REV, REV16, and REVSH. | Lioncash | 2015-06-01 | 1 | -2/+12 |
| | |||||
* | Remove every trailing whitespace from the project (but externals). | Emmanuel Gil Peyrot | 2015-05-29 | 6 | -24/+24 |
| | |||||
* | Merge pull request #826 from lioncash/tables | Yuri Kunde Schlesner | 2015-05-27 | 1 | -22/+11 |
|\ | | | | | arm_dyncom_thumb: Merge STR/LDR table subsets. | ||||
| * | arm_dyncom_thumb: Merge STR/LDR table subsets. | Lioncash | 2015-05-27 | 1 | -22/+11 |
| | | |||||
* | | arm_dyncom_interpreter: Remove unused variable | Lioncash | 2015-05-26 | 1 | -5/+1 |
| | | | | | | | | Thum decoding directly checks if the thumb bit is set instead of using a temporary. | ||||
* | | arm_dyncom_interpreter: Remove unused macro | Lioncash | 2015-05-25 | 1 | -1/+0 |
|/ | |||||
* | dyncom: Get rid of armemu.h | Lioncash | 2015-05-24 | 4 | -49/+29 |
| | |||||
* | dyncom: Remove unused cpu parameter from decode_thumb_instr | Lioncash | 2015-05-23 | 1 | -3/+2 |
| | |||||
* | dyncom: remove load_r15 from arm_inst | Lioncash | 2015-05-23 | 2 | -490/+331 |
| | | | | It's entirely unused. Also allows getting rid of more clunky macros. | ||||
* | dyncom: Remove unnecessary parameter for load/store operations | Lioncash | 2015-05-23 | 1 | -39/+39 |
| | |||||
* | VFP: Log as trace to get rid of spamming. | bunnei | 2015-05-23 | 1 | -23/+23 |
| | |||||
* | dyncom: Eliminate clang warnings | Lioncash | 2015-05-21 | 4 | -406/+404 |
| | | | | Gets rid of a whole load of missing brace initialization warnings. | ||||
* | Merge pull request #772 from lioncash/warn | bunnei | 2015-05-18 | 2 | -6/+6 |
|\ | | | | | core/video_core: Fix a few warnings when compiling on MSVC. | ||||
| * | vfp: Get rid of warnings | Lioncash | 2015-05-14 | 2 | -6/+6 |
| | | | | | | | | | | - Unary minus operator applied to unsigned type. - Unsafe use of bool. | ||||
* | | Merge pull request #774 from lioncash/decodings | Yuri Kunde Schlesner | 2015-05-15 | 2 | -33/+191 |
|\ \ | | | | | | | dyncom: Add ARMv6K NOP and hint instructions to the interpreter. | ||||
| * | | dyncom: Add ARMv6K NOP and hint instructions to the decoding table | Lioncash | 2015-05-14 | 2 | -12/+152 |
| | | | |||||
| * | | dyncom: Handle some MSR variants individually | Lioncash | 2015-05-14 | 2 | -24/+41 |
| | | | | | | | | | | | | This is necessary, as hint instructions will be recognized as MSR, which is pretty bad. | ||||
| * | | dyncom: Move exclusive load/stores above bbl and swi in the decoding table | Lioncash | 2015-05-14 | 2 | -14/+15 |
| |/ | |||||
* | | Merge pull request #770 from lioncash/dyncom_clean | bunnei | 2015-05-15 | 2 | -275/+260 |
|\ \ | | | | | | | dyncom: Minor cleanup. | ||||
| * | | dyncom: Remove duplicate enums/prototypes | Lioncash | 2015-05-14 | 1 | -7/+1 |
| | | | | | | | | | | | | These are already defined in arm_dyncom_interpreter_dec.cpp. | ||||
| * | | dyncom: Remove unnecessary defines | Lioncash | 2015-05-14 | 1 | -4/+4 |
| | | | | | | | | | | | | These can simply be const vars. | ||||
| * | | dyncom: Make translation-unit functions and variables static | Lioncash | 2015-05-14 | 1 | -66/+64 |
| | | | |||||
| * | | dyncom: Remove unnecessary typedefs | Lioncash | 2015-05-14 | 2 | -196/+197 |
| | | | |||||
| * | | dyncom: Remove unused structs | Lioncash | 2015-05-14 | 1 | -8/+0 |
| |/ | |||||
* / | Memmap: Re-organize memory function in two files | Yuri Kunde Schlesner | 2015-05-15 | 3 | -3/+2 |
|/ | | | | | | | memory.cpp/h contains definitions related to acessing memory and configuring the address space mem_map.cpp/h contains higher-level definitions related to configuring the address space accoording to the kernel and allocating memory. | ||||
* | dyncom: Removed irrelevant log. | bunnei | 2015-05-14 | 1 | -2/+0 |
| | |||||
* | dyncom: Fix decoding of BKPT's immediate | Lioncash | 2015-05-13 | 1 | -1/+1 |
| | | | | A shift here is intended since the representation is imm12:imm4 | ||||
* | Merge pull request #752 from lioncash/flush | bunnei | 2015-05-12 | 3 | -84/+98 |
|\ | | | | | vfp: Handle flush-to-zero mode. | ||||
| * | vfp: Handle flush-to-zero mode. | Lioncash | 2015-05-11 | 3 | -84/+98 |
| | | |||||
* | | dyncom: Stub MCRR and MRRC | Lioncash | 2015-05-12 | 1 | -7/+68 |
|/ | | | | | There's no other coprocessor outside the VFP (which has its own VMOV variants) in which the MPCore can send/retrieve data from. Stubbed so citra won't crash and burn on the odd chance someone actually tries to use these. | ||||
* | Merge pull request #728 from lioncash/vars | Lioncash | 2015-05-08 | 1 | -19/+17 |
|\ | | | | | dyncom: Remove an unnecessary variable in the interpreter | ||||
| * | dyncom: Remove an unnecessary variable in the interpreter | Lioncash | 2015-05-08 | 1 | -19/+17 |
| | | | | | | | | All this was doing was needlessly aliasing a variable. | ||||
* | | Remove unnecessary dyncom header files | Lioncash | 2015-05-08 | 5 | -80/+2 |
|/ | |||||
* | Common: Remove common.h | Yuri Kunde Schlesner | 2015-05-07 | 3 | -2/+2 |
| | |||||
* | Clean-up includes | Yuri Kunde Schlesner | 2015-05-07 | 2 | -0/+4 |
| | |||||
* | HLE: Clean up SVC dispatch mechanism | Yuri Kunde Schlesner | 2015-05-06 | 1 | -2/+2 |
| | |||||
* | Dyncom: Move cream cache to ARMul_State. | bunnei | 2015-05-02 | 4 | -25/+18 |
| | |||||
* | dyncom: Remove more unused/unnecessary code | Lioncash | 2015-04-20 | 4 | -92/+1 |
| | | | | Gets rid of a sizeable amount of stuff in armdefs. | ||||
* | dyncom: Remove unused/unnecessary VFP cruft | Lioncash | 2015-04-18 | 6 | -822/+15 |
| | |||||
* | Core_ARM11: Replace debug prints with our own logging functions in vfpsingle. | Emmanuel Gil Peyrot | 2015-04-14 | 2 | -39/+36 |
| | |||||
* | Headers: Add some forgotten overrides, thanks clang! | Emmanuel Gil Peyrot | 2015-04-14 | 1 | -1/+1 |
| | |||||
* | dyncom: Remove unnecessary enum and typedef | Lioncash | 2015-04-07 | 5 | -50/+30 |
| | | | | Also fixes descriptions in the process. | ||||
* | vfp: Make the FPSID values match the MPCore | Lioncash | 2015-04-06 | 1 | -7/+7 |
| | |||||
* | vfp: Get rid of the VFP_OFFSET macro | Lioncash | 2015-04-06 | 5 | -64/+69 |
| | |||||
* | Merge pull request #685 from lioncash/cpregs | bunnei | 2015-04-06 | 8 | -134/+212 |
|\ | | | | | dyncom: Set the MPCore CP15 register reset values on initialization. | ||||
| * | core: Migrate 3DS-specific CP15 register setting into Init | Lioncash | 2015-04-06 | 1 | -8/+0 |
| | | |||||
| * | arm_interface: Support retrieval/storage to CP15 registers | Lioncash | 2015-04-06 | 3 | -0/+25 |
| | | |||||
| * | Move CP15 enum definitions into their own enum. | Lioncash | 2015-04-06 | 5 | -168/+163 |
| | | | | | | | | Also gets rid of preprocessor mumbo-jumbo | ||||
| * | dyncom: Properly return the value of the user RO thread register | Lioncash | 2015-04-06 | 2 | -4/+10 |
| | | |||||
| * | dyncom: Set CP15 reset values on initialization | Lioncash | 2015-04-06 | 1 | -0/+60 |
| | | |||||
* | | dyncom: Suppress uninitialized variable warnings | Lioncash | 2015-04-06 | 1 | -4/+4 |
|/ | | | | The switch cases will always be hit, but this makes compilers stop complaining. | ||||
* | dyncom: Move CP15 register writing into its own function. | Lioncash | 2015-04-02 | 4 | -88/+265 |
| | | | | Also implements writing to the rest of the ARM11 MPCore CP15 register set. | ||||
* | dyncom: Move CP15 register reading into its own function. | Lioncash | 2015-04-02 | 4 | -49/+253 |
| | | | | Keeps everything contained. Added all supported readable registers in an ARM11 MPCore. | ||||
* | dyncom: Migrate InAPrivilegedMode to armsupp | Lioncash | 2015-03-26 | 3 | -4/+7 |
| | | | | It's a generic helper function, so it should be here anyway. | ||||
* | Merge pull request #674 from lioncash/sys-instrs | bunnei | 2015-03-25 | 1 | -2/+62 |
|\ | | | | | dyncom: Implement RFE and SRS. | ||||
| * | dyncom: Implement SRS | Lioncash | 2015-03-24 | 1 | -1/+32 |
| | | |||||
| * | dyncom: Implement RFE | Lioncash | 2015-03-24 | 1 | -1/+30 |
| | | |||||
* | | dyncom: Remove unused/unnecessary macros and macro constants | Lioncash | 2015-03-24 | 2 | -39/+2 |
|/ | |||||
* | armmmu: Remove unnecessary enum values | Lioncash | 2015-03-21 | 1 | -30/+20 |
| | | | | We don't need to care about XScale or Intel specific ARM stuff. | ||||
* | Merge pull request #659 from lioncash/setend | bunnei | 2015-03-20 | 5 | -83/+233 |
|\ | | | | | Implement SETEND. | ||||
| * | dyncom: Make Load/Store instructions support big endian | Lioncash | 2015-03-17 | 5 | -82/+198 |
| | | |||||
| * | dyncom: Implement SETEND | Lioncash | 2015-03-15 | 1 | -1/+35 |
| | | |||||
* | | arm_interface: Get rid of GetTicks. | Lioncash | 2015-03-16 | 3 | -12/+0 |
|/ | | | | Removes a TODO. | ||||
* | dyncom: Minor cleanup | Lioncash | 2015-03-10 | 1 | -26/+7 |
| | | | | Assemblers will exit with an error when trying to assemble instructions with disallowed registers. | ||||
* | dyncom: Fix an indexing bug in STM | Lioncash | 2015-03-09 | 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. | ||||
* | dyncom: General cleanup of STM | Lioncash | 2015-03-09 | 1 | -16/+14 |
| | |||||
* | dyncom: Increment addr when accessing LR in LDM | Lioncash | 2015-03-09 | 1 | -0/+2 |
| | |||||
* | Merge pull request #538 from yuriks/perf-stat | Tony Wasserka | 2015-03-07 | 1 | -0/+8 |
|\ | | | | | Add profiling infrastructure and widget | ||||
| * | Add profiling infrastructure and widget | Yuri Kunde Schlesner | 2015-03-02 | 1 | -0/+8 |
| | | |||||
* | | vfp: Get rid of warnings | Lioncash | 2015-03-04 | 2 | -4/+4 |
|/ | |||||
* | Merge pull request #620 from lioncash/bkpt | bunnei | 2015-02-28 | 1 | -2/+3 |
|\ | | | | | arm_disasm: Show conditional code for BKPT instructions. | ||||
| * | arm_disasm: Show conditional code for BKPT instructions. | Lioncash | 2015-02-28 | 1 | -2/+3 |
| | | | | | | | | Changed cond_to_str to take a uint32, since unsigned numbers are only ever passed to it, and this can be a source of warnings for some compilers (also indexing an array without bounds checking a signed number is kind of iffy). | ||||
* | | arm_disasm: Remove unused variable | Lioncash | 2015-02-28 | 1 | -2/+1 |
|/ | | | | Also declared an array as static, as it's only used in this translation unit. | ||||
* | arm: The CP15 Main ID register is not writeable | Lioncash | 2015-02-26 | 1 | -3/+1 |
| | |||||
* | arm: Remove unnecessary booleans | Lioncash | 2015-02-25 | 2 | -22/+5 |
| | | | | We don't care about any of these. | ||||
* | Cleaned up unaligned access. | Kevin Hartman | 2015-02-22 | 1 | -17/+2 |
| | |||||
* | Merge pull request #582 from lioncash/warnings | bunnei | 2015-02-18 | 1 | -4/+4 |
|\ | | | | | vfpinstr: Fix trivial signed/unsigned mismatch warnings | ||||
| * | vfpinstr: Fix trivial signed/unsigned mismatch warnings | Lioncash | 2015-02-18 | 1 | -4/+4 |
| | | |||||
* | | Merge pull request #579 from lioncash/bkpt | bunnei | 2015-02-18 | 2 | -2/+28 |
|\ \ | |/ |/| | dyncom: Support conditional BKPT instructions | ||||
| * | dyncom: Support conditional BKPT instructions | Lioncash | 2015-02-17 | 2 | -2/+28 |
| | | |||||
* | | Merge pull request #574 from lioncash/warn | bunnei | 2015-02-16 | 1 | -2/+2 |
|\ \ | |/ |/| | vfpdouble: Use %p for printing pointer addresses. | ||||
| * | vfpdouble: Use %p for printing pointer addresses. | Lioncash | 2015-02-15 | 1 | -2/+2 |
| | | |||||
* | | dyncom: Actually set the destination register for USAD8/USADA8. | Lioncash | 2015-02-16 | 1 | -0/+1 |
|/ | | | | Idiotville: Population: 1 - Inhabitant name: Lioncash | ||||
* | arm: Set the A bit on reset. | Lioncash | 2015-02-15 | 1 | -1/+1 |
| | | | | This enum value is ORed against in ARMul_Reset (and used to refer to all interrupt bits in the CPSR). So simply updating this is enough. | ||||
* | core: Apply static to local functions | Lioncash | 2015-02-13 | 5 | -221/+227 |
| | |||||
* | arm: General cleanup | Lioncash | 2015-02-13 | 13 | -227/+116 |
| | | | | | | | - Remove several typedefs for ARMul_State. - Remove unused functions - Remove unused/unnecessary headers - Removed unused enums, etc. | ||||
* | dyncom: Switch the app and system cores into the correct mode at initialization | Lioncash | 2015-02-13 | 4 | -12/+17 |
| | |||||
* | dyncom: Clean up the constructor | Lioncash | 2015-02-13 | 3 | -16/+7 |
| | | | | Some function calls aren't necessary and would be handled by regular initialization routines. | ||||
* | dyncom: Remove warning for SXTAH | Lioncash | 2015-02-13 | 1 | -1/+0 |
| | | | | This is tested to work correctly. | ||||
* | arm: Remove ARMul_EmulateInit | Lioncash | 2015-02-12 | 4 | -55/+1 |
| | | | | This was only used for armemu, which has since been removed. Removed components related to this as well. | ||||
* | armdefs: Remove unnecessary extern C | Lioncash | 2015-02-12 | 1 | -6/+0 |
| | |||||
* | arm: Remove ARM26 support. | Lioncash | 2015-02-11 | 2 | -45/+4 |
| | | | | This will never be used. 32-bit is the norm. | ||||
* | Merge pull request #559 from lioncash/clean | bunnei | 2015-02-11 | 4 | -24/+40 |
|\ | | | | | arm: Some cleanup. Also fixed the initial ARM mode that is emulated. | ||||
| * | arm: Get rid of some magic constants. Specify proper ARM mode. | Lioncash | 2015-02-11 | 3 | -3/+10 |
| | | | | | | | | Initially, we were starting the emulator in USER26MODE, which is incorrect, this should be USER32MODE. | ||||
| * | arm: Change some more constants into enums | Lioncash | 2015-02-11 | 2 | -21/+30 |
| | | |||||
* | | Asserts: break/crash program, fit to style guide; log.h->assert.h | archshift | 2015-02-11 | 2 | -1/+2 |
| | | | | | | | | | | | | | | 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. | ||||
* | | Merge pull request #556 from lioncash/clean | bunnei | 2015-02-11 | 4 | -28/+19 |
|\| | | | | | arm: Remove TRUE/FALSE defines | ||||
| * | arm: Remove TRUE/FALSE defines | Lioncash | 2015-02-10 | 4 | -28/+19 |
| | | | | | | | | | | - Removed the Debug parameter from ARMul_State since it isn't used. - Changed ARMul_CoProInit to a void function. It always returned true. | ||||
* | | arm_dyncom_thumb: Make lookup tables static | Lioncash | 2015-02-10 | 1 | -7/+7 |
|/ | | | | These don't need to be recreated all the time. | ||||
* | Merge pull request #553 from lioncash/denorm | bunnei | 2015-02-10 | 2 | -0/+6 |
|\ | | | | | vfp: Normalize accumulator for multiply accumulate instructions | ||||
| * | vfp: Normalize accumulator for multiply accumulate instructions | Lioncash | 2015-02-10 | 2 | -0/+6 |
| | | |||||
* | | dyncom: Add more regs to MCR/MRC | Lioncash | 2015-02-10 | 2 | -18/+35 |
|/ | | | | Adds the registers that were left out of some coprocessor ranges. | ||||
* | Scheduler refactor Pt. 1 | Kevin Hartman | 2015-02-10 | 3 | -56/+20 |
| | | | | | | | | | | | | | * 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. | ||||
* | vfpdouble: Fix the FTOUI NaN sign setting | Lioncash | 2015-02-09 | 1 | -1/+1 |
| | | | | This was fixed for vfpsingle, but not vfpdouble | ||||
* | Throw more unused/unnecessary VFP code out | Lioncash | 2015-02-09 | 3 | -215/+1 |
| | |||||
* | vfp_helper: Convert some flags to enums. Throw out more duplicated FPSCR stuff | Lioncash | 2015-02-09 | 4 | -192/+153 |
| | |||||
* | vfp_helper: Normalize tabs to spaces | Lioncash | 2015-02-09 | 1 | -172/+170 |
| | |||||
* | vfp_helper: Remove unnecessary extern C blocks | Lioncash | 2015-02-06 | 1 | -17/+1 |
| | |||||
* | vfp: Move FPSID, FPEXC, and FPSCR values over to enums. | Lioncash | 2015-02-06 | 3 | -150/+104 |
| | | | | Also got rid of duplicate definitions of some of these values. | ||||
* | Merge pull request #537 from lioncash/vfp | bunnei | 2015-02-04 | 1 | -6/+6 |
|\ | | | | | vfp: Fix VCVT | ||||
| * | vfp: Fix VCVT | Lioncash | 2015-02-04 | 1 | -6/+6 |
| | | | | | | | | | | These variants exclusively read from the single precision regs and write to double-precision registers Fixes issues where converted values would be way off from what they should be due to the results being stored in the wrong registers. | ||||
* | | Merge pull request #536 from lioncash/dead | bunnei | 2015-02-04 | 2 | -1765/+0 |
|\ \ | |/ |/| | vfp: Throw out unused code | ||||
| * | vfp: Throw out unused code | Lioncash | 2015-02-04 | 2 | -1765/+0 |
| | | |||||
* | | dyncom: Remove more unnecessary code | Lioncash | 2015-02-03 | 1 | -45/+3 |
|/ | |||||
* | core: Fix some warnings on OSX | Lioncash | 2015-02-03 | 1 | -2/+4 |
| | |||||
* | Merge pull request #525 from lioncash/armwarn | bunnei | 2015-02-01 | 2 | -6/+3 |
|\ | | | | | vfp: Get rid of some compile warnings | ||||
| * | vfp: Get rid of some compile warnings | Lioncash | 2015-02-01 | 2 | -6/+3 |
| | | |||||
* | | arm: Clean up ARMul_State | Lioncash | 2015-02-01 | 3 | -136/+83 |
|/ | | | | Remove unnecessary/unused struct variables. | ||||
* | arm: Adios armemu | Lioncash | 2015-02-01 | 12 | -8576/+164 |
| | |||||
* | dyncom: clean up arm_dyncom_dec.h | Lioncash | 2015-01-30 | 1 | -43/+2 |
| | |||||
* | arm: Move headers over to pragma once | Lioncash | 2015-01-30 | 7 | -31/+11 |
| | |||||
* | arm: Get rid of armcpu.h and skyeye_types.h | Lioncash | 2015-01-30 | 5 | -113/+0 |
| | |||||
* | arm: Clean out armos.h and armmmu.h | Lioncash | 2015-01-30 | 2 | -181/+23 |
| | |||||
* | arm: Throw out a lot of unnecessary code | Lioncash | 2015-01-30 | 6 | -1536/+56 |
| | |||||
* | armdefs: Move some defines over to enums | Lioncash | 2015-01-30 | 1 | -131/+112 |
| | |||||
* | dyncom: Minor cleanup | Lioncash | 2015-01-27 | 1 | -126/+137 |
| | | | | Narrow scopes for the instruction variables. Remove unnecessary parentheses. | ||||
* | Update vfp.cpp | bunnei | 2015-01-27 | 1 | -1/+1 |
| | | | VFP: Changed a debug log to trace. | ||||
* | Merge pull request #410 from chinhodado/cleanup | bunnei | 2015-01-24 | 5 | -483/+157 |
|\ | | | | | Cleanup: Logging in Core | ||||
| * | Cleanup: Logging in Core | Chin | 2015-01-19 | 5 | -483/+157 |
| | | |||||
* | | vfp: Clean up vertical alignment for instructions | Lioncash | 2015-01-23 | 1 | -131/+125 |
| | | |||||
* | | dyncom: Minor cleanup | Lioncash | 2015-01-22 | 1 | -282/+270 |
| | | | | | | | | Removes some unused macros and cleans up indentation inconsistencies | ||||
* | | dyncom: Clarify precedence for ternary statements | Lioncash | 2015-01-20 | 3 | -3/+3 |
| | | |||||
* | | dyncom: Implement missing shifts in ScaledRegisterPostIndexed, etc | Lioncash | 2015-01-19 | 1 | -7/+33 |
|/ | |||||
* | dyncom: Handle the ARM A2 encoding of STRT/LDRT | Lioncash | 2015-01-17 | 1 | -10/+24 |
| | | | | These were also missing the shifted register case. | ||||
* | dyncom: Handle the ARM A2 encoding of LDRBT/STRBT. | Lioncash | 2015-01-17 | 1 | -17/+15 |
| | |||||
* | vfp: Remove dead code | Lioncash | 2015-01-12 | 1 | -50/+14 |
| | |||||
* | dyncom: Fix 32-bit ASR shifts for immediates | Lioncash | 2015-01-12 | 1 | -5/+3 |
| | |||||
* | dyncom: Remove unused flag macros | Lioncash | 2015-01-12 | 1 | -15/+3 |
| | |||||
* | dyncom: Get rid of unnecessary outer-scope variables in InterpreterMainLoop | Lioncash | 2015-01-12 | 1 | -97/+108 |
| | |||||
* | dyncom: Fix overflow flag setting for ADD/RSB/RSC/SUB/SBC | Lioncash | 2015-01-12 | 1 | -38/+41 |
| | | | | Also cleans up CMN, and CMP. | ||||
* | dyncom: Add a helper function for addition with a carry | Lioncash | 2015-01-12 | 3 | -12/+26 |
| | |||||
* | dyncom: Fix ADC overflow flag setting | Lioncash | 2015-01-12 | 1 | -8/+12 |
| | |||||
* | dyncom: Fix conditional execution of MSR | Lioncash | 2015-01-12 | 1 | -29/+31 |
| | |||||
* | Move ThreadContext to core/core.h and deal with the fallout | Yuri Kunde Schlesner | 2015-01-09 | 5 | -11/+16 |
| | |||||
* | DynCom: Add a comment to GetTicks. | Subv | 2015-01-09 | 1 | -0/+1 |
| | |||||
* | Timing: Use CoreTiming::GetTicks to keep track of ticks. | Subv | 2015-01-09 | 2 | -6/+2 |
| | | | | This will keep track of idle ticks for us, and fixes some tickcount-related issues | ||||
* | dyncom: Fix UMAAL | Lioncash | 2015-01-08 | 1 | -4/+4 |
| | | | | These need to be done as a 64-bit operation. | ||||
* | Merge pull request #442 from lioncash/smul | bunnei | 2015-01-07 | 1 | -10/+7 |
|\ | | | | | dyncom: Fix SMULWB/SMULWT | ||||
| * | dyncom: Fix SMULWB/SMULWT | Lioncash | 2015-01-07 | 1 | -10/+7 |
| | | | | | | | | Wasn't doing proper sign-extension | ||||
* | | Merge pull request #425 from Subv/coretiming | bunnei | 2015-01-07 | 2 | -1/+9 |
|\ \ | |/ |/| | Ported the CoreTiming namespace from PPSSPP | ||||
| * | CoreTiming: Ported the CoreTiming namespace from PPSSPP | Subv | 2015-01-07 | 2 | -1/+9 |
| | | | | | | | | | | | | Implemented the required calls to make it work. CoreTiming: Added a new logging class Core_Timing. | ||||
* | | Merge pull request #438 from lioncash/swp | bunnei | 2015-01-07 | 1 | -0/+1 |
|\ \ | | | | | | | dyncom: Fix SWPB | ||||
| * | | dyncom: Fix SWPB | Lioncash | 2015-01-07 | 1 | -0/+1 |
| | | | |||||
* | | | dyncom: Move over SMLALXY | Lioncash | 2015-01-07 | 1 | -1/+56 |
|/ / | |||||
* | | Merge pull request #417 from kevinhartman/exclusive-tag-fix | bunnei | 2015-01-06 | 2 | -16/+18 |
|\ \ | |/ |/| | Added exclusive reservation granule from ARMv7 spec to dyncom... | ||||
| * | Added exclusive reservation granule from ARMv7 spec to dyncom to protect LDR/STREX. | Kevin Hartman | 2015-01-06 | 2 | -16/+18 |
| | | |||||
* | | dyncom: Partially emulate BXJ | Lioncash | 2015-01-05 | 1 | -8/+25 |
| | | | | | | | | Just in case some game studio let the intern write inline assembly or something. | ||||
* | | dyncom: Actually set the Q flag for SMLABB/SMLABT/SMLATB/SMLATT | Lioncash | 2015-01-05 | 1 | -1/+2 |
| | | | | | | | | Easy skyeye todo fix. | ||||
* | | Merge pull request #418 from lioncash/qd | bunnei | 2015-01-05 | 4 | -25/+117 |
|\ \ | | | | | | | dyncom: Implement QADD/QSUB/QDADD/QDSUB | ||||
| * | | dyncom: Implement QADD/QSUB/QDADD/QDSUB | Lioncash | 2015-01-05 | 4 | -25/+117 |
| | | | |||||
* | | | skyeye: Remove duplicate typedefs | Lioncash | 2015-01-04 | 4 | -41/+17 |
|/ / | | | | | | | citra already has its own typedefs like this. | ||||
* | | Merge pull request #398 from lioncash/sm | bunnei | 2015-01-03 | 1 | -1/+43 |
|\ \ | |/ |/| | dyncom: Implement SMLAW | ||||
| * | dyncom: Implement SMLAW | Lioncash | 2015-01-03 | 1 | -1/+43 |
| | | |||||
* | | VFP: Minor cleanup, functionally the same. | bunnei | 2015-01-03 | 1 | -2587/+2476 |
|/ | |||||
* | Merge pull request #395 from lioncash/rev | bunnei | 2015-01-03 | 1 | -45/+45 |
|\ | | | | | dyncom: Implement REVSH | ||||
| * | dyncom: Implement REVSH | Lioncash | 2015-01-03 | 1 | -45/+45 |
| | | | | | | | | Also joins the REV ops into one common place. | ||||
* | | dyncom: Implement SMLALD/SMLSLD | Lioncash | 2015-01-03 | 1 | -3/+72 |
|/ | |||||
* | Merge pull request #392 from lioncash/sm | bunnei | 2015-01-03 | 1 | -3/+64 |
|\ | | | | | dyncom: Implement SMMLA/SMMUL/SMMLS | ||||
| * | dyncom: Implement SMMLA/SMMUL/SMMLS | Lioncash | 2015-01-03 | 1 | -3/+64 |
| | | |||||
* | | dyncom: Implemented LDREXD/STREXD/LDREXH/STREXH | bunnei | 2015-01-03 | 3 | -227/+282 |
|/ | |||||
* | Merge pull request #390 from lioncash/wut | bunnei | 2015-01-03 | 1 | -27/+0 |
|\ | | | | | dyncom: Remove dead function InterpreterInitInstLength | ||||
| * | dyncom: Remove dead function InterpreterInitInstLength | Lioncash | 2015-01-03 | 1 | -27/+0 |
| | | | | | | | | Technically eliminates two memory leaks as well. | ||||
* | | armemu: Fix missing Q flag check for SMLSD. | Lioncash | 2015-01-03 | 1 | -2/+6 |
| | | |||||
* | | dyncom: Implement SMLAD/SMUAD/SMLSD/SMUSD | Lioncash | 2015-01-03 | 5 | -50/+84 |
|/ | |||||
* | dyncom: Implement SXTAB16 and SXTB16 | Lioncash | 2015-01-02 | 1 | -3/+58 |
| | |||||
* | Merge pull request #379 from lioncash/sh | bunnei | 2015-01-02 | 1 | -8/+110 |
|\ | | | | | dyncom: Implement SHADD8/SHADD16/SHSUB8/SHSUB16/SHASX/SHSAX | ||||
| * | dyncom: Implement SHADD8/SHADD16/SHSUB8/SHSUB16/SHASX/SHSAX | Lioncash | 2015-01-01 | 1 | -8/+110 |
| | | |||||
* | | Fix SADD8/SSUB8 in the armemu | Lioncash | 2015-01-01 | 1 | -50/+28 |
| | | |||||
* | | dyncom: Implement SADD8/SSUB8 | Lioncash | 2015-01-01 | 1 | -55/+108 |
|/ | |||||
* | Merge pull request #375 from lioncash/uops | bunnei | 2014-12-31 | 1 | -9/+208 |
|\ | | | | | dyncom: Implement UADD8/UADD16/USUB8/USUB16/UASX/USAX | ||||
| * | dyncom: Implement UADD8/UADD16/USUB8/USUB16/UASX/USAX | Lioncash | 2014-12-31 | 1 | -9/+208 |
| | | |||||
* | | dyncom: Massive refactor | bunnei | 2014-12-31 | 2 | -654/+221 |
| | | |||||
* | | Merge pull request #369 from darkf/mingw_ | bunnei | 2014-12-31 | 1 | -0/+8 |
|\ \ | | | | | | | Fix MinGW build (2) | ||||
| * \ | Fix merge conflicts | darkf | 2014-12-30 | 22 | -9156/+8501 |
| |\ \ | |||||
| * | | | Add comment regarding __WIN32__ in SkyEye code | darkf | 2014-11-29 | 1 | -0/+4 |
| | | | | |||||
| * | | | Fix MinGW build | darkf | 2014-11-29 | 1 | -0/+4 |
| | | | | |||||
* | | | | vfp: Get rid of a few warnings | Lioncash | 2014-12-30 | 2 | -2/+2 |
| |_|/ |/| | | |||||
* | | | vfp: Implement VMOVBRRSS | Lioncash | 2014-12-30 | 3 | -12/+44 |
| | | | |||||
* | | | dyncom: Implement USAT16/SSAT16 | Lioncash | 2014-12-30 | 1 | -2/+61 |
| |/ |/| | |||||
* | | dyncom: Implement USAT/SSAT | bunnei | 2014-12-30 | 3 | -2/+131 |
| | | |||||
* | | dyncom: Various cleanups to match coding style, no functional changes. | bunnei | 2014-12-30 | 5 | -7087/+5962 |
| | | |||||
* | | Merge pull request #361 from lioncash/moreqops | bunnei | 2014-12-29 | 4 | -65/+142 |
|\ \ | | | | | | | dyncom/armemu: Implement QADD8/QSUB8. | ||||
| * | | dyncom: Implement QADD8/QSUB8 | Lioncash | 2014-12-29 | 1 | -32/+42 |
| | | | |||||
| * | | armemu: Implement QADD8/QSUB8 | Lioncash | 2014-12-29 | 3 | -33/+100 |
| | | | |||||
* | | | dyncom: Fix SMLALXY's instruction labels | Lioncash | 2014-12-29 | 1 | -2/+2 |
|/ / | | | | | | | They were erroneously labeled as SMLAL. | ||||
* | | dyncom: Implement UXTB16/UXTAB16 | Lioncash | 2014-12-29 | 1 | -2/+55 |
| | | |||||
* | | Merge pull request #355 from lioncash/simp | bunnei | 2014-12-29 | 1 | -225/+142 |
|\ \ | | | | | | | armemu: Simplify some instructions. | ||||
| * | | armemu: Simplify SSAT/SSAT16/SXTB/SXTAB | Lioncash | 2014-12-28 | 1 | -71/+48 |
| | | | |||||
| * | | armemu: Simplify REV/REV16/SXTH/SXTAH | Lioncash | 2014-12-28 | 1 | -38/+26 |
| | | | |||||
| * | | armemu: Simplify USAT16/UXTB/UXTAB | Lioncash | 2014-12-28 | 1 | -65/+42 |
| | | | |||||
| * | | armemu: Simplify REVSH/UXTH/UXTAH | Lioncash | 2014-12-28 | 1 | -48/+23 |
| | | | |||||
* | | | vfp: Actually make the code somewhat readable | Lioncash | 2014-12-29 | 5 | -1664/+1053 |
| | | | |||||
* | | | dyncom: Implement PKHBT and PKHTB. | bunnei | 2014-12-28 | 1 | -2/+57 |
| | | | |||||
* | | | armemu: Fix PKHTB to do an arithmetic shift and correctly decode immediate field. | bunnei | 2014-12-28 | 1 | -13/+5 |
| | | | |||||
* | | | dyncom: Implement USAD8/USADA8 | Lioncash | 2014-12-28 | 3 | -3/+53 |
| | | | |||||
* | | | Merge pull request #354 from lioncash/usaduflow | bunnei | 2014-12-28 | 3 | -4/+14 |
|\ \ \ | |/ / |/| | | armemu: Fix underflows in USAD8/USADA8 | ||||
| * | | armemu: Fix underflows in USAD8/USADA8 | Lioncash | 2014-12-28 | 3 | -4/+14 |
| | | | | | | | | | | | | Initially reported by xdec. | ||||
* | | | dyncom: Implement UQADD8, UQADD16, UQSUB8, UQSUB16, UQASX, and UQSAX. | Lioncash | 2014-12-27 | 3 | -12/+102 |
| | | | |||||
* | | | armemu: Implement UQADD8, UQADD16, UQSUB16, UQASX, and UQSAX | Lioncash | 2014-12-27 | 3 | -19/+93 |
|/ / | |||||
* | | dyncom: Implement UHADD8, UHADD16, UHSUB8, UHSUB16, UHASX, and UHSAX | Lioncash | 2014-12-27 | 1 | -11/+123 |
| | | |||||
* | | armemu: Implement UHADD8, UHADD16, UHSUB8, UHSUB16, UHASX, and UHSAX | Lioncash | 2014-12-27 | 1 | -2/+73 |
| | | |||||
* | | Merge pull request #339 from bunnei/fixup-gsp-synch | bunnei | 2014-12-26 | 5 | -95/+31 |
|\ \ | | | | | | | Fixup gsp synch | ||||
| * | | ARM: Add a mechanism for faking CPU time elapsed during HLE. | bunnei | 2014-12-26 | 5 | -95/+31 |
| | | | | | | | | | | | | - Also a few cleanups. | ||||
* | | | Merge pull request #343 from lioncash/smmla | bunnei | 2014-12-26 | 1 | -2/+30 |
|\ \ \ | | | | | | | | | armemu: Implement SMMUL, SMMLA, and SMMLS. | ||||
| * | | | armemu: Implement SMMUL, SMMLA, and SMMLS. | Lioncash | 2014-12-25 | 1 | -2/+30 |
| |/ / | |||||
* | | | Merge pull request #341 from lioncash/moresmops | bunnei | 2014-12-26 | 1 | -2/+33 |
|\ \ \ | | | | | | | | | armemu: Implement SMLALD/SMLSLD | ||||
| * | | | armemu: Implement SMLALD/SMLSLD | Lioncash | 2014-12-24 | 1 | -2/+33 |
| |/ / | |||||
* / / | armemu: Fix GE/Q flag setting semantics | Lioncash | 2014-12-24 | 1 | -62/+56 |
|/ / | |||||
* | | armemu: Set the Q flag correctly for much of the other ops | Lioncash | 2014-12-23 | 1 | -8/+8 |
| | | | | | | | | They were setting the old S flag. | ||||
* | | armemu: Set the Q flag properly for SMLAD/SMUAD | Lioncash | 2014-12-23 | 3 | -13/+28 |
| | | |||||
* | | Merge pull request #334 from lioncash/cpsr | bunnei | 2014-12-23 | 1 | -1/+1 |
|\ \ | | | | | | | armemu: Fix retrieval of the CPSR in MRS instructions. | ||||
| * | | armemu: Fix retrieval of the CPSR in MRS instructions. | Lioncash | 2014-12-23 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #335 from lioncash/cpsrcreate | bunnei | 2014-12-23 | 4 | -25/+78 |
|\ \ \ | | | | | | | | | armemu: Emulate the GE and Q flags. | ||||
| * | | | armemu: Properly set the Q flag for SSAT16/USAT16 upon saturation. | Lioncash | 2014-12-23 | 1 | -9/+23 |
| | | | | |||||
| * | | | armemu: Fix SEL | Lioncash | 2014-12-23 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | Needs to use the updated state of the CPSR. | ||||
| * | | | armemu: Fix construction of the CPSR | Lioncash | 2014-12-23 | 4 | -15/+54 |
| |/ / | |||||
* / / | dyncom: Move over QADD16/QASX/QSAX/QSUB16 | Lioncash | 2014-12-22 | 1 | -7/+87 |
|/ / | |||||
* | | Merge pull request #322 from chinhodado/master | bunnei | 2014-12-22 | 3 | -9/+6 |
|\ \ | | | | | | | More warning cleanups | ||||
| * | | More warning cleanups | Chin | 2014-12-21 | 3 | -9/+6 |
| | | | |||||
* | | | dyncom: Move SEL over | Lioncash | 2014-12-22 | 1 | -1/+58 |
| | | | |||||
* | | | Merge pull request #324 from lioncash/dync | bunnei | 2014-12-22 | 1 | -7/+102 |
|\ \ \ | | | | | | | | | dyncom: Move over SASX/SSAX/SADD16/SSUB16 | ||||
| * | | | dyncom: Move over SASX/SSAX/SADD16/SSUB16 | Lioncash | 2014-12-22 | 1 | -7/+102 |
| | | | | |||||
* | | | | Merge pull request #291 from purpasmart96/license | bunnei | 2014-12-21 | 8 | -8/+8 |
|\ \ \ \ | |/ / / |/| | | | License change | ||||
| * | | | License change | purpasmart96 | 2014-12-21 | 8 | -8/+8 |
| | | | | |||||
* | | | | armemu: Implement SADD8/SSUB8 | Lioncash | 2014-12-21 | 1 | -14/+87 |
| |/ / |/| | | |||||
* | | | Merge pull request #296 from lioncash/dyn | bunnei | 2014-12-20 | 1 | -1/+47 |
|\ \ \ | | | | | | | | | dyncom: Implement UMAAL | ||||
| * | | | dyncom: Implement UMAAL | Lioncash | 2014-12-19 | 1 | -1/+47 |
| |/ / | |||||
* | | | Merge pull request #310 from lioncash/ssat16 | bunnei | 2014-12-20 | 1 | -14/+20 |
|\ \ \ | | | | | | | | | armemu: Fix SSAT16. | ||||
| * | | | armemu: Fix SSAT16 | Lioncash | 2014-12-19 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | The lower-bound would never be negative like it should | ||||
| * | | | armemu: Clean up naming and formatting for SSAT16 | Lioncash | 2014-12-19 | 1 | -14/+20 |
| |/ / | |||||
* | | | armemu: Should be using labs for USAD8/USADA8 | Lioncash | 2014-12-20 | 1 | -4/+4 |
| | | | |||||
* | | | Merge pull request #311 from lioncash/usada | bunnei | 2014-12-20 | 1 | -1/+24 |
|\ \ \ | | | | | | | | | armemu: Implement USAD8 and USADA8 | ||||
| * | | | armemu: Implement USAD8 and USADA8 | Lioncash | 2014-12-19 | 1 | -1/+24 |
| | | | | |||||
* | | | | Merge pull request #313 from lioncash/smlsd | bunnei | 2014-12-20 | 1 | -6/+10 |
|\ \ \ \ | | | | | | | | | | | armemu: Implement SMLSD | ||||
| * | | | | armemu: Implement SMLSD | Lioncash | 2014-12-19 | 1 | -6/+10 |
| | |/ / | |/| | | |||||
* | | | | Merge pull request #314 from lioncash/qsax-qasx | bunnei | 2014-12-20 | 1 | -7/+20 |
|\ \ \ \ | | | | | | | | | | | armemu: Implement QASX and QSAX | ||||
| * | | | | armemu: Implement QASX and QSAX | Lioncash | 2014-12-19 | 1 | -7/+20 |
| |/ / / | |||||
* | | | | Merge pull request #294 from lioncash/var | bunnei | 2014-12-19 | 1 | -12/+9 |
|\ \ \ \ | | | | | | | | | | | armemu: Narrow the scope of some variables in handle_v6_insn | ||||
| * | | | | armemu: Narrow the scope of some variables in handle_v6_insn | Lioncash | 2014-12-17 | 1 | -12/+9 |
| | | | | | | | | | | | | | | | | | | | | There's no reason to have these in the outer-most scope. | ||||
* | | | | | Merge pull request #305 from lioncash/paren | bunnei | 2014-12-19 | 1 | -4/+4 |
|\ \ \ \ \ | |_|/ / / |/| | | | | armemu: Get rid of bitwise parenthesis warnings | ||||
| * | | | | armemu: Get rid of bitwise parenthesis warnings | Lioncash | 2014-12-18 | 1 | -4/+4 |
| | |/ / | |/| | | |||||
* | | | | Merge pull request #304 from lioncash/sflags | bunnei | 2014-12-18 | 1 | -4/+29 |
|\ \ \ \ | | | | | | | | | | | armemu: Set GE flags properly for SSUB16, SADD16, SSAX, and SASX. | ||||
| * | | | | armemu: Set GE flags correctly for SSUB16, SADD16, SSAX, and SASX. | Lioncash | 2014-12-18 | 1 | -4/+29 |
| |/ / / | |||||
* | | | | armemu: Fix lower-bounds clamping for USAT16 | Lioncash | 2014-12-18 | 1 | -1/+6 |
| | | | | |||||
* | | | | armemu: More concise names for USAT16-related variables | Lioncash | 2014-12-18 | 1 | -11/+15 |
|/ / / | |||||
* | | | Merge pull request #299 from lioncash/join | bunnei | 2014-12-18 | 1 | -34/+23 |
|\ \ \ | | | | | | | | | Combine SSUB16, SADD16, SASX, and SSAX. | ||||
| * | | | armemu: Combine SSUB16, SADD16, SASX, and SSAX. | Lioncash | 2014-12-18 | 1 | -34/+23 |
| | | | | |||||
* | | | | Merge pull request #298 from lioncash/flags | bunnei | 2014-12-18 | 1 | -4/+22 |
|\ \ \ \ | | | | | | | | | | | armemu: Unset GE flags for UADD8 if results are < 0x100 | ||||
| * | | | | armemu: Unset GE flags for UADD8 if results are < 0x100 | Lioncash | 2014-12-17 | 1 | -4/+22 |
| | | | | | | | | | | | | | | | | | | | | Reference manual states these must be set to zero if this case is true. | ||||
* | | | | | Merge pull request #295 from lioncash/umaal | bunnei | 2014-12-18 | 1 | -3/+25 |
|\ \ \ \ \ | |_|/ / / |/| | | | | armemu: Implement UMAAL | ||||
| * | | | | armemu: Implement UMAAL | Lioncash | 2014-12-17 | 1 | -3/+25 |
| | |/ / | |/| | | |||||
* | | | | Merge pull request #292 from lioncash/backports | bunnei | 2014-12-18 | 1 | -19/+30 |
|\ \ \ \ | | | | | | | | | | | Backport more skyeye fixes from 3dmoo | ||||
| * | | | | armemu: Fix PKHTB | Normmatt | 2014-12-17 | 1 | -6/+12 |
| | | | | | |||||
| * | | | | armemu: Implement REVSH | Normmatt | 2014-12-17 | 1 | -5/+9 |
| | | | | | |||||
| * | | | | armemu: Fix UXTAB/UXTAH | Normmatt | 2014-12-17 | 1 | -4/+4 |
| | | | | | |||||
| * | | | | armemu: Fix SXTAB | Normmatt | 2014-12-17 | 1 | -2/+2 |
| | | | | | |||||
| * | | | | armemu: Fix SXTAH | Normmatt | 2014-12-17 | 1 | -2/+3 |
| |/ / / | |||||
* | / / | armemu: Fix SSUB16 | Lioncash | 2014-12-17 | 1 | -8/+8 |
| |/ / |/| | | | | | | | | | | | | | | | | | Broken from the same reason SADD16 was. The lo part of the result should only be constructed from the lo halfwords of rm and rn. The hi part of the result should only be constructed from the hi halfwords of rm and rn. | ||||
* | | | Merge pull request #293 from lioncash/sops | bunnei | 2014-12-17 | 1 | -8/+9 |
|\ \ \ | | | | | | | | | armemu: Fix SADD16 | ||||
| * | | | armemu: Fix SADD16 | Lioncash | 2014-12-17 | 1 | -8/+9 |
| |/ / | | | | | | | | | | The lo and hi parts of the result were being constructed as a result of hi and lo halfword intermixing from the rm and rn regs. However the lo part of the result should be constructed only from the lo halfwords of rm and rn, and the hi part of the result should only be constructed from the hi halfwords of rm and rn. | ||||
* | | | Merge pull request #287 from lioncash/qaddsub16 | bunnei | 2014-12-17 | 1 | -33/+37 |
|\ \ \ | |/ / |/| | | armemu: Join QADD16/QSUB16 and fix saturation clamping. | ||||
| * | | armemu: Fix lower-bound signed saturation clamping for QADD16/QSUB16. | Lioncash | 2014-12-16 | 1 | -2/+2 |
| | | | |||||
| * | | armemu: Join QADD16 and QSUB16 together. | Lioncash | 2014-12-16 | 1 | -33/+37 |
| | | | | | | | | | | | | The only difference between these ops is one adds and one subtracts. Everything is literally the same. | ||||
* | | | Merge pull request #289 from lioncash/smops | bunnei | 2014-12-17 | 1 | -38/+35 |
|\ \ \ | | | | | | | | | Join SMUAD, SMUSD, and SMLAD ops. Also fix them as well. | ||||
| * | | | armemu: Fix SMUAD, SMUSD, and SMLAD | Lioncash | 2014-12-16 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | Wrong values were being multiplied together. | ||||
| * | | | armemu: Join SMUAD, SMUSD, and SMLAD | Lioncash | 2014-12-16 | 1 | -38/+35 |
| |/ / | |||||
* | | | Merge pull request #290 from lioncash/vsub | bunnei | 2014-12-17 | 1 | -2/+5 |
|\ \ \ | | | | | | | | | armemu: Backport some VFP fixes from 3dmoo. | ||||
| * | | | armemu: Fix FTOUI NaN sign. | Normmatt | 2014-12-16 | 1 | -1/+1 |
| | | | | |||||
| * | | | armemu: Fix FSUBS bug where NaN shouldn't be negated | Normmatt | 2014-12-16 | 1 | -1/+4 |
| |/ / | |||||
* / / | armemu: Implement UXTAB16 | Lioncash | 2014-12-16 | 1 | -10/+25 |
|/ / | |||||
* | | armemu: Fix UXTB16 | Lioncash | 2014-12-15 | 1 | -12/+12 |
| | | | | | | | | Rotation bits are 10 and 11, not 9 and 10. | ||||
* | | Merge pull request #276 from lioncash/decrappify | bunnei | 2014-12-15 | 1 | -306/+169 |
|\ \ | | | | | | | Clean up armdefs.h a little. | ||||
| * | | Clean up armdefs.h | Lioncash | 2014-12-14 | 1 | -306/+169 |
| | | | |||||
* | | | ARM: Pull some SkyEye fixes from 3dmoo. | bunnei | 2014-12-15 | 3 | -419/+485 |
|/ / | |||||
* | | Convert old logging calls to new logging macros | Yuri Kunde Schlesner | 2014-12-13 | 5 | -109/+109 |
| | | |||||
* | | armemu: Fix SSAX | Lioncash | 2014-12-08 | 1 | -1/+1 |
| | | |||||
* | | armemu: Fix SASX | Lioncash | 2014-12-08 | 1 | -1/+1 |
| | | |||||
* | | armemu: Fix parenthesis warnings regarding bitwise ops | Lioncash | 2014-12-08 | 1 | -4/+4 |
| | | |||||
* | | Merge pull request #235 from yuriks/dyncom-map | bunnei | 2014-11-30 | 1 | -33/+15 |
|\ \ | | | | | | | dyncom: Use unordered_map rather than the terrible 2-level bb_map | ||||
| * | | dyncom: Use unordered_map rather than the terrible 2-level bb_map | Yuri Kunde Schlesner | 2014-11-29 | 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. | ||||
* / | arm_dyncom_interpreter: Get rid of unused var warnings | Lioncash | 2014-11-29 | 1 | -4/+2 |
|/ | |||||
* | Remove unused includes to common/thread.h | Emmanuel Gil Peyrot | 2014-11-25 | 1 | -2/+0 |
| | |||||
* | HLE: Revamp error handling throrough the HLE code | Yuri Kunde Schlesner | 2014-11-24 | 1 | -16/+18 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | All service calls in the CTR OS return result codes indicating the success or failure of the call. Previous to this commit, Citra's HLE emulation of services and the kernel universally either ignored errors or returned dummy -1 error codes. This commit makes an initial effort to provide an infrastructure for error reporting and propagation which can be use going forward to make HLE calls accurately return errors as the original system. A few parts of the code have been updated to use the new system where applicable. One part of this effort is the definition of the `ResultCode` type, which provides facilities for constructing and parsing error codes in the structured format used by the CTR. The `ResultVal` type builds on `ResultCode` by providing a container for values returned by function that can report errors. It enforces that correct error checking will be done on function returns by preventing the use of the return value if the function returned an error code. Currently this change is mostly internal since errors are still suppressed on the ARM<->HLE border, as a temporary compatibility hack. As functionality is implemented and tested this hack can be eventually removed. | ||||
* | Change some SkyEye defines to const ints | Yuri Kunde Schlesner | 2014-11-24 | 2 | -34/+16 |
| | | | | | This prevents them from interfering with other constants defined in different namespaces. | ||||
* | Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generated | Emmanuel Gil Peyrot | 2014-11-19 | 7 | -12/+12 |
| | |||||
* | Fix documentation of parameters | Lioncash | 2014-11-18 | 2 | -2/+2 |
| | |||||
* | Merge pull request #194 from lioncash/virt | bunnei | 2014-11-15 | 1 | -1/+1 |
|\ | | | | | ARM_Interface: Make destructor virtual | ||||
| * | ARM_Interface: Make destructor virtual | Lioncash | 2014-11-14 | 1 | -1/+1 |
| | | | | | | | | Fixes some warnings on OSX. | ||||
* | | ARM: Fixed dyncom to use reg15 for PC (this core doesn't use pc variable). | bunnei | 2014-11-12 | 1 | -2/+2 |
| | | | | | | | | - Fixes single stepping in debugger. | ||||
* | | ARM: Removed unnecessary goto with each instruction. | bunnei | 2014-11-12 | 1 | -43/+39 |
| | | |||||
* | | ARM: Fixed several dyncom bugs. | bunnei | 2014-11-12 | 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. | ||||
* | | Fix compilation errors | Sean Maas | 2014-11-03 | 1 | -2/+2 |
| | | |||||
* | | ARM: Merged additional ARMv6 instructions implemented by 3dmoo. | bunnei | 2014-11-02 | 1 | -42/+234 |
| | | |||||
* | | ARM: Merge latest VFP fixes from 3dmoo team. | bunnei | 2014-11-02 | 4 | -2096/+2388 |
| | | |||||
* | | Fix VFP compilation errors with gcc | Yuri Kunde Schlesner | 2014-10-31 | 1 | -12/+12 |
| | | |||||
* | | Merge pull request #153 from yuriks/add-override | bunnei | 2014-10-28 | 2 | -18/+18 |
|\ \ | | | | | | | Add override keyword where appropriate | ||||
| * | | Add `override` keyword through the code. | Yuri Kunde Schlesner | 2014-10-26 | 2 | -18/+18 |
| | | | | | | | | | | | | This was automated using `clang-modernize`. | ||||
* | | | vfp_helper: Get rid of integer type redefinitions | Lioncash | 2014-10-26 | 1 | -7/+1 |
|/ / | |||||
* | | ARM: Removed unnecessary and unused SkyEye MMU code. | bunnei | 2014-10-25 | 21 | -7728/+326 |
| | | | | | | | | Added license header back in. I originally removed this because I mostly rewrote the file, but meh | ||||
* | | ARM: Removed unused armos code from SkyEye. | bunnei | 2014-10-25 | 3 | -746/+0 |
| | | |||||
* | | ARM: Updated dyncom core to use fast label lookup table on clang. | bunnei | 2014-10-25 | 1 | -3/+7 |
| | | |||||
* | | ARM: Integrate SkyEye faster "dyncom" interpreter. | bunnei | 2014-10-25 | 18 | -50/+8216 |
| | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | ARM: Reorganized file structure to move shared SkyEye code to a more common area. | bunnei | 2014-10-25 | 31 | -63/+63 |
| | | | | | | | | Removed s_ prefix | ||||
* | | Merge pull request #97 from archshift/cleanup | bunnei | 2014-09-14 | 1 | -1/+1 |
|\ \ | | | | | | | Small, general code cleanup | ||||
| * | | Dead code removal: video_core.cpp, load_symbol_map.cpp | archshift | 2014-09-07 | 1 | -1/+1 |
| | | | |||||
* | | | Merge pull request #99 from archshift/ext-check | bunnei | 2014-09-11 | 1 | -39/+39 |
|\ \ \ | | | | | | | | | loader.cpp: improved file extension checking, made Upper/LowerStr useful, moved string_util into Common namespace | ||||
| * | | | Added string_util to common, small changes in loader.cpp | archshift | 2014-09-09 | 1 | -39/+39 |
| | |/ | |/| | |||||
* / | | core: Prune redundant includes | archshift | 2014-09-09 | 1 | -1/+0 |
|/ / | |||||
* / | core: Make the ARM disassembler use std::string internally | Lioncash | 2014-09-06 | 3 | -189/+143 |
|/ | |||||
* | Threading: Fix thread starting to execute first instruction correctly. | bunnei | 2014-08-28 | 1 | -1/+1 |
| | |||||
* | ARM: Remove a forgotten const in vfp. | Emmanuel Gil Peyrot | 2014-08-20 | 2 | -2/+2 |
| | |||||
* | ARM: Synchronize Citra's SkyEye core with 3dmoo's. | bunnei | 2014-07-24 | 6 | -5919/+5303 |
| | |||||
* | core: Kill off type redefenitions in armdefs.h | Lioncash | 2014-07-20 | 1 | -7/+0 |
| | |||||
* | Merge branch 'threading' of https://github.com/bunnei/citra | bunnei | 2014-06-14 | 4 | -20/+18 |
|\ | | | | | | | | | | | Conflicts: src/core/hle/function_wrappers.h src/core/hle/service/gsp.cpp | ||||
| * | arm: fixed a bug where ARM_Interpreter::ExecuteInstructions was actually executing one more instruction than expected | bunnei | 2014-06-05 | 1 | -1/+1 |
| | | |||||
| * | arm: fixed bug in how thread context switch occurs with SkyEye | bunnei | 2014-06-05 | 1 | -2/+5 |
| | | |||||
| * | arm: reverting a change made with cb0663de - this has to have been a typo! | bunnei | 2014-06-05 | 1 | -1/+1 |
| | | |||||
| * | arm: added option to prepare CPU core (while mid-instruction) for thread reschedule | bunnei | 2014-06-02 | 3 | -0/+11 |
| | | |||||
| * | arm: removed unnecessary code when calling SVC from skyeye | bunnei | 2014-05-30 | 1 | -16/+0 |
| | | |||||
* | | Added 'this' reference to num_instructions field so it's properly updated,as before the method was affecting the local method parameter rather than the class field | Disruption | 2014-06-01 | 1 | -1/+1 |
| | | |||||
* | | Merge branch 'threading' | bunnei | 2014-05-23 | 7 | -36/+119 |
|\| | |||||
| * | arm_interpreter: fixed load context to currently resume a thread | bunnei | 2014-05-23 | 1 | -1/+4 |
| | | |||||
| * | arm: removed include of windows.h from armdefs.h to arminit.c (only module that uses it) | bunnei | 2014-05-21 | 2 | -4/+3 |
| | | |||||
| * | armemu: missed rename of "Syscall" to "SVC" | bunnei | 2014-05-21 | 1 | -1/+1 |
| | | |||||
| * | ARM_Interpreter/ARM_Interface: Fixed member variable naming to be consistent with style guide | bunnei | 2014-05-21 | 3 | -45/+45 |
| | | |||||
| * | ARM_Interface: added SaveContext and LoadContext functions for HLE thread switching | bunnei | 2014-05-21 | 3 | -1/+63 |
| | | |||||
| * | VFP: disable DBG messages because they spam the console with unimportant skyeye junk | bunnei | 2014-05-20 | 1 | -1/+1 |
| | | |||||
| * | ignore thumbemu 0xDEADCODE debugging catch on MCR | bunnei | 2014-05-17 | 1 | -2/+1 |
| | | |||||
| * | Merge branch 'master' into threading | bunnei | 2014-05-17 | 5 | -20/+30 |
| |\ | |||||
| * \ | Merge master into threading to add support for VFP | bunnei | 2014-05-17 | 28 | -136/+14183 |
| |\ \ | |||||
| * | | | added option to set CPSR register to arm_interface | bunnei | 2014-05-12 | 3 | -0/+20 |
| | | | | |||||
* | | | | Merge pull request #2 from archshift/issue-7-fix | bunnei | 2014-05-20 | 4 | -10/+10 |
|\ \ \ \ | |_|_|/ |/| | | | Fixes issues with building Citra on OSX | ||||
| * | | | Fixed vfp issues | archshift | 2014-05-17 | 4 | -10/+10 |
| | |/ | |/| | |||||
* / | | updated how we call ARM core to make things much faster | bunnei | 2014-05-17 | 5 | -20/+30 |
|/ / | |||||
* | | same fix as last commit - just for vfpsingle.cpp | bunnei | 2014-05-17 | 1 | -2/+2 |
| | | |||||
* | | another VFP fix for GCC | bunnei | 2014-05-17 | 1 | -2/+2 |
| | | |||||
* | | fixed VFP DBG log for GCC | bunnei | 2014-05-17 | 1 | -1/+1 |
| | | |||||
* | | - reenabled MCR and MRC functions now that VFP is attached | bunnei | 2014-05-17 | 2 | -95/+92 |
| | | | | | | | | - removed HLE::CallMCR function (was pointless) | ||||
* | | - removed unused stubbed out code | bunnei | 2014-05-17 | 5 | -33/+27 |
| | | | | | | | | | | - fixed some compiler issues with xscale_copro when porting code to Windows - fixed some #include's | ||||
* | | added maverick.cpp to ARM core from skyeye | bunnei | 2014-05-16 | 1 | -0/+1206 |
| | | |||||
* | | fixed includes | bunnei | 2014-05-16 | 1 | -2/+2 |
| | | |||||
* | | enabled CP_ACCESS_ALLOWED | bunnei | 2014-05-16 | 1 | -6/+4 |
| | | |||||
* | | fixed include path | bunnei | 2014-05-16 | 1 | -1/+1 |
| | | |||||
* | | removed undefined function ARMul_ConsolePrint | bunnei | 2014-05-16 | 1 | -1/+1 |
| | | |||||
* | | added missing armcopro from skyeye | bunnei | 2014-05-16 | 3 | -251/+1093 |
| | | |||||
* | | added missing skyeye mmu code | bunnei | 2014-05-16 | 9 | -17/+3272 |
| | | |||||
* | | fixed armmmu imports | bunnei | 2014-05-16 | 1 | -5/+5 |
| | | |||||
* | | - moved mmu to arm/interpreter folder | bunnei | 2014-05-16 | 13 | -0/+8755 |
|/ | | | | - added initial VFP code from skyeye | ||||
* | - disable strict alignment on LDRD/STRD | bunnei | 2014-05-07 | 1 | -17/+22 |
| | | | | - handle RD in STREX/STREXB | ||||
* | commented out useless debug logs that just spammed console | bunnei | 2014-05-06 | 1 | -3/+3 |
| | |||||
* | - added CallMCR function to coprocessor HLE module | bunnei | 2014-05-02 | 1 | -22/+23 |
| | | | | - moved instruction decoding to coprocessor HLE module | ||||
* | renamed hle "mrc" module to "coprocessor" | bunnei | 2014-05-02 | 1 | -8/+8 |
| | |||||
* | added a module to load symbol map files for debugging | bunnei | 2014-05-01 | 2 | -0/+46 |
| | |||||
* | removed DISALLOW_COPY_AND_ASSIGN in favor of NonCopyable class | bunnei | 2014-04-28 | 2 | -3/+1 |
| | |||||
* | removed commented out line - this was for an unimplemented MRC call, no longer need to leave this here | bunnei | 2014-04-28 | 1 | -1/+0 |
| | |||||
* | moved HLE::MRC to its own module, added support for catching data synchronization barrier command | bunnei | 2014-04-25 | 2 | -3/+5 |
| | |||||
* | added disassembly to unimplemented instruction | bunnei | 2014-04-25 | 1 | -1/+6 |
| | |||||
* | fixes to build on linux | bunnei | 2014-04-23 | 1 | -0/+2 |
| | |||||
* | - added HLE to connect to "srv:" service | bunnei | 2014-04-13 | 1 | -33/+35 |
| | | | | | | - added a manager for keeping track of services/ports - added a memory mapped region for memory accessed by HLE - added HLE for GetThreadCommandBuffer function | ||||
* | hacked CPU interpreter to ignore branch on SVC instruction (as we are HLEing this...) | bunnei | 2014-04-12 | 1 | -2/+6 |
| | |||||
* | added a SETABORT method that does not update LR (for HLE'd SVC that does not jump appcore CPU to an IRQ vector) | bunnei | 2014-04-12 | 1 | -0/+11 |
| | |||||
* | base code to call a syscall from ARM11 appcore | bunnei | 2014-04-11 | 1 | -0/+3 |
| | |||||
* | missed this file with commit 95e5436f | bunnei | 2014-04-11 | 1 | -1/+10 |
| | |||||
* | cleaned up arm_interface, added a setter to set registers for use with HLE return values | bunnei | 2014-04-11 | 2 | -6/+70 |
| | |||||
* | fixed licensing and updated code style naming for arm_interface/arm_interpreter frontend module | bunnei | 2014-04-09 | 3 | -94/+57 |
| | |||||
* | fixed project includes to use new directory structure | bunnei | 2014-04-09 | 10 | -27/+27 |
| | |||||
* | got rid of 'src' folders in each sub-project | bunnei | 2014-04-09 | 25 | -0/+15528 |