Skip to content

fix(pause): loong64 zero register and riscv64 PAUSE hint#5

Merged
hayabusa-cloud merged 2 commits into
mainfrom
fix
Dec 28, 2025
Merged

fix(pause): loong64 zero register and riscv64 PAUSE hint#5
hayabusa-cloud merged 2 commits into
mainfrom
fix

Conversation

@hayabusa-cloud

@hayabusa-cloud hayabusa-cloud commented Dec 28, 2025

Copy link
Copy Markdown
Owner

Summary

  • loong64: Fix pauseN using R0 (zero register) → R4
  • riscv64: Replace FENCE with PAUSE (Zihintpause)

Details

loong64

R0 in LoongArch64 is hardwired to zero. Loop counter was broken.

riscv64

PAUSE (0x0100000F) is a lightweight power-saving hint.

Testing

  • All 8 architectures build

@codecov

codecov Bot commented Dec 28, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@hayabusa-cloud hayabusa-cloud marked this pull request as ready for review December 28, 2025 09:11
@hayabusa-cloud hayabusa-cloud merged commit fe4e357 into main Dec 28, 2025
13 checks passed
@hayabusa-cloud hayabusa-cloud deleted the fix branch December 28, 2025 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant