mirror of https://github.com/PCSX2/pcsx2.git
x86emitter: drop old register define
This commit is contained in:
parent
5c0c9a60e9
commit
fd56195b2d
|
@ -15,36 +15,10 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#if defined(__linux__) && defined(__clang__)
|
||||
|
||||
[[deprecated]] const int DISP32 = 5; // maps to EBP
|
||||
|
||||
[[deprecated]] const int EAX = 0;
|
||||
[[deprecated]] const int EBX = 3;
|
||||
[[deprecated]] const int ECX = 1;
|
||||
[[deprecated]] const int EDX = 2;
|
||||
[[deprecated]] const int ESI = 6;
|
||||
[[deprecated]] const int EDI = 7;
|
||||
[[deprecated]] const int EBP = 5;
|
||||
[[deprecated]] const int ESP = 4;
|
||||
|
||||
#else
|
||||
|
||||
//#define SIB 4 // maps to ESP
|
||||
//#define SIBDISP 5 // maps to EBP
|
||||
#define DISP32 5 // maps to EBP
|
||||
|
||||
#define EAX 0
|
||||
#define EBX 3
|
||||
#define ECX 1
|
||||
#define EDX 2
|
||||
#define ESI 6
|
||||
#define EDI 7
|
||||
#define EBP 5
|
||||
#define ESP 4
|
||||
|
||||
#endif
|
||||
|
||||
// general types
|
||||
typedef int x86IntRegType;
|
||||
typedef int x86MMXRegType;
|
||||
|
|
Loading…
Reference in New Issue