Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Clean out unnecessary includes from the DSP JIT.
  • Loading branch information
lioncash committed Oct 19, 2013
1 parent af1b5fe commit 6adf3e3
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 34 deletions.
2 changes: 0 additions & 2 deletions Source/Core/Core/Src/DSP/DSPEmitter.cpp
Expand Up @@ -10,8 +10,6 @@
#include "DSPHost.h"
#include "DSPInterpreter.h"
#include "DSPAnalyzer.h"
#include "x64Emitter.h"
#include "x64ABI.h"

#define MAX_BLOCK_SIZE 250
#define DSP_IDLE_SKIP_CYCLES 0x1000
Expand Down
1 change: 1 addition & 0 deletions Source/Core/Core/Src/DSP/DSPEmitter.h
Expand Up @@ -8,6 +8,7 @@
#include <list>

#include "DSPCommon.h"
#include "x64ABI.h"
#include "x64Emitter.h"
#include "Jit/DSPJitRegCache.h"

Expand Down
7 changes: 3 additions & 4 deletions Source/Core/Core/Src/DSP/Jit/DSPJitArithmetic.cpp
Expand Up @@ -4,12 +4,11 @@

// Additional copyrights go to Duddie and Tratax (c) 2004

#include "../DSPAnalyzer.h"
#include "../DSPEmitter.h"
#include "../DSPIntCCUtil.h"
#include "../DSPIntUtil.h"
#include "../DSPEmitter.h"
#include "../DSPAnalyzer.h"
#include "x64Emitter.h"
#include "x64ABI.h"

using namespace Gen;

// CLR $acR
Expand Down
6 changes: 2 additions & 4 deletions Source/Core/Core/Src/DSP/Jit/DSPJitBranch.cpp
Expand Up @@ -2,12 +2,10 @@
// Licensed under GPLv2
// Refer to the license.txt file included.

#include "../DSPMemoryMap.h"
#include "../DSPAnalyzer.h"
#include "../DSPEmitter.h"
#include "../DSPMemoryMap.h"
#include "../DSPStacks.h"
#include "../DSPAnalyzer.h"
#include "x64Emitter.h"
#include "x64ABI.h"

using namespace Gen;

Expand Down
8 changes: 2 additions & 6 deletions Source/Core/Core/Src/DSP/Jit/DSPJitCCUtil.cpp
Expand Up @@ -4,13 +4,9 @@

// Additional copyrights go to Duddie and Tratax (c) 2004


// HELPER FUNCTIONS

#include "../DSPIntUtil.h"
#include "../DSPEmitter.h"
#include "x64Emitter.h"
#include "x64ABI.h"
#include "../DSPIntUtil.h" // Helper functions

using namespace Gen;

// In: RAX: s64 _Value
Expand Down
4 changes: 1 addition & 3 deletions Source/Core/Core/Src/DSP/Jit/DSPJitExtOps.cpp
Expand Up @@ -2,10 +2,8 @@
// Licensed under GPLv2
// Refer to the license.txt file included.

#include "../DSPMemoryMap.h"
#include "../DSPEmitter.h"
#include "x64Emitter.h"
#include "x64ABI.h"
#include "../DSPMemoryMap.h"

using namespace Gen;

Expand Down
5 changes: 2 additions & 3 deletions Source/Core/Core/Src/DSP/Jit/DSPJitLoadStore.cpp
Expand Up @@ -4,11 +4,10 @@

// Additional copyrights go to Duddie and Tratax (c) 2004

#include "../DSPEmitter.h"
#include "../DSPIntCCUtil.h"
#include "../DSPIntUtil.h"
#include "../DSPEmitter.h"
#include "x64Emitter.h"
#include "x64ABI.h"

using namespace Gen;

// SRS @M, $(0x18+S)
Expand Down
5 changes: 2 additions & 3 deletions Source/Core/Core/Src/DSP/Jit/DSPJitMisc.cpp
Expand Up @@ -2,10 +2,9 @@
// Licensed under GPLv2
// Refer to the license.txt file included.

#include "../DSPIntUtil.h"
#include "../DSPEmitter.h"
#include "x64Emitter.h"
#include "x64ABI.h"
#include "../DSPIntUtil.h"

using namespace Gen;

// MRR $D, $S
Expand Down
7 changes: 3 additions & 4 deletions Source/Core/Core/Src/DSP/Jit/DSPJitMultiplier.cpp
Expand Up @@ -7,11 +7,10 @@

// Multiplier and product register control

#include "../DSPIntUtil.h"
#include "../DSPEmitter.h"
#include "../DSPAnalyzer.h"
#include "x64Emitter.h"
#include "x64ABI.h"
#include "../DSPEmitter.h"
#include "../DSPIntUtil.h"

using namespace Gen;

// Returns s64 in RAX
Expand Down
8 changes: 3 additions & 5 deletions Source/Core/Core/Src/DSP/Jit/DSPJitUtil.cpp
Expand Up @@ -2,12 +2,10 @@
// Licensed under GPLv2
// Refer to the license.txt file included.

#include "../DSPMemoryMap.h"
#include "../DSPHWInterface.h"
#include "../DSPEmitter.h"
#include "DSPJitUtil.h"
#include "x64Emitter.h"
#include "x64ABI.h"
#include "../DSPEmitter.h"
#include "../DSPHWInterface.h"
#include "../DSPMemoryMap.h"

using namespace Gen;

Expand Down

0 comments on commit 6adf3e3

Please sign in to comment.