Skip to content

Implement compact tile_buf assembly syntax#381

Open
Zhendong404 wants to merge 1 commit intohw-native-sys:mainfrom
Zhendong404:feature-pretty-ir
Open

Implement compact tile_buf assembly syntax#381
Zhendong404 wants to merge 1 commit intohw-native-sys:mainfrom
Zhendong404:feature-pretty-ir

Conversation

@Zhendong404
Copy link
Copy Markdown

@Zhendong404 Zhendong404 commented Mar 27, 2026

#381

Summary

  • switch !pto.tile_buf custom assembly printing to compact canonical syntax
  • keep the parser backward-compatible with the legacy keyed syntax
  • preserve arch-sensitive loc=left parser normalization and add focused regressions

Testing

  • python3 test/python/compact_tile_buf_asm.py
  • ./build/tools/ptoas/ptoas --pto-arch a3 test/basic/left_blayout_parser_a3.pto | /home/zhangzhendong/.local/bin/FileCheck test/basic/left_blayout_parser_a3.pto
  • ./build/tools/ptoas/ptoas --pto-arch a5 test/basic/left_blayout_parser_a5.pto | /home/zhangzhendong/.local/bin/FileCheck test/basic/left_blayout_parser_a5.pto
  • ./build/tools/ptoas/ptoas --pto-arch a3 test/basic/compact_left_blayout_parser_a3.pto 2>&1 | /home/zhangzhendong/.local/bin/FileCheck test/basic/compact_left_blayout_parser_a3.pto
  • ./build/tools/ptoas/ptoas --pto-arch a5 test/basic/compact_left_blayout_parser_a5.pto 2>&1 | /home/zhangzhendong/.local/bin/FileCheck test/basic/compact_left_blayout_parser_a5.pto

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants