aboutsummaryrefslogtreecommitdiff
path: root/src/core/arm
AgeCommit message (Collapse)Author
2015-02-27Merge pull request #620 from lioncash/bkptbunnei
arm_disasm: Show conditional code for BKPT instructions.
2015-02-27arm_disasm: Show conditional code for BKPT instructions.Lioncash
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).
2015-02-27arm_disasm: Remove unused variableLioncash
Also declared an array as static, as it's only used in this translation unit.
2015-02-26arm: The CP15 Main ID register is not writeableLioncash
2015-02-25arm: Remove unnecessary booleansLioncash
We don't care about any of these.
2015-02-21Cleaned up unaligned access.Kevin Hartman
2015-02-17Merge pull request #582 from lioncash/warningsbunnei
vfpinstr: Fix trivial signed/unsigned mismatch warnings
2015-02-17Merge pull request #579 from lioncash/bkptbunnei
dyncom: Support conditional BKPT instructions
2015-02-17vfpinstr: Fix trivial signed/unsigned mismatch warningsLioncash
2015-02-17dyncom: Support conditional BKPT instructionsLioncash
2015-02-16Merge pull request #574 from lioncash/warnbunnei
vfpdouble: Use %p for printing pointer addresses.
2015-02-16dyncom: Actually set the destination register for USAD8/USADA8.Lioncash
Idiotville: Population: 1 - Inhabitant name: Lioncash
2015-02-15vfpdouble: Use %p for printing pointer addresses.Lioncash
2015-02-15arm: Set the A bit on reset.Lioncash
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.
2015-02-13core: Apply static to local functionsLioncash
2015-02-13arm: General cleanupLioncash
- Remove several typedefs for ARMul_State. - Remove unused functions - Remove unused/unnecessary headers - Removed unused enums, etc.
2015-02-12dyncom: Switch the app and system cores into the correct mode at initializationLioncash
2015-02-12dyncom: Clean up the constructorLioncash
Some function calls aren't necessary and would be handled by regular initialization routines.
2015-02-12dyncom: Remove warning for SXTAHLioncash
This is tested to work correctly.
2015-02-12arm: Remove ARMul_EmulateInitLioncash
This was only used for armemu, which has since been removed. Removed components related to this as well.
2015-02-12armdefs: Remove unnecessary extern CLioncash
2015-02-11arm: Remove ARM26 support.Lioncash
This will never be used. 32-bit is the norm.
2015-02-11Merge pull request #559 from lioncash/cleanbunnei
arm: Some cleanup. Also fixed the initial ARM mode that is emulated.
2015-02-11arm: Get rid of some magic constants. Specify proper ARM mode.Lioncash
Initially, we were starting the emulator in USER26MODE, which is incorrect, this should be USER32MODE.
2015-02-11arm: Change some more constants into enumsLioncash
2015-02-10Asserts: break/crash program, fit to style guide; log.h->assert.harchshift
Involves making asserts use printf instead of the log functions (log functions are asynchronous and, as such, the log won't be printed in time) As such, the log type argument was removed (printf obviously can't use it, and it's made obsolete by the file and line printing) Also removed some GEKKO cruft.
2015-02-10Merge pull request #556 from lioncash/cleanbunnei
arm: Remove TRUE/FALSE defines
2015-02-10arm: Remove TRUE/FALSE definesLioncash
- Removed the Debug parameter from ARMul_State since it isn't used. - Changed ARMul_CoProInit to a void function. It always returned true.
2015-02-10arm_dyncom_thumb: Make lookup tables staticLioncash
These don't need to be recreated all the time.
2015-02-10Merge pull request #553 from lioncash/denormbunnei
vfp: Normalize accumulator for multiply accumulate instructions
2015-02-10dyncom: Add more regs to MCR/MRCLioncash
Adds the registers that were left out of some coprocessor ranges.
2015-02-10vfp: Normalize accumulator for multiply accumulate instructionsLioncash
2015-02-09Scheduler refactor Pt. 1Kevin Hartman
* Simplifies scheduling logic, specifically regarding thread status. It should be much clearer which statuses are valid for a thread at any given point in the system. * Removes dead code from thread.cpp. * Moves the implementation of resetting a ThreadContext to the corresponding core's implementation. Other changes: * Fixed comments in arm interfaces. * Updated comments in thread.cpp * Removed confusing, useless, functions like MakeReady() and ChangeStatus() from thread.cpp. * Removed stack_size from Thread. In the CTR kernel, the thread's stack would be allocated before thread creation.
2015-02-09vfpdouble: Fix the FTOUI NaN sign settingLioncash
This was fixed for vfpsingle, but not vfpdouble
2015-02-09Throw more unused/unnecessary VFP code outLioncash
2015-02-09vfp_helper: Convert some flags to enums. Throw out more duplicated FPSCR stuffLioncash
2015-02-09vfp_helper: Normalize tabs to spacesLioncash
2015-02-06vfp_helper: Remove unnecessary extern C blocksLioncash
2015-02-06vfp: Move FPSID, FPEXC, and FPSCR values over to enums.Lioncash
Also got rid of duplicate definitions of some of these values.
2015-02-04Merge pull request #537 from lioncash/vfpbunnei
vfp: Fix VCVT
2015-02-04Merge pull request #536 from lioncash/deadbunnei
vfp: Throw out unused code
2015-02-04vfp: Fix VCVTLioncash
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.
2015-02-04vfp: Throw out unused codeLioncash
2015-02-03dyncom: Remove more unnecessary codeLioncash
2015-02-03core: Fix some warnings on OSXLioncash
2015-02-01Merge pull request #525 from lioncash/armwarnbunnei
vfp: Get rid of some compile warnings
2015-01-31vfp: Get rid of some compile warningsLioncash
2015-01-31arm: Clean up ARMul_StateLioncash
Remove unnecessary/unused struct variables.
2015-01-31arm: Adios armemuLioncash
2015-01-30dyncom: clean up arm_dyncom_dec.hLioncash