diff options
| author | 2015-02-12 11:30:25 -0500 | |
|---|---|---|
| committer | 2015-02-12 11:30:28 -0500 | |
| commit | e3f5c6366cba3548c7676fc3a08dc0d736a227f4 (patch) | |
| tree | ffa45a6357978ab4ea387ff6287b26a17408fcfe /src/core/arm/interpreter | |
| parent | Merge pull request #563 from lioncash/ext (diff) | |
| download | yuzu-e3f5c6366cba3548c7676fc3a08dc0d736a227f4.tar.gz yuzu-e3f5c6366cba3548c7676fc3a08dc0d736a227f4.tar.xz yuzu-e3f5c6366cba3548c7676fc3a08dc0d736a227f4.zip | |
arm: Remove ARMul_EmulateInit
This was only used for armemu, which has since been removed. Removed components related to this as well.
Diffstat (limited to 'src/core/arm/interpreter')
| -rw-r--r-- | src/core/arm/interpreter/arminit.cpp | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/src/core/arm/interpreter/arminit.cpp b/src/core/arm/interpreter/arminit.cpp index e7545728e..0c0ce6c91 100644 --- a/src/core/arm/interpreter/arminit.cpp +++ b/src/core/arm/interpreter/arminit.cpp | |||
| @@ -19,46 +19,6 @@ | |||
| 19 | #include "core/arm/skyeye_common/armemu.h" | 19 | #include "core/arm/skyeye_common/armemu.h" |
| 20 | 20 | ||
| 21 | /***************************************************************************\ | 21 | /***************************************************************************\ |
| 22 | * Definitions for the emulator architecture * | ||
| 23 | \***************************************************************************/ | ||
| 24 | |||
| 25 | void ARMul_EmulateInit(); | ||
| 26 | ARMul_State* ARMul_NewState(ARMul_State* state); | ||
| 27 | void ARMul_Reset (ARMul_State* state); | ||
| 28 | |||
| 29 | unsigned ARMul_MultTable[32] = { | ||
| 30 | 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, | ||
| 31 | 10, 10, 11, 11, 12, 12, 13, 13, 14, 14, 15, 15, 16, 16, 16 | ||
| 32 | }; | ||
| 33 | ARMword ARMul_ImmedTable[4096]; // immediate DP LHS values | ||
| 34 | char ARMul_BitList[256]; // number of bits in a byte table | ||
| 35 | |||
| 36 | /***************************************************************************\ | ||
| 37 | * Call this routine once to set up the emulator's tables. * | ||
| 38 | \***************************************************************************/ | ||
| 39 | void ARMul_EmulateInit() | ||
| 40 | { | ||
| 41 | unsigned int i, j; | ||
| 42 | |||
| 43 | // the values of 12 bit dp rhs's | ||
| 44 | for (i = 0; i < 4096; i++) { | ||
| 45 | ARMul_ImmedTable[i] = ROTATER (i & 0xffL, (i >> 7L) & 0x1eL); | ||
| 46 | } | ||
| 47 | |||
| 48 | // how many bits in LSM | ||
| 49 | for (i = 0; i < 256; ARMul_BitList[i++] = 0); | ||
| 50 | for (j = 1; j < 256; j <<= 1) | ||
| 51 | for (i = 0; i < 256; i++) | ||
| 52 | if ((i & j) > 0) | ||
| 53 | ARMul_BitList[i]++; | ||
| 54 | |||
| 55 | // you always need 4 times these values | ||
| 56 | for (i = 0; i < 256; i++) | ||
| 57 | ARMul_BitList[i] *= 4; | ||
| 58 | |||
| 59 | } | ||
| 60 | |||
| 61 | /***************************************************************************\ | ||
| 62 | * Returns a new instantiation of the ARMulator's state * | 22 | * Returns a new instantiation of the ARMulator's state * |
| 63 | \***************************************************************************/ | 23 | \***************************************************************************/ |
| 64 | ARMul_State* ARMul_NewState(ARMul_State* state) | 24 | ARMul_State* ARMul_NewState(ARMul_State* state) |