本文匯總 x64 架構下最核心的暫存器狀態與 ABI 約定。 暫存器 x64 暫存器完美向下相容。 寫入低 32 位 (如 MOV EAX, 1 ) 會自動清零高 32 位;但寫入 8/16 位則保留高位數據。 通用暫存器 (GPRs) 速查表 64-bit 32-bit 16-bit 8-bit 用途 (System V / 通用) 易失性 RAX EAX AX AL 返回值 / 累加器 Cal…
Louis Aeilot's Blog 的其他文章
- How Close Is FlashAttention to the Limit? Understanding Attention Through Data Movement
- Beyond FLOPs: How COSMA Builds Parallel Matrix Multiplication from Communication Bounds
- The Red-Blue Pebble Game: Why Faster Processors Still Have to Move Data
- Git Needs a Trash Can
- RoPE: Properties, Patterns, and Long-Context Behavior
讨论
登录后参与讨论
还没有评论,来说第一句吧。