mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-05-16 17:13:59 -04:00
## Summary - Fixes #8622: adds assembly documentation entries for the RISC-V `sgt` and `sgtu` pseudoinstructions so the hover/"View assembly documentation" feature works instead of showing an error. - `sgt rd, rs, rt` expands to `slt rd, rt, rs`; `sgtu rd, rs, rt` expands to `sltu rd, rt, rs`. Entries follow the same shape as the existing `SGTZ` pseudo entry. ## Test plan - [x] `npx vitest run test/handlers/asm-docs-tests.ts` - [x] `npx tsc --noEmit` - [x] `npm run lint` (no new errors) --- This PR is authored by an LLM (Claude) acting on behalf of @mattgodbolt. --------- Co-authored-by: mattgodbolt-molty <mattgodbolt-molty@users.noreply.github.com> Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>