Lioncash
6278937a28
dyncom: Get rid of armemu.h
11 years ago
Lioncash
097d8282a6
dyncom: remove load_r15 from arm_inst
It's entirely unused. Also allows getting rid of more clunky macros.
11 years ago
bunnei
3a348a90fd
VFP: Log as trace to get rid of spamming.
11 years ago
Lioncash
572c91a024
dyncom: Eliminate clang warnings
Gets rid of a whole load of missing brace initialization warnings.
11 years ago
Yuri Kunde Schlesner
7ada357b2d
Memmap: Re-organize memory function in two files
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.
11 years ago
Lioncash
773b1ef6bf
vfp: Get rid of warnings
- Unary minus operator applied to unsigned type.
- Unsafe use of bool.
11 years ago
Lioncash
f3c4de4ce4
dyncom: Remove unnecessary typedefs
11 years ago
Lioncash
ffc51161f3
vfp: Handle flush-to-zero mode.
11 years ago
Lioncash
ae0c38a333
Remove unnecessary dyncom header files
11 years ago
Yuri Kunde Schlesner
e1fbac3ca1
Common: Remove common.h
11 years ago
Yuri Kunde Schlesner
c0eaa662d4
Clean-up includes
11 years ago
bunnei
bab5abaf46
Dyncom: Move cream cache to ARMul_State.
11 years ago
Lioncash
8b2b620a5e
dyncom: Remove more unused/unnecessary code
Gets rid of a sizeable amount of stuff in armdefs.
11 years ago
Lioncash
d66a12c6f6
dyncom: Remove unused/unnecessary VFP cruft
11 years ago
Emmanuel Gil Peyrot
2e860bd59c
Core_ARM11: Replace debug prints with our own logging functions in vfpsingle.
11 years ago
Lioncash
a6c9e453b2
dyncom: Remove unnecessary enum and typedef
Also fixes descriptions in the process.
11 years ago
Lioncash
29a4b6c7ed
vfp: Make the FPSID values match the MPCore
11 years ago
Lioncash
f9cc6d6484
vfp: Get rid of the VFP_OFFSET macro
11 years ago
Lioncash
b7b8b67620
Move CP15 enum definitions into their own enum.
Also gets rid of preprocessor mumbo-jumbo
11 years ago
Lioncash
490df716f3
dyncom: Move CP15 register writing into its own function.
Also implements writing to the rest of the ARM11 MPCore CP15 register set.
11 years ago
Lioncash
5e5954c63b
dyncom: Move CP15 register reading into its own function.
Keeps everything contained. Added all supported readable registers in an ARM11 MPCore.
11 years ago
Lioncash
de6eba0288
dyncom: Migrate InAPrivilegedMode to armsupp
It's a generic helper function, so it should be here anyway.
11 years ago
Lioncash
f23f2a9a42
armmmu: Remove unnecessary enum values
We don't need to care about XScale or Intel specific ARM stuff.
11 years ago
Lioncash
9fdb311d6e
dyncom: Make Load/Store instructions support big endian
11 years ago
Lioncash
4b89cf9e43
vfp: Get rid of warnings
11 years ago
Lioncash
1bb400be1b
arm: Remove unnecessary booleans
We don't care about any of these.
11 years ago
Lioncash
4f910bb1a1
vfpinstr: Fix trivial signed/unsigned mismatch warnings
11 years ago
Lioncash
f0c4bd629c
vfpdouble: Use %p for printing pointer addresses.
11 years ago
Lioncash
473afa4530
arm: Set the A bit on reset.
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.
11 years ago
Lioncash
0c6434c379
core: Apply static to local functions
11 years ago
Lioncash
a75e1ff6e6
arm: General cleanup
- Remove several typedefs for ARMul_State.
- Remove unused functions
- Remove unused/unnecessary headers
- Removed unused enums, etc.
11 years ago
Lioncash
b7fac494cd
dyncom: Switch the app and system cores into the correct mode at initialization
11 years ago
Lioncash
c3211c9c80
dyncom: Clean up the constructor
Some function calls aren't necessary and would be handled by regular initialization routines.
11 years ago
Lioncash
e3f5c6366c
arm: Remove ARMul_EmulateInit
This was only used for armemu, which has since been removed. Removed components related to this as well.
11 years ago
Lioncash
f48b0100a6
armdefs: Remove unnecessary extern C
11 years ago
Lioncash
49a22acd02
arm: Remove ARM26 support.
This will never be used. 32-bit is the norm.
11 years ago
Lioncash
c94c41f95a
arm: Get rid of some magic constants. Specify proper ARM mode.
Initially, we were starting the emulator in USER26MODE, which is incorrect, this should be USER32MODE.
11 years ago
Lioncash
93cd199633
arm: Change some more constants into enums
11 years ago
Lioncash
088fab743f
arm: Remove TRUE/FALSE defines
- Removed the Debug parameter from ARMul_State since it isn't used.
- Changed ARMul_CoProInit to a void function. It always returned true.
11 years ago
Lioncash
3eccc66abf
dyncom: Add more regs to MCR/MRC
Adds the registers that were left out of some coprocessor ranges.
11 years ago
Lioncash
a86d5e2752
vfp: Normalize accumulator for multiply accumulate instructions
11 years ago
Lioncash
53fa04f326
vfpdouble: Fix the FTOUI NaN sign setting
This was fixed for vfpsingle, but not vfpdouble
11 years ago
Lioncash
a734e9fdca
Throw more unused/unnecessary VFP code out
11 years ago
Lioncash
ca7babe062
vfp_helper: Convert some flags to enums. Throw out more duplicated FPSCR stuff
11 years ago
Lioncash
d832c48864
vfp_helper: Normalize tabs to spaces
11 years ago
Lioncash
1ecd75ea1a
vfp_helper: Remove unnecessary extern C blocks
11 years ago
Lioncash
3e576219c4
vfp: Move FPSID, FPEXC, and FPSCR values over to enums.
Also got rid of duplicate definitions of some of these values.
11 years ago
Lioncash
82e8f25fe7
vfp: Fix VCVT
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.
11 years ago
Lioncash
7ecedfb970
vfp: Throw out unused code
11 years ago
Lioncash
8c944bd1f0
vfp: Get rid of some compile warnings
11 years ago