Add .py file extension to Python

This commit is contained in:
Margen67
2025-07-28 23:54:52 -07:00
parent 03c0e70f8b
commit 4a5f63650d
14 changed files with 31 additions and 31 deletions

View File

@@ -1,4 +1,4 @@
// This code was autogenerated by ./tools/ppc-table-gen. Do not modify!
// This code was autogenerated by ./tools/ppc-table-gen.py. Do not modify!
// clang-format off
#ifndef XENIA_CPU_PPC_PPC_OPCODE_H_
#define XENIA_CPU_PPC_PPC_OPCODE_H_

View File

@@ -1,4 +1,4 @@
// This code was autogenerated by ./tools/ppc-table-gen. Do not modify!
// This code was autogenerated by ./tools/ppc-table-gen.py. Do not modify!
// clang-format off
#include <cstdint>
#include <cstdlib>
@@ -5407,7 +5407,7 @@ static constexpr PPCOpcodeDisasmInfo ppc_opcode_disasm_table[] = {
INSTRUCTION(0x7c000278, "xorx" , kX , kI, kGeneral, "XOR" , (PPCOpcodeField::kRS,PPCOpcodeField::kRB), (PPCOpcodeField::kRA,PPCOpcodeField::kCRcond), PrintDisasm_xorx),
};
#undef INSTRUCTION
static_assert(sizeof(ppc_opcode_disasm_table) / sizeof(PPCOpcodeDisasmInfo) == static_cast<int>(PPCOpcode::kInvalid), "PPC table mismatch - rerun ppc-table-gen");
static_assert(sizeof(ppc_opcode_disasm_table) / sizeof(PPCOpcodeDisasmInfo) == static_cast<int>(PPCOpcode::kInvalid), "PPC table mismatch - rerun ppc-table-gen.py");
const PPCOpcodeDisasmInfo& GetOpcodeDisasmInfo(PPCOpcode opcode) {
return ppc_opcode_disasm_table[static_cast<int>(opcode)];

View File

@@ -1,4 +1,4 @@
// This code was autogenerated by ./tools/ppc-table-gen. Do not modify!
// This code was autogenerated by ./tools/ppc-table-gen.py. Do not modify!
// clang-format off
#include <cstdint>
#include <cstdlib>

View File

@@ -1,4 +1,4 @@
// This code was autogenerated by ./tools/ppc-table-gen. Do not modify!
// This code was autogenerated by ./tools/ppc-table-gen.py. Do not modify!
// clang-format off
#include <cstdint>
#include <cstdlib>
@@ -471,7 +471,7 @@ PPCOpcodeInfo ppc_opcode_table[] = {
INSTRUCTION(0x7c000278, "xorx" , kX , kI, kGeneral),
};
#undef INSTRUCTION
static_assert(sizeof(ppc_opcode_table) / sizeof(PPCOpcodeInfo) == static_cast<int>(PPCOpcode::kInvalid), "PPC table mismatch - rerun ppc-table-gen");
static_assert(sizeof(ppc_opcode_table) / sizeof(PPCOpcodeInfo) == static_cast<int>(PPCOpcode::kInvalid), "PPC table mismatch - rerun ppc-table-gen.py");
const PPCOpcodeInfo& GetOpcodeInfo(PPCOpcode opcode) {
return ppc_opcode_table[static_cast<int>(opcode)];

View File

@@ -5,10 +5,10 @@ runner.
Each test is structured as a source `[name].s` PPC assembly file and the
generated outputs. The outputs are made using the custom build of binutils
setup when `xenia-build gentests` is called and are checked in to make it easier
setup when `xb gentests` is called and are checked in to make it easier
to run the tests on Windows.
Tests are run using the `xenia-test` app or via `xenia-build test`.
Tests are run using the `xenia-test` app or via `xb test`.
## Execution