mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-26 23:21:11 +00:00
Add LoongArch support
This commit is contained in:
parent
1f5a51cec8
commit
1ac920cc21
@ -1025,7 +1025,7 @@ void PrinterCapstone::decoderEmitterEmitDecodeInstruction(
|
||||
<< "}\n\n";
|
||||
|
||||
std::set<std::string> HasTwoByteInsns = {"ARM"};
|
||||
std::set<std::string> HasFourByteInsns = {"ARM", "PPC", "AArch64"};
|
||||
std::set<std::string> HasFourByteInsns = {"ARM", "PPC", "AArch64", "LoongArch"};
|
||||
|
||||
if (HasTwoByteInsns.find(TargetName) != HasTwoByteInsns.end())
|
||||
OS << "FieldFromInstruction(fieldFromInstruction_2, uint16_t)\n"
|
||||
|
Loading…
Reference in New Issue
Block a user