1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Add micro architecture data.

This commit is contained in:
Bartosz Taudul
2020-04-26 22:25:15 +02:00
parent 9488ee0f9e
commit 800f740fd5
4 changed files with 90859 additions and 0 deletions
File diff suppressed because one or more lines are too long
+44
View File
@@ -0,0 +1,44 @@
#include <stdint.h>
namespace tracy
{
struct AsmDesc
{
uint8_t type;
uint16_t width;
};
struct AsmVar
{
int descNum;
AsmDesc desc[5];
int isaSet;
float tp;
int port, uops, minlat, maxlat;
bool minbound, maxbound;
};
struct AsmOp
{
int id;
int numVariants;
const AsmVar*const* variant;
};
struct MicroArchitecture
{
int numOps;
const AsmOp*const* ops;
};
extern const char* MicroArchitectureList[];
extern const char* PortList[];
extern const char* OpsList[];
extern const char* IsaList[];
extern const MicroArchitecture* const MicroArchitectureData[];
extern int OpsNum;
extern int MicroArchitectureNum;
};