mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-14 06:00:41 +02:00
IRDumper: Add missing FenceType entry
This commit is contained in:
1 parent
25e851b570
commit
e37996873a
2 files changed
+10
-9
No files matched your search
@@ -750,6 +750,7 @@
|
||||
"FenceType::Load: Ensures load memory operations are serialized",
|
||||
"FenceType::Store: Ensures store memory operations are serialized",
|
||||
"FenceType::LoadStore: Ensures loads and store memory operations are serialized",
|
||||
"FenceType::Inst: Instruction barrier. Ensures all instructions after this point will be explicitly fetched",
|
||||
"Ensures the memory operations are globally visible"
|
||||
],
|
||||
"HasSideEffects": true
|
||||
|
||||
@@ -125,15 +125,15 @@ static void PrintArg(fextl::stringstream* out, const IRListView* IR, OrderedNode
|
||||
}
|
||||
|
||||
static void PrintArg(fextl::stringstream* out, const IRListView*, FenceType Arg) {
|
||||
if (Arg == FenceType::Load) {
|
||||
*out << "Loads";
|
||||
} else if (Arg == FenceType::Store) {
|
||||
*out << "Stores";
|
||||
} else if (Arg == FenceType::LoadStore) {
|
||||
*out << "LoadStores";
|
||||
} else {
|
||||
*out << "<Unknown Fence Type>";
|
||||
}
|
||||
*out << [Arg] {
|
||||
switch (Arg) {
|
||||
case FenceType::Load: return "Loads";
|
||||
case FenceType::Store: return "Stores";
|
||||
case FenceType::LoadStore: return "LoadStores";
|
||||
case FenceType::Inst: return "Instruction";
|
||||
}
|
||||
return "<Unknown Fence Type>";
|
||||
}();
|
||||
}
|
||||
|
||||
static void PrintArg(fextl::stringstream* out, const IRListView*, RoundMode Arg) {
|
||||
|
||||
Reference in new issue
Block a user