I am wondering how tcg reg alloc works. Specifically, how do i reserve a register only for one specific purpose. R14 on tcg i386 is reserved to point to the cpustate strcuture. it is assigned in the prologue, but what code makes sure that it is not clobbered in the middle of a TB ?
Thanks Xin