Compiler Design: Graph-Based Greedy Register Allocation

Assembly Format All assembly code in this post follows Intel syntax: Operation Destination, Source x86-64 General Purpose Registers x86-64 architecture has 16 general purpose registers. 16 general purpose registers of x86-64 Special Registers Among the 16 general purpose registers, %rbp and %rsp has special meanings that are not recommended to be changed by program. %rsp is stack pointer, indicates the current address of the stack. %rbp is base pointer, indicates the start address of a stack frame....

January 22, 2024 · Junxi He (building Compiler with Zilong God)