Find ^/{80,99}$ and replace them to 100 "/" Signed-off-by: Nicolai Hähnle <nicolai.haehnle@amd.com>tags/17.1-branchpoint
@@ -37,9 +37,9 @@ | |||
using namespace Addr; | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
// Create/Destroy/Config functions | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
/** | |||
**************************************************************************************************** | |||
@@ -96,9 +96,9 @@ ADDR_E_RETURNCODE ADDR_API AddrDestroy( | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
// Surface functions | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
/** | |||
**************************************************************************************************** | |||
@@ -200,9 +200,9 @@ ADDR_E_RETURNCODE ADDR_API AddrComputeSurfaceCoordFromAddr( | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
// HTile functions | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
/** | |||
**************************************************************************************************** | |||
@@ -303,9 +303,9 @@ ADDR_E_RETURNCODE ADDR_API AddrComputeHtileCoordFromAddr( | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
// C-mask functions | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
/** | |||
**************************************************************************************************** | |||
@@ -407,9 +407,9 @@ ADDR_E_RETURNCODE ADDR_API AddrComputeCmaskCoordFromAddr( | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
// F-mask functions | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
/** | |||
**************************************************************************************************** | |||
@@ -509,9 +509,9 @@ ADDR_E_RETURNCODE ADDR_API AddrComputeFmaskCoordFromAddr( | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
// DCC key functions | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
/** | |||
**************************************************************************************************** |
@@ -113,9 +113,9 @@ typedef VOID* ADDR_CLIENT_HANDLE; | |||
* | |||
**/ | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
// Callback functions | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
/** | |||
**************************************************************************************************** | |||
@@ -281,9 +281,9 @@ typedef struct _ADDR_CALLBACKS | |||
ADDR_DEBUGPRINT debugPrint; ///< Routine to print debug message | |||
} ADDR_CALLBACKS; | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
// Create/Destroy functions | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
/** | |||
**************************************************************************************************** | |||
@@ -422,9 +422,9 @@ ADDR_E_RETURNCODE ADDR_API AddrDestroy( | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
// Surface functions | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
/** | |||
**************************************************************************************************** | |||
@@ -819,9 +819,9 @@ ADDR_E_RETURNCODE ADDR_API AddrComputeSurfaceCoordFromAddr( | |||
const ADDR_COMPUTE_SURFACE_COORDFROMADDR_INPUT* pIn, | |||
ADDR_COMPUTE_SURFACE_COORDFROMADDR_OUTPUT* pOut); | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
// HTile functions | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
/** | |||
**************************************************************************************************** | |||
@@ -1034,9 +1034,9 @@ ADDR_E_RETURNCODE ADDR_API AddrComputeHtileCoordFromAddr( | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
// C-mask functions | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
/** | |||
**************************************************************************************************** | |||
@@ -1245,9 +1245,9 @@ ADDR_E_RETURNCODE ADDR_API AddrComputeCmaskCoordFromAddr( | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
// F-mask functions | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
/** | |||
**************************************************************************************************** | |||
@@ -1480,9 +1480,9 @@ ADDR_E_RETURNCODE ADDR_API AddrComputeFmaskCoordFromAddr( | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
// Element/utility functions | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
/** | |||
**************************************************************************************************** | |||
@@ -2209,9 +2209,9 @@ ADDR_E_RETURNCODE ADDR_API AddrComputePrtInfo( | |||
const ADDR_PRT_INFO_INPUT* pIn, | |||
ADDR_PRT_INFO_OUTPUT* pOut); | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
// DCC key functions | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
/** | |||
**************************************************************************************************** |
@@ -450,11 +450,11 @@ typedef enum _AddrTileType | |||
ADDR_THICK = 4, ///< Thick micro-tiling, only valid for THICK and XTHICK | |||
} AddrTileType; | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
// | |||
// Type definitions: short system-independent names for address library types | |||
// | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
#if !defined(__APPLE__) || defined(HAVE_TSERVER) | |||
@@ -575,11 +575,11 @@ typedef union { | |||
} ADDR_FLT_32; | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
// | |||
// Macros for controlling linking and building on multiple systems | |||
// | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
#if defined(_MSC_VER) | |||
#if defined(va_copy) | |||
#undef va_copy //redefine va_copy to support VC2013 |
@@ -46,9 +46,9 @@ | |||
#include <string.h> | |||
#endif | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
// Platform specific debug break defines | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
#if DEBUG | |||
#if defined(__GNUC__) | |||
#define ADDR_DBG_BREAK() | |||
@@ -60,11 +60,11 @@ | |||
#else | |||
#define ADDR_DBG_BREAK() | |||
#endif | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
// Debug assertions used in AddrLib | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
#if defined(_WIN32) && (_MSC_VER >= 1400) | |||
#define ADDR_ANALYSIS_ASSUME(expr) __analysis_assume(expr) | |||
#else | |||
@@ -86,11 +86,11 @@ | |||
#define ADDR_UNHANDLED_CASE() | |||
#define ADDR_NOT_IMPLEMENTED() | |||
#endif //DEBUG | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
// Debug print macro from legacy address library | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
#if DEBUG | |||
#define ADDR_PRNT(a) Object::DebugPrint a | |||
@@ -161,16 +161,16 @@ | |||
#define ADDR_EXIT(cond, a) | |||
#endif // DEBUG | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
namespace Addr | |||
{ | |||
namespace V1 | |||
{ | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
// Common constants | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
static const UINT_32 MicroTileWidth = 8; ///< Micro tile width, for 1D and 2D tiling | |||
static const UINT_32 MicroTileHeight = 8; ///< Micro tile height, for 1D and 2D tiling | |||
static const UINT_32 ThickTileThickness = 4; ///< Micro tile thickness, for THICK modes | |||
@@ -188,9 +188,9 @@ static const INT_32 TileIndexNoMacroIndex = -3; | |||
} // V1 | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
// Common macros | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
#define BITS_PER_BYTE 8 | |||
#define BITS_TO_BYTES(x) ( ((x) + (BITS_PER_BYTE-1)) / BITS_PER_BYTE ) | |||
#define BYTES_TO_BITS(x) ( (x) * BITS_PER_BYTE ) | |||
@@ -263,7 +263,7 @@ union ConfigFlags | |||
UINT_32 value; | |||
}; | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
// Misc helper functions | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
@@ -84,9 +84,9 @@ UINT_32 __umoddi3(UINT_64 n, UINT_32 base) | |||
namespace Addr | |||
{ | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
// Constructor/Destructor | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
/** | |||
**************************************************************************************************** | |||
@@ -158,9 +158,9 @@ Lib::~Lib() | |||
} | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
// Initialization/Helper | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
/** | |||
**************************************************************************************************** | |||
@@ -409,9 +409,9 @@ UINT_32 Lib::Bits2Number( | |||
} | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
// Element lib | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
/** |
@@ -40,9 +40,9 @@ namespace Addr | |||
namespace V1 | |||
{ | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
// Static Const Member | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
const TileModeFlags Lib::ModeFlags[ADDR_TM_COUNT] = | |||
{// T L 1 2 3 P Pr B | |||
@@ -74,9 +74,9 @@ const TileModeFlags Lib::ModeFlags[ADDR_TM_COUNT] = | |||
{0, 0, 0, 0, 0, 0, 0, 0}, // ADDR_TM_UNKNOWN | |||
}; | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
// Constructor/Destructor | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
/** | |||
**************************************************************************************************** | |||
@@ -148,9 +148,9 @@ Lib* Lib::GetLib( | |||
} | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
// Surface Methods | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
/** | |||
@@ -1236,9 +1236,9 @@ UINT_32 Lib::Thickness( | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
// CMASK/HTILE | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
/** | |||
**************************************************************************************************** | |||
@@ -2512,9 +2512,9 @@ UINT_64 Lib::HwlComputeXmaskAddrFromCoord( | |||
return addr; | |||
} | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
// Surface Addressing Shared | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
/** | |||
**************************************************************************************************** |
@@ -45,8 +45,8 @@ | |||
#include "vi_id.h" | |||
#endif | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
namespace Addr | |||
{ |
@@ -43,8 +43,8 @@ | |||
#include "si_id.h" | |||
#endif | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
/////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
//////////////////////////////////////////////////////////////////////////////////////////////////// | |||
namespace Addr | |||
{ | |||