linx-compiler

仓库创建 2026年2月7日最近提交 23 天前SkillHot 收录 22 天前
▸ 精选理由

包含后端与生成器检查,专为编译器开发者设计

▸ 风险提示

会运行本地构建与测试命令,需开发环境与权限

这个 Skill 做什么

Linx 编译器与 LLVM 后端的开发、调试与验证工作流

围绕 Linx 编译器与 LLVM 后端做实现、调试与验证工作,关注 TableGen/ISel/MC、ABI 与 call/ret 降低、汇编与反汇编、目标对象与重定位正确性。实现或调试 codegen、运行编译覆盖套件或验证 compile-only gate 时用。特色是紧贴 AVS compile gates 与 LLVM 工具链,便于端到端定位编译器问题。

▸ 展开 SKILL.md 英文原文

Linx compiler/backend workflow for LLVM and compile gates. Use when implementing or debugging Linx codegen/MC behavior, enforcing call/ret lowering contracts, running compile coverage suites, or validating object/relocation correctness.

开发编程编译器LLVM代码生成通用
1
Stars
3
Forks
11
仓库内 Skill
+0
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/LinxISA/linx-skills/main/linx-compiler/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/LinxISA/linx-skills/main/linx-compiler/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# Linx Compiler

## Overview

Use this skill for all compiler-side work centered on `compiler/llvm` and AVS compile gates.

## Focus areas

- Target backend changes (TableGen/ISel/MC/asm/disasm).
- ABI and call/ret lowering correctness.
- Compile-only gate stability and coverage.

## Canonical checks

```bash
python3 /Users/zhoubot/linx-isa/tools/isa/gen_c_codec.py --spec /Users/zhoubot/linx-isa/isa/v0.56/linxisa-v0.56.json --out-dir /tmp/linxisa-llvm-codec-check
diff -q /tmp/linxisa-llvm-codec-check/linxisa_opcodes.h /Users/zhoubot/linx-isa/compiler/llvm/llvm/lib/Target/LinxISA/MCTargetDesc/linxisa_opcodes.h
diff -q /tmp/linxisa-llvm-codec-check/linxisa_opcodes.c /Users/zhoubot/linx-isa/com
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有