| Age | Commit message (Collapse) | Author |
|
armemu: Unset GE flags for UADD8 if results are < 0x100
|
|
armemu: Implement UMAAL
|
|
Backport more skyeye fixes from 3dmoo
|
|
Reference manual states these must be set to zero if this case is true.
|
|
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.
|
|
armemu: Fix SADD16
|
|
armemu: Join QADD16/QSUB16 and fix saturation clamping.
|
|
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
Join SMUAD, SMUSD, and SMLAD ops. Also fix them as well.
|
|
armemu: Backport some VFP fixes from 3dmoo.
|
|
|
|
|
|
Wrong values were being multiplied together.
|
|
|
|
|
|
The only difference between these ops is one adds and one subtracts. Everything is literally the same.
|
|
|
|
Rotation bits are 10 and 11, not 9 and 10.
|
|
Clean up armdefs.h a little.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dyncom: Use unordered_map rather than the terrible 2-level bb_map
|
|
Seems (probably just placebo/wishful thinking) to make it slightly
faster. Also reduces memory usage and makes shutdown when debugging from
MSVC fast.
|
|
|
|
|
|
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.
|
|
This prevents them from interfering with other constants defined in
different namespaces.
|
|
or generated
|
|
|
|
ARM_Interface: Make destructor virtual
|
|
Fixes some warnings on OSX.
|
|
- Fixes single stepping in debugger.
|
|
|
|
- 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.
|
|
|
|
|
|
|
|
|
|
Add override keyword where appropriate
|
|
|