rawdog-jit-asm
БесплатноБез исполняемых скриптовНе проверенAuthor and wire RawDog JIT NASM blobs for PerfectHash online (x64), including sentinel patching, CMake header generation, and validation against LLVM/offline…
от tpn★ 97 звёзд на GitHubОб этом скилле
RawDog JIT Assembly
Overview
Author x64 NASM RawDog JIT Index() blobs, wire them into the RawDog backend, and validate correctness against SlowIndex and offline compiler output.
Workflow
Identify the exact index algorithm
- Inspect
src/PerfectHash/PerfectHashTableHashEx.cfor the hash math. - Inspect
src/PerfectHash/ChmOnline01.c(BuildChm01Index* switch) for the actual index logic (masking, table loads, index mask).
- Inspect
Create the NASM blob
- Copy style and conventions from
src/PerfectHash/PerfectHashTableFastIndexEx_x64_01.asmand existing RawDog blobs. - Use the RawDog sentinel values for
Assigned,Seed1,Seed2,Seed3Byte1,Seed3Byte2,HashMask, andIndexMaskas needed. - Ensure each sentinel appears exactly once in the data block; load once into a register and reuse if needed.
- Copy style and conventions from
Generate the embedded header
- Add a CMake
add_custom_command()to runnasm->objcopy->scripts/generate_rawdog_jit_header.py. - Append the generated header to
Private_Header_Filesinsrc/PerfectHash/CMakeLists.txt.
- Add a CMake
Wire the backend
- Update
src/PerfectHash/ChmOnline01RawDog.cto select the new blob and patch sentinels. - Keep RawDog constrained to supported flags (scalar Index32 only for now).
- Update
Validate
- Add or update a RawDog unit test in
tests/PerfectHashOnlineTests.cpp. - Run the offline compiler path and disassemble the resulting
.sofor reference (seereferences/offline-compile-and-disasm.md).
- Add or update a RawDog unit test in
References
- Offline build + disassembly workflow:
references/offline-compile-and-disasm.md
Установить rawdog-jit-asm в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл rawdog-jit-asm?
Author and wire RawDog JIT NASM blobs for PerfectHash online (x64), including sentinel patching, CMake header generation, and validation against LLVM/offline outputs. Use when adding or modifying RawDog JIT assembly for a hash function or when comparing compiler output for reference.
Как установить скилл rawdog-jit-asm?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл rawdog-jit-asm запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic