원클릭으로
check-parity
Check that aarch64 JIT interpreter functions match generic CPU behavior
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Check that aarch64 JIT interpreter functions match generic CPU behavior
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Analyze jitc.log to find JIT compilation issues — fragment gaps, branch overflow, bad codegen
Analyze a kernel Oops from the printk buffer in a PearPC memory dump
Analyze the JIT dispatch trace to diagnose boot stalls or crashes
Compare memory regions between generic and JIT memory dumps to find divergences
Extract and display the Linux kernel printk ring buffer from a PearPC memory dump
| name | check-parity |
| description | Check that aarch64 JIT interpreter functions match generic CPU behavior |
| allowed-tools | Bash, Read, Grep |
| argument-hint | ["opcode-name"] |
Run the interpreter parity check and analyze results. If an opcode name is given, show a side-by-side diff for that specific opcode.
Always run the stub audit first — this catches no-op stubs (the #1 bug source):
python3 scripts/debug/stub_audit.py $ARGUMENTS
If an opcode name was given, this shows a side-by-side generic vs JIT diff. If no arguments, it scans all functions and reports no-op stubs.
Run ./scripts/debug/check_interpreter_parity.sh
For any issues found:
For each GEN_INTERPRET warning, check the x86 JIT (src/cpu/cpu_jitc_x86/ppc_opc.cc) to see how it handles the same opcode. The x86 JIT is the reference for how gen_ functions should work.
GEN_INTERPRET CANNOT dispatch synchronous exceptions. The only correct approaches are: