summaryrefslogtreecommitdiffstats
path: root/src/core/arm/skyeye_common (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Clean-up includesYuri Kunde Schlesner2015-05-071-0/+2
|
* Dyncom: Move cream cache to ARMul_State.bunnei2015-05-021-0/+6
|
* dyncom: Remove more unused/unnecessary codeLioncash2015-04-202-64/+1
| | | | Gets rid of a sizeable amount of stuff in armdefs.
* dyncom: Remove unused/unnecessary VFP cruftLioncash2015-04-184-671/+7
|
* Core_ARM11: Replace debug prints with our own logging functions in vfpsingle.Emmanuel Gil Peyrot2015-04-142-39/+36
|
* dyncom: Remove unnecessary enum and typedefLioncash2015-04-071-25/+0
| | | | Also fixes descriptions in the process.
* vfp: Make the FPSID values match the MPCoreLioncash2015-04-061-7/+7
|
* vfp: Get rid of the VFP_OFFSET macroLioncash2015-04-065-64/+69
|
* Move CP15 enum definitions into their own enum.Lioncash2015-04-062-23/+19
| | | | Also gets rid of preprocessor mumbo-jumbo
* dyncom: Move CP15 register writing into its own function.Lioncash2015-04-022-0/+34
| | | | Also implements writing to the rest of the ARM11 MPCore CP15 register set.
* dyncom: Move CP15 register reading into its own function.Lioncash2015-04-022-5/+54
| | | | Keeps everything contained. Added all supported readable registers in an ARM11 MPCore.
* dyncom: Migrate InAPrivilegedMode to armsuppLioncash2015-03-261-0/+1
| | | | It's a generic helper function, so it should be here anyway.
* armmmu: Remove unnecessary enum valuesLioncash2015-03-211-30/+20
| | | | We don't need to care about XScale or Intel specific ARM stuff.
* dyncom: Make Load/Store instructions support big endianLioncash2015-03-173-30/+130
|
* vfp: Get rid of warningsLioncash2015-03-042-4/+4
|
* arm: Remove unnecessary booleansLioncash2015-02-251-18/+5
| | | | We don't care about any of these.
* vfpinstr: Fix trivial signed/unsigned mismatch warningsLioncash2015-02-181-4/+4
|
* vfpdouble: Use %p for printing pointer addresses.Lioncash2015-02-151-2/+2
|
* arm: Set the A bit on reset.Lioncash2015-02-151-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 functionsLioncash2015-02-131-32/+32
|
* arm: General cleanupLioncash2015-02-136-129/+57
| | | | | | | - 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 initializationLioncash2015-02-131-2/+2
|
* dyncom: Clean up the constructorLioncash2015-02-131-5/+0
| | | | Some function calls aren't necessary and would be handled by regular initialization routines.
* arm: Remove ARMul_EmulateInitLioncash2015-02-122-9/+0
| | | | This was only used for armemu, which has since been removed. Removed components related to this as well.
* armdefs: Remove unnecessary extern CLioncash2015-02-121-6/+0
|
* arm: Remove ARM26 support.Lioncash2015-02-111-20/+0
| | | | This will never be used. 32-bit is the norm.
* arm: Get rid of some magic constants. Specify proper ARM mode.Lioncash2015-02-111-0/+7
| | | | Initially, we were starting the emulator in USER26MODE, which is incorrect, this should be USER32MODE.
* arm: Change some more constants into enumsLioncash2015-02-112-21/+30
|
* arm: Remove TRUE/FALSE definesLioncash2015-02-102-16/+10
| | | | | - Removed the Debug parameter from ARMul_State since it isn't used. - Changed ARMul_CoProInit to a void function. It always returned true.
* Merge pull request #553 from lioncash/denormbunnei2015-02-102-0/+6
|\ | | | | vfp: Normalize accumulator for multiply accumulate instructions
| * vfp: Normalize accumulator for multiply accumulate instructionsLioncash2015-02-102-0/+6
| |
* | dyncom: Add more regs to MCR/MRCLioncash2015-02-101-1/+3
|/ | | | Adds the registers that were left out of some coprocessor ranges.
* vfpdouble: Fix the FTOUI NaN sign settingLioncash2015-02-091-1/+1
| | | | This was fixed for vfpsingle, but not vfpdouble
* Throw more unused/unnecessary VFP code outLioncash2015-02-093-215/+1
|
* vfp_helper: Convert some flags to enums. Throw out more duplicated FPSCR stuffLioncash2015-02-094-192/+153
|
* vfp_helper: Normalize tabs to spacesLioncash2015-02-091-172/+170
|
* vfp_helper: Remove unnecessary extern C blocksLioncash2015-02-061-17/+1
|
* vfp: Move FPSID, FPEXC, and FPSCR values over to enums.Lioncash2015-02-063-150/+104
| | | | Also got rid of duplicate definitions of some of these values.
* Merge pull request #537 from lioncash/vfpbunnei2015-02-041-6/+6
|\ | | | | vfp: Fix VCVT
| * vfp: Fix VCVTLioncash2015-02-041-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.
* | vfp: Throw out unused codeLioncash2015-02-042-1765/+0
|/
* Merge pull request #525 from lioncash/armwarnbunnei2015-02-012-6/+3
|\ | | | | vfp: Get rid of some compile warnings
| * vfp: Get rid of some compile warningsLioncash2015-02-012-6/+3
| |
* | arm: Clean up ARMul_StateLioncash2015-02-011-110/+71
|/ | | | Remove unnecessary/unused struct variables.
* arm: Adios armemuLioncash2015-02-013-821/+108
|
* arm: Move headers over to pragma onceLioncash2015-01-305-23/+9
|
* arm: Get rid of armcpu.h and skyeye_types.hLioncash2015-01-302-109/+0
|
* arm: Clean out armos.h and armmmu.hLioncash2015-01-302-181/+23
|
* arm: Throw out a lot of unnecessary codeLioncash2015-01-303-279/+20
|
* armdefs: Move some defines over to enumsLioncash2015-01-301-131/+112
|
* Update vfp.cppbunnei2015-01-271-1/+1
| | | VFP: Changed a debug log to trace.
* Merge pull request #410 from chinhodado/cleanupbunnei2015-01-244-432/+151
|\ | | | | Cleanup: Logging in Core
| * Cleanup: Logging in CoreChin2015-01-194-432/+151
| |
* | vfp: Clean up vertical alignment for instructionsLioncash2015-01-231-131/+125
| |
* | dyncom: Clarify precedence for ternary statementsLioncash2015-01-202-2/+2
|/
* vfp: Remove dead codeLioncash2015-01-121-50/+14
|
* dyncom: Add a helper function for addition with a carryLioncash2015-01-121-0/+1
|
* Merge pull request #417 from kevinhartman/exclusive-tag-fixbunnei2015-01-061-11/+11
|\ | | | | Added exclusive reservation granule from ARMv7 spec to dyncom...
| * Added exclusive reservation granule from ARMv7 spec to dyncom to protect LDR/STREX.Kevin Hartman2015-01-061-11/+11
| |
* | Merge pull request #418 from lioncash/qdbunnei2015-01-052-5/+6
|\ \ | | | | | | dyncom: Implement QADD/QSUB/QDADD/QDSUB
| * | dyncom: Implement QADD/QSUB/QDADD/QDSUBLioncash2015-01-052-5/+6
| |/
* / skyeye: Remove duplicate typedefsLioncash2015-01-041-27/+3
|/ | | | citra already has its own typedefs like this.
* VFP: Minor cleanup, functionally the same.bunnei2015-01-031-2587/+2476
|
* dyncom: Implement SMLAD/SMUAD/SMLSD/SMUSDLioncash2015-01-032-1/+2
|
* dyncom: Massive refactorbunnei2014-12-311-140/+30
|
* vfp: Get rid of a few warningsLioncash2014-12-302-2/+2
|
* vfp: Implement VMOVBRRSSLioncash2014-12-303-12/+44
|
* dyncom: Implement USAT/SSATbunnei2014-12-301-0/+2
|
* dyncom: Various cleanups to match coding style, no functional changes.bunnei2014-12-301-32/+0
|
* armemu: Implement QADD8/QSUB8Lioncash2014-12-291-0/+5
|
* vfp: Actually make the code somewhat readableLioncash2014-12-293-1650/+944
|
* dyncom: Implement USAD8/USADA8Lioncash2014-12-282-1/+1
|
* Merge pull request #354 from lioncash/usaduflowbunnei2014-12-281-0/+1
|\ | | | | armemu: Fix underflows in USAD8/USADA8
| * armemu: Fix underflows in USAD8/USADA8Lioncash2014-12-281-0/+1
| | | | | | | | Initially reported by xdec.
* | dyncom: Implement UQADD8, UQADD16, UQSUB8, UQSUB16, UQASX, and UQSAX.Lioncash2014-12-272-4/+5
| |
* | armemu: Implement UQADD8, UQADD16, UQSUB16, UQASX, and UQSAXLioncash2014-12-271-0/+4
|/
* armemu: Set the Q flag properly for SMLAD/SMUADLioncash2014-12-231-0/+1
|
* armemu: Fix construction of the CPSRLioncash2014-12-232-4/+5
|
* armemu: Fix FTOUI NaN sign.Normmatt2014-12-161-1/+1
|
* armemu: Fix FSUBS bug where NaN shouldn't be negatedNormmatt2014-12-161-1/+4
|
* Merge pull request #276 from lioncash/decrappifybunnei2014-12-151-306/+169
|\ | | | | Clean up armdefs.h a little.
| * Clean up armdefs.hLioncash2014-12-141-306/+169
| |
* | ARM: Pull some SkyEye fixes from 3dmoo.bunnei2014-12-152-4/+4
|/
* Convert old logging calls to new logging macrosYuri Kunde Schlesner2014-12-131-3/+1
|
* Remove unused includes to common/thread.hEmmanuel Gil Peyrot2014-11-251-2/+0
|
* HLE: Revamp error handling throrough the HLE codeYuri Kunde Schlesner2014-11-241-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 intsYuri Kunde Schlesner2014-11-242-34/+16
| | | | | This prevents them from interfering with other constants defined in different namespaces.
* Fix compilation errorsSean Maas2014-11-031-2/+2
|
* ARM: Merge latest VFP fixes from 3dmoo team.bunnei2014-11-024-2096/+2388
|
* Fix VFP compilation errors with gccYuri Kunde Schlesner2014-10-311-12/+12
|
* vfp_helper: Get rid of integer type redefinitionsLioncash2014-10-261-7/+1
|
* ARM: Removed unnecessary and unused SkyEye MMU code.bunnei2014-10-252-118/+0
| | | | Added license header back in. I originally removed this because I mostly rewrote the file, but meh
* ARM: Integrate SkyEye faster "dyncom" interpreter.bunnei2014-10-256-38/+87
| | | | | | | | | | 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.bunnei2014-10-2514-0/+11033
Removed s_ prefix