Skip to content

Commit

Permalink
Trying to satisfy different versions of clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthiasWM committed Nov 23, 2023
1 parent 9f8a649 commit 642ba26
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ static const JITFuncPtr DataProcessingPSRTransfer_MSR_Imm_Funcs[] = {
MSR_TemplateName(1, 1, 0xFFFFFFFF, Rm),
};

// clang-format off

def_array_mode_s_rn_rd(AND);
#define AND_Func(mode, flag_s, rnrd) \
DataProcessingPSRTransfer_AND_Funcs[((mode) * 512) + ((flag_s) * 256) + (rnrd)]
Expand Down Expand Up @@ -229,6 +231,8 @@ def_array_mode_s_rd(MVN);
#define MSR_Imm_Func(flag_r, fields_mask_ix) \
DataProcessingPSRTransfer_MSR_Imm_Funcs[((flag_r) * 16) + (fields_mask_ix)]

// clang-format on

#define __Rn (inInstruction & 0x000F0000) >> 16
#define __Rd (inInstruction & 0x0000F000) >> 12
#define __RnRd (inInstruction & 0x000FF000) >> 12
Expand Down
2 changes: 1 addition & 1 deletion K/Misc/RelocHack.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,4 @@ extern "C" funcPtr RelocFuncPtrHack(funcPtr inRelocFuncPtrHack, funcPtr inFuncPt
// "Without the wind, the grass does not move. Without software, //
// hardware is useless." //
// -- Geoffrey James, "The Tao of Programming" //
// ====================================================================== //
// ====================================================================== //

0 comments on commit 642ba26

Please sign in to comment.