> But where do you want that information to be at runtime? > > The hard part is not getting the information at compile time. The > information is readily available after register allocation. Heck, you > can see right in the dump files; e.g., use -da when you compile and look > at the pro_and_epilogue dump file. > > The hard part is getting that information to be available at runtime.
Recently I have read about GCC LTO. Somehow I feel there are some similarities between what LTO does and what I want to do. The major difference between them is LTO dump GIMPLE bytecode into the object file, and what I (binary translator) want is not so high-level information. Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667