summaryrefslogtreecommitdiffstats
path: root/src/core/arm (follow)
Commit message (Collapse)AuthorAgeFilesLines
* vfp: Throw out unused codeLioncash2015-02-042-1765/+0
|
* core: Fix some warnings on OSXLioncash2015-02-031-2/+4
|
* 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-013-136/+83
|/ | | | Remove unnecessary/unused struct variables.
* arm: Adios armemuLioncash2015-02-0112-8576/+164
|
* dyncom: clean up arm_dyncom_dec.hLioncash2015-01-301-43/+2
|
* arm: Move headers over to pragma onceLioncash2015-01-307-31/+11
|
* arm: Get rid of armcpu.h and skyeye_types.hLioncash2015-01-305-113/+0
|
* arm: Clean out armos.h and armmmu.hLioncash2015-01-302-181/+23
|
* arm: Throw out a lot of unnecessary codeLioncash2015-01-306-1536/+56
|
* armdefs: Move some defines over to enumsLioncash2015-01-301-131/+112
|
* dyncom: Minor cleanupLioncash2015-01-271-126/+137
| | | | Narrow scopes for the instruction variables. Remove unnecessary parentheses.
* Update vfp.cppbunnei2015-01-271-1/+1
| | | VFP: Changed a debug log to trace.
* Merge pull request #410 from chinhodado/cleanupbunnei2015-01-245-483/+157
|\ | | | | Cleanup: Logging in Core
| * Cleanup: Logging in CoreChin2015-01-195-483/+157
| |
* | vfp: Clean up vertical alignment for instructionsLioncash2015-01-231-131/+125
| |
* | dyncom: Minor cleanupLioncash2015-01-221-282/+270
| | | | | | | | Removes some unused macros and cleans up indentation inconsistencies
* | dyncom: Clarify precedence for ternary statementsLioncash2015-01-203-3/+3
| |
* | dyncom: Implement missing shifts in ScaledRegisterPostIndexed, etcLioncash2015-01-191-7/+33
|/
* dyncom: Handle the ARM A2 encoding of STRT/LDRTLioncash2015-01-171-10/+24
| | | | These were also missing the shifted register case.
* dyncom: Handle the ARM A2 encoding of LDRBT/STRBT.Lioncash2015-01-171-17/+15
|
* vfp: Remove dead codeLioncash2015-01-121-50/+14
|
* dyncom: Fix 32-bit ASR shifts for immediatesLioncash2015-01-121-5/+3
|
* dyncom: Remove unused flag macrosLioncash2015-01-121-15/+3
|
* dyncom: Get rid of unnecessary outer-scope variables in InterpreterMainLoopLioncash2015-01-121-97/+108
|
* dyncom: Fix overflow flag setting for ADD/RSB/RSC/SUB/SBCLioncash2015-01-121-38/+41
| | | | Also cleans up CMN, and CMP.
* dyncom: Add a helper function for addition with a carryLioncash2015-01-123-12/+26
|
* dyncom: Fix ADC overflow flag settingLioncash2015-01-121-8/+12
|
* dyncom: Fix conditional execution of MSRLioncash2015-01-121-29/+31
|
* Move ThreadContext to core/core.h and deal with the falloutYuri Kunde Schlesner2015-01-095-11/+16
|
* DynCom: Add a comment to GetTicks.Subv2015-01-091-0/+1
|
* Timing: Use CoreTiming::GetTicks to keep track of ticks.Subv2015-01-092-6/+2
| | | | This will keep track of idle ticks for us, and fixes some tickcount-related issues
* dyncom: Fix UMAALLioncash2015-01-081-4/+4
| | | | These need to be done as a 64-bit operation.
* Merge pull request #442 from lioncash/smulbunnei2015-01-071-10/+7
|\ | | | | dyncom: Fix SMULWB/SMULWT
| * dyncom: Fix SMULWB/SMULWTLioncash2015-01-071-10/+7
| | | | | | | | Wasn't doing proper sign-extension
* | Merge pull request #425 from Subv/coretimingbunnei2015-01-072-1/+9
|\ \ | |/ |/| Ported the CoreTiming namespace from PPSSPP
| * CoreTiming: Ported the CoreTiming namespace from PPSSPPSubv2015-01-072-1/+9
| | | | | | | | | | | | Implemented the required calls to make it work. CoreTiming: Added a new logging class Core_Timing.
* | Merge pull request #438 from lioncash/swpbunnei2015-01-071-0/+1
|\ \ | | | | | | dyncom: Fix SWPB
| * | dyncom: Fix SWPBLioncash2015-01-071-0/+1
| | |
* | | dyncom: Move over SMLALXYLioncash2015-01-071-1/+56
|/ /
* | Merge pull request #417 from kevinhartman/exclusive-tag-fixbunnei2015-01-062-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 Hartman2015-01-062-16/+18
| |
* | dyncom: Partially emulate BXJLioncash2015-01-051-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/SMLATTLioncash2015-01-051-1/+2
| | | | | | | | Easy skyeye todo fix.
* | Merge pull request #418 from lioncash/qdbunnei2015-01-054-25/+117
|\ \ | | | | | | dyncom: Implement QADD/QSUB/QDADD/QDSUB
| * | dyncom: Implement QADD/QSUB/QDADD/QDSUBLioncash2015-01-054-25/+117
| | |
* | | skyeye: Remove duplicate typedefsLioncash2015-01-044-41/+17
|/ / | | | | | | citra already has its own typedefs like this.
* | Merge pull request #398 from lioncash/smbunnei2015-01-031-1/+43
|\ \ | |/ |/| dyncom: Implement SMLAW
| * dyncom: Implement SMLAWLioncash2015-01-031-1/+43
| |
* | VFP: Minor cleanup, functionally the same.bunnei2015-01-031-2587/+2476
|/
* Merge pull request #395 from lioncash/revbunnei2015-01-031-45/+45
|\ | | | | dyncom: Implement REVSH
| * dyncom: Implement REVSHLioncash2015-01-031-45/+45
| | | | | | | | Also joins the REV ops into one common place.
* | dyncom: Implement SMLALD/SMLSLDLioncash2015-01-031-3/+72
|/
* Merge pull request #392 from lioncash/smbunnei2015-01-031-3/+64
|\ | | | | dyncom: Implement SMMLA/SMMUL/SMMLS
| * dyncom: Implement SMMLA/SMMUL/SMMLSLioncash2015-01-031-3/+64
| |
* | dyncom: Implemented LDREXD/STREXD/LDREXH/STREXHbunnei2015-01-033-227/+282
|/
* Merge pull request #390 from lioncash/wutbunnei2015-01-031-27/+0
|\ | | | | dyncom: Remove dead function InterpreterInitInstLength
| * dyncom: Remove dead function InterpreterInitInstLengthLioncash2015-01-031-27/+0
| | | | | | | | Technically eliminates two memory leaks as well.
* | armemu: Fix missing Q flag check for SMLSD.Lioncash2015-01-031-2/+6
| |
* | dyncom: Implement SMLAD/SMUAD/SMLSD/SMUSDLioncash2015-01-035-50/+84
|/
* dyncom: Implement SXTAB16 and SXTB16Lioncash2015-01-021-3/+58
|
* Merge pull request #379 from lioncash/shbunnei2015-01-021-8/+110
|\ | | | | dyncom: Implement SHADD8/SHADD16/SHSUB8/SHSUB16/SHASX/SHSAX
| * dyncom: Implement SHADD8/SHADD16/SHSUB8/SHSUB16/SHASX/SHSAXLioncash2015-01-011-8/+110
| |
* | Fix SADD8/SSUB8 in the armemuLioncash2015-01-011-50/+28
| |
* | dyncom: Implement SADD8/SSUB8Lioncash2015-01-011-55/+108
|/
* Merge pull request #375 from lioncash/uopsbunnei2014-12-311-9/+208
|\ | | | | dyncom: Implement UADD8/UADD16/USUB8/USUB16/UASX/USAX
| * dyncom: Implement UADD8/UADD16/USUB8/USUB16/UASX/USAXLioncash2014-12-311-9/+208
| |
* | dyncom: Massive refactorbunnei2014-12-312-654/+221
| |
* | Merge pull request #369 from darkf/mingw_bunnei2014-12-311-0/+8
|\ \ | | | | | | Fix MinGW build (2)
| * \ Fix merge conflictsdarkf2014-12-3022-9156/+8501
| |\ \
| * | | Add comment regarding __WIN32__ in SkyEye codedarkf2014-11-291-0/+4
| | | |
| * | | Fix MinGW builddarkf2014-11-291-0/+4
| | | |
* | | | vfp: Get rid of a few warningsLioncash2014-12-302-2/+2
| |_|/ |/| |
* | | vfp: Implement VMOVBRRSSLioncash2014-12-303-12/+44
| | |
* | | dyncom: Implement USAT16/SSAT16Lioncash2014-12-301-2/+61
| |/ |/|
* | dyncom: Implement USAT/SSATbunnei2014-12-303-2/+131
| |
* | dyncom: Various cleanups to match coding style, no functional changes.bunnei2014-12-305-7087/+5962
| |
* | Merge pull request #361 from lioncash/moreqopsbunnei2014-12-294-65/+142
|\ \ | | | | | | dyncom/armemu: Implement QADD8/QSUB8.
| * | dyncom: Implement QADD8/QSUB8Lioncash2014-12-291-32/+42
| | |
| * | armemu: Implement QADD8/QSUB8Lioncash2014-12-293-33/+100
| | |
* | | dyncom: Fix SMLALXY's instruction labelsLioncash2014-12-291-2/+2
|/ / | | | | | | They were erroneously labeled as SMLAL.
* | dyncom: Implement UXTB16/UXTAB16Lioncash2014-12-291-2/+55
| |
* | Merge pull request #355 from lioncash/simpbunnei2014-12-291-225/+142
|\ \ | | | | | | armemu: Simplify some instructions.
| * | armemu: Simplify SSAT/SSAT16/SXTB/SXTABLioncash2014-12-281-71/+48
| | |
| * | armemu: Simplify REV/REV16/SXTH/SXTAHLioncash2014-12-281-38/+26
| | |
| * | armemu: Simplify USAT16/UXTB/UXTABLioncash2014-12-281-65/+42
| | |
| * | armemu: Simplify REVSH/UXTH/UXTAHLioncash2014-12-281-48/+23
| | |
* | | vfp: Actually make the code somewhat readableLioncash2014-12-295-1664/+1053
| | |
* | | dyncom: Implement PKHBT and PKHTB.bunnei2014-12-281-2/+57
| | |
* | | armemu: Fix PKHTB to do an arithmetic shift and correctly decode immediate field.bunnei2014-12-281-13/+5
| | |
* | | dyncom: Implement USAD8/USADA8Lioncash2014-12-283-3/+53
| | |
* | | Merge pull request #354 from lioncash/usaduflowbunnei2014-12-283-4/+14
|\ \ \ | |/ / |/| | armemu: Fix underflows in USAD8/USADA8
| * | armemu: Fix underflows in USAD8/USADA8Lioncash2014-12-283-4/+14
| | | | | | | | | | | | Initially reported by xdec.
* | | dyncom: Implement UQADD8, UQADD16, UQSUB8, UQSUB16, UQASX, and UQSAX.Lioncash2014-12-273-12/+102
| | |
* | | armemu: Implement UQADD8, UQADD16, UQSUB16, UQASX, and UQSAXLioncash2014-12-273-19/+93
|/ /
* | dyncom: Implement UHADD8, UHADD16, UHSUB8, UHSUB16, UHASX, and UHSAXLioncash2014-12-271-11/+123
| |
* | armemu: Implement UHADD8, UHADD16, UHSUB8, UHSUB16, UHASX, and UHSAXLioncash2014-12-271-2/+73
| |
* | Merge pull request #339 from bunnei/fixup-gsp-synchbunnei2014-12-265-95/+31
|\ \ | | | | | | Fixup gsp synch
| * | ARM: Add a mechanism for faking CPU time elapsed during HLE.bunnei2014-12-265-95/+31
| | | | | | | | | | | | - Also a few cleanups.
* | | Merge pull request #343 from lioncash/smmlabunnei2014-12-261-2/+30
|\ \ \ | | | | | | | | armemu: Implement SMMUL, SMMLA, and SMMLS.
| * | | armemu: Implement SMMUL, SMMLA, and SMMLS.Lioncash2014-12-251-2/+30
| |/ /
* | | Merge pull request #341 from lioncash/moresmopsbunnei2014-12-261-2/+33
|\ \ \ | | | | | | | | armemu: Implement SMLALD/SMLSLD
| * | | armemu: Implement SMLALD/SMLSLDLioncash2014-12-241-2/+33
| |/ /
* / / armemu: Fix GE/Q flag setting semanticsLioncash2014-12-241-62/+56
|/ /
* | armemu: Set the Q flag correctly for much of the other opsLioncash2014-12-231-8/+8
| | | | | | | | They were setting the old S flag.
* | armemu: Set the Q flag properly for SMLAD/SMUADLioncash2014-12-233-13/+28
| |
* | Merge pull request #334 from lioncash/cpsrbunnei2014-12-231-1/+1
|\ \ | | | | | | armemu: Fix retrieval of the CPSR in MRS instructions.
| * | armemu: Fix retrieval of the CPSR in MRS instructions.Lioncash2014-12-231-1/+1
| | |
* | | Merge pull request #335 from lioncash/cpsrcreatebunnei2014-12-234-25/+78
|\ \ \ | | | | | | | | armemu: Emulate the GE and Q flags.
| * | | armemu: Properly set the Q flag for SSAT16/USAT16 upon saturation.Lioncash2014-12-231-9/+23
| | | |
| * | | armemu: Fix SELLioncash2014-12-231-1/+1
| | | | | | | | | | | | | | | | Needs to use the updated state of the CPSR.
| * | | armemu: Fix construction of the CPSRLioncash2014-12-234-15/+54
| |/ /
* / / dyncom: Move over QADD16/QASX/QSAX/QSUB16Lioncash2014-12-221-7/+87
|/ /
* | Merge pull request #322 from chinhodado/masterbunnei2014-12-223-9/+6
|\ \ | | | | | | More warning cleanups
| * | More warning cleanupsChin2014-12-213-9/+6
| | |
* | | dyncom: Move SEL overLioncash2014-12-221-1/+58
| | |
* | | Merge pull request #324 from lioncash/dyncbunnei2014-12-221-7/+102
|\ \ \ | | | | | | | | dyncom: Move over SASX/SSAX/SADD16/SSUB16
| * | | dyncom: Move over SASX/SSAX/SADD16/SSUB16Lioncash2014-12-221-7/+102
| | | |
* | | | Merge pull request #291 from purpasmart96/licensebunnei2014-12-218-8/+8
|\ \ \ \ | |/ / / |/| | | License change
| * | | License changepurpasmart962014-12-218-8/+8
| | | |
* | | | armemu: Implement SADD8/SSUB8Lioncash2014-12-211-14/+87
| |/ / |/| |
* | | Merge pull request #296 from lioncash/dynbunnei2014-12-201-1/+47
|\ \ \ | | | | | | | | dyncom: Implement UMAAL
| * | | dyncom: Implement UMAALLioncash2014-12-191-1/+47
| |/ /
* | | Merge pull request #310 from lioncash/ssat16bunnei2014-12-201-14/+20
|\ \ \ | | | | | | | | armemu: Fix SSAT16.
| * | | armemu: Fix SSAT16Lioncash2014-12-191-1/+1
| | | | | | | | | | | | | | | | The lower-bound would never be negative like it should
| * | | armemu: Clean up naming and formatting for SSAT16Lioncash2014-12-191-14/+20
| |/ /
* | | armemu: Should be using labs for USAD8/USADA8Lioncash2014-12-201-4/+4
| | |
* | | Merge pull request #311 from lioncash/usadabunnei2014-12-201-1/+24
|\ \ \ | | | | | | | | armemu: Implement USAD8 and USADA8
| * | | armemu: Implement USAD8 and USADA8Lioncash2014-12-191-1/+24
| | | |
* | | | Merge pull request #313 from lioncash/smlsdbunnei2014-12-201-6/+10
|\ \ \ \ | | | | | | | | | | armemu: Implement SMLSD
| * | | | armemu: Implement SMLSDLioncash2014-12-191-6/+10
| | |/ / | |/| |
* | | | Merge pull request #314 from lioncash/qsax-qasxbunnei2014-12-201-7/+20
|\ \ \ \ | | | | | | | | | | armemu: Implement QASX and QSAX
| * | | | armemu: Implement QASX and QSAXLioncash2014-12-191-7/+20
| |/ / /
* | | | Merge pull request #294 from lioncash/varbunnei2014-12-191-12/+9
|\ \ \ \ | | | | | | | | | | armemu: Narrow the scope of some variables in handle_v6_insn
| * | | | armemu: Narrow the scope of some variables in handle_v6_insnLioncash2014-12-171-12/+9
| | | | | | | | | | | | | | | | | | | | There's no reason to have these in the outer-most scope.
* | | | | Merge pull request #305 from lioncash/parenbunnei2014-12-191-4/+4
|\ \ \ \ \ | |_|/ / / |/| | | | armemu: Get rid of bitwise parenthesis warnings
| * | | | armemu: Get rid of bitwise parenthesis warningsLioncash2014-12-181-4/+4
| | |/ / | |/| |
* | | | Merge pull request #304 from lioncash/sflagsbunnei2014-12-181-4/+29
|\ \ \ \ | | | | | | | | | | armemu: Set GE flags properly for SSUB16, SADD16, SSAX, and SASX.
| * | | | armemu: Set GE flags correctly for SSUB16, SADD16, SSAX, and SASX.Lioncash2014-12-181-4/+29
| |/ / /
* | | | armemu: Fix lower-bounds clamping for USAT16Lioncash2014-12-181-1/+6
| | | |
* | | | armemu: More concise names for USAT16-related variablesLioncash2014-12-181-11/+15
|/ / /
* | | Merge pull request #299 from lioncash/joinbunnei2014-12-181-34/+23
|\ \ \ | | | | | | | | Combine SSUB16, SADD16, SASX, and SSAX.
| * | | armemu: Combine SSUB16, SADD16, SASX, and SSAX.Lioncash2014-12-181-34/+23
| | | |
* | | | Merge pull request #298 from lioncash/flagsbunnei2014-12-181-4/+22
|\ \ \ \ | | | | | | | | | | armemu: Unset GE flags for UADD8 if results are < 0x100
| * | | | armemu: Unset GE flags for UADD8 if results are < 0x100Lioncash2014-12-171-4/+22
| | | | | | | | | | | | | | | | | | | | Reference manual states these must be set to zero if this case is true.
* | | | | Merge pull request #295 from lioncash/umaalbunnei2014-12-181-3/+25
|\ \ \ \ \ | |_|/ / / |/| | | | armemu: Implement UMAAL
| * | | | armemu: Implement UMAALLioncash2014-12-171-3/+25
| | |/ / | |/| |
* | | | Merge pull request #292 from lioncash/backportsbunnei2014-12-181-19/+30
|\ \ \ \ | | | | | | | | | | Backport more skyeye fixes from 3dmoo
| * | | | armemu: Fix PKHTBNormmatt2014-12-171-6/+12
| | | | |
| * | | | armemu: Implement REVSHNormmatt2014-12-171-5/+9
| | | | |
| * | | | armemu: Fix UXTAB/UXTAHNormmatt2014-12-171-4/+4
| | | | |
| * | | | armemu: Fix SXTABNormmatt2014-12-171-2/+2
| | | | |
| * | | | armemu: Fix SXTAHNormmatt2014-12-171-2/+3
| |/ / /
* | / / armemu: Fix SSUB16Lioncash2014-12-171-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/sopsbunnei2014-12-171-8/+9
|\ \ \ | | | | | | | | armemu: Fix SADD16
| * | | armemu: Fix SADD16Lioncash2014-12-171-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/qaddsub16bunnei2014-12-171-33/+37
|\ \ \ | |/ / |/| | armemu: Join QADD16/QSUB16 and fix saturation clamping.
| * | armemu: Fix lower-bound signed saturation clamping for QADD16/QSUB16.Lioncash2014-12-161-2/+2
| | |
| * | armemu: Join QADD16 and QSUB16 together.Lioncash2014-12-161-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/smopsbunnei2014-12-171-38/+35
|\ \ \ | | | | | | | | Join SMUAD, SMUSD, and SMLAD ops. Also fix them as well.
| * | | armemu: Fix SMUAD, SMUSD, and SMLADLioncash2014-12-161-3/+3
| | | | | | | | | | | | | | | | Wrong values were being multiplied together.
| * | | armemu: Join SMUAD, SMUSD, and SMLADLioncash2014-12-161-38/+35
| |/ /
* | | Merge pull request #290 from lioncash/vsubbunnei2014-12-171-2/+5
|\ \ \ | | | | | | | | armemu: Backport some VFP fixes from 3dmoo.
| * | | armemu: Fix FTOUI NaN sign.Normmatt2014-12-161-1/+1
| | | |
| * | | armemu: Fix FSUBS bug where NaN shouldn't be negatedNormmatt2014-12-161-1/+4
| |/ /
* / / armemu: Implement UXTAB16Lioncash2014-12-161-10/+25
|/ /
* | armemu: Fix UXTB16Lioncash2014-12-151-12/+12
| | | | | | | | Rotation bits are 10 and 11, not 9 and 10.
* | 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-153-419/+485
|/ /
* | Convert old logging calls to new logging macrosYuri Kunde Schlesner2014-12-135-109/+109
| |
* | armemu: Fix SSAXLioncash2014-12-081-1/+1
| |
* | armemu: Fix SASXLioncash2014-12-081-1/+1
| |
* | armemu: Fix parenthesis warnings regarding bitwise opsLioncash2014-12-081-4/+4
| |
* | Merge pull request #235 from yuriks/dyncom-mapbunnei2014-11-301-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_mapYuri Kunde Schlesner2014-11-291-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 warningsLioncash2014-11-291-4/+2
|/
* 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.
* Remove trailing spaces in every file but the ones imported from SkyEye, AOSP or generatedEmmanuel Gil Peyrot2014-11-197-12/+12
|
* Fix documentation of parametersLioncash2014-11-182-2/+2
|
* Merge pull request #194 from lioncash/virtbunnei2014-11-151-1/+1
|\ | | | | ARM_Interface: Make destructor virtual
| * ARM_Interface: Make destructor virtualLioncash2014-11-141-1/+1
| | | | | | | | Fixes some warnings on OSX.
* | ARM: Fixed dyncom to use reg15 for PC (this core doesn't use pc variable).bunnei2014-11-121-2/+2
| | | | | | | | - Fixes single stepping in debugger.
* | ARM: Removed unnecessary goto with each instruction.bunnei2014-11-121-43/+39
| |
* | ARM: Fixed several dyncom bugs.bunnei2014-11-123-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 errorsSean Maas2014-11-031-2/+2
| |
* | ARM: Merged additional ARMv6 instructions implemented by 3dmoo.bunnei2014-11-021-42/+234
| |
* | 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
| |
* | Merge pull request #153 from yuriks/add-overridebunnei2014-10-282-18/+18
|\ \ | | | | | | Add override keyword where appropriate
| * | Add `override` keyword through the code.Yuri Kunde Schlesner2014-10-262-18/+18
| | | | | | | | | | | | This was automated using `clang-modernize`.
* | | vfp_helper: Get rid of integer type redefinitionsLioncash2014-10-261-7/+1
|/ /
* | ARM: Removed unnecessary and unused SkyEye MMU code.bunnei2014-10-2521-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.bunnei2014-10-253-746/+0
| |
* | ARM: Updated dyncom core to use fast label lookup table on clang.bunnei2014-10-251-3/+7
| |
* | ARM: Integrate SkyEye faster "dyncom" interpreter.bunnei2014-10-2518-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.bunnei2014-10-2531-63/+63
| | | | | | | | Removed s_ prefix
* | Merge pull request #97 from archshift/cleanupbunnei2014-09-141-1/+1
|\ \ | | | | | | Small, general code cleanup
| * | Dead code removal: video_core.cpp, load_symbol_map.cpparchshift2014-09-071-1/+1
| | |
* | | Merge pull request #99 from archshift/ext-checkbunnei2014-09-111-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.cpparchshift2014-09-091-39/+39
| | |/ | |/|
* / | core: Prune redundant includesarchshift2014-09-091-1/+0
|/ /
* / core: Make the ARM disassembler use std::string internallyLioncash2014-09-063-189/+143
|/
* Threading: Fix thread starting to execute first instruction correctly.bunnei2014-08-281-1/+1
|
* ARM: Remove a forgotten const in vfp.Emmanuel Gil Peyrot2014-08-202-2/+2
|
* ARM: Synchronize Citra's SkyEye core with 3dmoo's.bunnei2014-07-246-5919/+5303
|
* core: Kill off type redefenitions in armdefs.hLioncash2014-07-201-7/+0
|
* Merge branch 'threading' of https://github.com/bunnei/citrabunnei2014-06-144-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 expectedbunnei2014-06-051-1/+1
| |
| * arm: fixed bug in how thread context switch occurs with SkyEyebunnei2014-06-051-2/+5
| |
| * arm: reverting a change made with cb0663de - this has to have been a typo!bunnei2014-06-051-1/+1
| |
| * arm: added option to prepare CPU core (while mid-instruction) for thread reschedulebunnei2014-06-023-0/+11
| |
| * arm: removed unnecessary code when calling SVC from skyeyebunnei2014-05-301-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 fieldDisruption2014-06-011-1/+1
| |
* | Merge branch 'threading'bunnei2014-05-237-36/+119
|\|
| * arm_interpreter: fixed load context to currently resume a threadbunnei2014-05-231-1/+4
| |
| * arm: removed include of windows.h from armdefs.h to arminit.c (only module that uses it)bunnei2014-05-212-4/+3
| |
| * armemu: missed rename of "Syscall" to "SVC"bunnei2014-05-211-1/+1
| |
| * ARM_Interpreter/ARM_Interface: Fixed member variable naming to be consistent with style guidebunnei2014-05-213-45/+45
| |
| * ARM_Interface: added SaveContext and LoadContext functions for HLE thread switchingbunnei2014-05-213-1/+63
| |
| * VFP: disable DBG messages because they spam the console with unimportant skyeye junkbunnei2014-05-201-1/+1
| |
| * ignore thumbemu 0xDEADCODE debugging catch on MCRbunnei2014-05-171-2/+1
| |
| * Merge branch 'master' into threadingbunnei2014-05-175-20/+30
| |\
| * \ Merge master into threading to add support for VFPbunnei2014-05-1728-136/+14183
| |\ \
| * | | added option to set CPSR register to arm_interfacebunnei2014-05-123-0/+20
| | | |
* | | | Merge pull request #2 from archshift/issue-7-fixbunnei2014-05-204-10/+10
|\ \ \ \ | |_|_|/ |/| | | Fixes issues with building Citra on OSX
| * | | Fixed vfp issuesarchshift2014-05-174-10/+10
| | |/ | |/|
* / | updated how we call ARM core to make things much fasterbunnei2014-05-175-20/+30
|/ /
* | same fix as last commit - just for vfpsingle.cppbunnei2014-05-171-2/+2
| |
* | another VFP fix for GCCbunnei2014-05-171-2/+2
| |
* | fixed VFP DBG log for GCCbunnei2014-05-171-1/+1
| |
* | - reenabled MCR and MRC functions now that VFP is attachedbunnei2014-05-172-95/+92
| | | | | | | | - removed HLE::CallMCR function (was pointless)
* | - removed unused stubbed out codebunnei2014-05-175-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 skyeyebunnei2014-05-161-0/+1206
| |
* | fixed includesbunnei2014-05-161-2/+2
| |
* | enabled CP_ACCESS_ALLOWEDbunnei2014-05-161-6/+4
| |
* | fixed include pathbunnei2014-05-161-1/+1
| |
* | removed undefined function ARMul_ConsolePrintbunnei2014-05-161-1/+1
| |
* | added missing armcopro from skyeyebunnei2014-05-163-251/+1093
| |
* | added missing skyeye mmu codebunnei2014-05-169-17/+3272
| |
* | fixed armmmu importsbunnei2014-05-161-5/+5
| |
* | - moved mmu to arm/interpreter folderbunnei2014-05-1613-0/+8755
|/ | | | - added initial VFP code from skyeye
* - disable strict alignment on LDRD/STRDbunnei2014-05-071-17/+22
| | | | - handle RD in STREX/STREXB
* commented out useless debug logs that just spammed consolebunnei2014-05-061-3/+3
|
* - added CallMCR function to coprocessor HLE modulebunnei2014-05-021-22/+23
| | | | - moved instruction decoding to coprocessor HLE module
* renamed hle "mrc" module to "coprocessor"bunnei2014-05-021-8/+8
|
* added a module to load symbol map files for debuggingbunnei2014-05-012-0/+46
|
* removed DISALLOW_COPY_AND_ASSIGN in favor of NonCopyable classbunnei2014-04-282-3/+1
|
* removed commented out line - this was for an unimplemented MRC call, no longer need to leave this herebunnei2014-04-281-1/+0
|
* moved HLE::MRC to its own module, added support for catching data synchronization barrier commandbunnei2014-04-252-3/+5
|
* added disassembly to unimplemented instructionbunnei2014-04-251-1/+6
|
* fixes to build on linuxbunnei2014-04-231-0/+2
|
* - added HLE to connect to "srv:" servicebunnei2014-04-131-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...)bunnei2014-04-121-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)bunnei2014-04-121-0/+11
|
* base code to call a syscall from ARM11 appcorebunnei2014-04-111-0/+3
|
* missed this file with commit 95e5436fbunnei2014-04-111-1/+10
|
* cleaned up arm_interface, added a setter to set registers for use with HLE return valuesbunnei2014-04-112-6/+70
|
* fixed licensing and updated code style naming for arm_interface/arm_interpreter frontend modulebunnei2014-04-093-94/+57
|
* fixed project includes to use new directory structurebunnei2014-04-0910-27/+27
|
* got rid of 'src' folders in each sub-projectbunnei2014-04-0925-0/+15528