From: Paul K. <pv...@pv...> - 2009-12-22 22:47:06
|
In emit-ea ($ARCH/insts.lisp), we can find: (unless allow-constants (error "Constant TNs can only be directly used in MOV, PUSH, and CMP.")) I don't think that's still true. As far as I can tell, this used to be true back when gencgc sniffed code objects on relocation (that code could only handle mov, push, cmp and lea). Now that we have a relocation table on x86 and RIP-relative addressing on x86-64, we could allow constants everywhere. Paul Khuong |