Skip to content

Commit

Permalink
Add basic mips to autosync config
Browse files Browse the repository at this point in the history
  • Loading branch information
wargio committed Jul 28, 2024
1 parent 4f964a2 commit f8dd32c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion suite/auto-sync/src/autosync/ASUpdater.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ def parse_args() -> argparse.Namespace:
"-a",
dest="arch",
help="Name of target architecture.",
choices=["ARM", "PPC", "AArch64", "Alpha", "LoongArch"],
choices=["ARM", "PPC", "AArch64", "Alpha", "LoongArch", "Mips"],
required=True,
)
parser.add_argument(
Expand Down
11 changes: 10 additions & 1 deletion suite/auto-sync/src/autosync/cpptranslator/arch_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"{LLVM_ROOT}/llvm/lib/Target/ARM/Utils/ARMBaseInfo.h"
]
},
"PPC": {
"PPC": {
"files_to_translate": [
{
"in": "{LLVM_ROOT}/llvm/lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp",
Expand Down Expand Up @@ -150,5 +150,14 @@
"templates_with_arg_deduction": [
],
"manually_edited_files": []
},
"Mips": {
"files_to_translate": [],
"files_for_template_search": [
"{CPP_INC_OUT_DIR}/MipsGenDisassemblerTables.inc",
"{CPP_INC_OUT_DIR}/MipsGenAsmWriter.inc"
],
"templates_with_arg_deduction": [],
"manually_edited_files": []
}
}

0 comments on commit f8dd32c

Please sign in to comment.