Update Recompiler CPU.h

Fix spacing, typos, and capitalization, and fix title case. Also convert multi line comments into single line comments.
This commit is contained in:
Derek "Turtle" Roe 2021-03-19 00:56:56 -05:00
parent ea0f2a65c1
commit 7dff587d0b
1 changed files with 16 additions and 16 deletions

View File

@ -37,21 +37,21 @@ void CompilerToggleBuffer (void);
Boolean RSP_DoSections(void); Boolean RSP_DoSections(void);
typedef struct { typedef struct {
DWORD StartPC, CurrPC; /* block start */ DWORD StartPC, CurrPC; // Block start
struct { struct {
DWORD TargetPC; /* Target for this unknown branch */ DWORD TargetPC; // Target for this unknown branch
DWORD * X86JumpLoc; /* Our x86 dword to fill */ DWORD * X86JumpLoc; // Our x86 DWORD to fill
} BranchesToResolve[200]; /* Branches inside or outside block */ } BranchesToResolve[200]; // Branches inside or outside block
DWORD ResolveCount; /* Branches with NULL jump table */ DWORD ResolveCount; // Branches with NULL jump table
} RSP_BLOCK; } RSP_BLOCK;
extern RSP_BLOCK CurrentBlock; extern RSP_BLOCK CurrentBlock;
typedef struct { typedef struct {
Boolean bIsRegConst[32]; /* Boolean toggle for constant */ Boolean bIsRegConst[32]; // Boolean toggle for constant
DWORD MipsRegConst[32]; /* Value of register 32-bit */ DWORD MipsRegConst[32]; // Value of register 32-bit
DWORD BranchLabels[250]; DWORD BranchLabels[250];
DWORD LabelCount; DWORD LabelCount;
DWORD BranchLocations[250]; DWORD BranchLocations[250];
@ -64,15 +64,15 @@ extern RSP_CODE RspCode;
#define MipsRegConst(i) (RspCode.MipsRegConst[i]) #define MipsRegConst(i) (RspCode.MipsRegConst[i])
typedef struct { typedef struct {
Boolean mmx, mmx2, sse; /* CPU specs and compiling */ Boolean mmx, mmx2, sse; // CPU specs and compiling
Boolean bFlags; /* RSP Flag Analysis */ Boolean bFlags; // RSP flag analysis
Boolean bReOrdering; /* Instruction reordering */ Boolean bReOrdering; // Instruction reordering
Boolean bSections; /* Microcode sections */ Boolean bSections; // Microcode sections
Boolean bDest; /* Vector destionation toggle */ Boolean bDest; // Vector destination toggle
Boolean bAccum; /* Accumulator toggle */ Boolean bAccum; // Accumulator toggle
Boolean bGPRConstants; /* Analyze GPR constants */ Boolean bGPRConstants; // Analyze GPR constants
Boolean bAlignVector; /* Align known vector loads */ Boolean bAlignVector; // Align known vector loads
Boolean bAudioUcode; /* Audio ucode analysis */ Boolean bAudioUcode; // Audio microcode analysis
} RSP_COMPILER; } RSP_COMPILER;
extern RSP_COMPILER Compiler; extern RSP_COMPILER Compiler;