Re: RFC - GCC Architectural Goals

2011-12-07 Thread
by this way, I have no objection. :) Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj

Re: RFC - GCC Architectural Goals

2011-12-07 Thread
roach can encourage more people to involve in helping GCC better. What do you think? Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 Homepage: http://people.cs.nctu.edu.tw/~chenwj

Re: Why running the next command will jump back to the previous line position

2011-10-30 Thread
k at it? Maybe you can ask GCC C++ frontend developers (see ${SOURCE}/MAINTAINERS) directly. Perhaps they can tell you where to start to fix the problem. :-) Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667

Generate annotations for a binary translator - loop boundry

2011-06-16 Thread
ail-archive.com/gcc@gcc.gnu.org/msg58152.html [2] http://markmail.org/thread/a2ze4v7o4ez64xmd -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667

Re: Generate annotations for a binary translator

2011-06-16 Thread
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

Re: Generate annotations for a binary translator

2011-06-14 Thread
hould be the same in this case, right? Although I am not 100% sure if they do exactly what the comments say. ;-) Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667

Re: Generate annotations for a binary translator

2011-06-14 Thread
> Sure: the document source is gcc/doc/cfg.texi. Thanks. Already sent to gcc-patches. :-) http://gcc.gnu.org/ml/gcc-patches/2011-06/msg01003.html Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2

Re: Generate annotations for a binary translator

2011-06-14 Thread
endent_reorg, > which is what a backend (in config/*) calls > TARGET_MACHINE_DEPENDENT_REORG. Which means if config/arch does NOT define TARGET_MACHINE_DEPENDENT_REORG , then pass_machine_reorg does NOTHING for that arch. Am I right? Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems

Re: Generate annotations for a binary translator

2011-06-13 Thread
r delayed-branch scheduling. And you said it depends on particular target. Did you mean those architectures have branch delay slot, like those listed in the comments in gcc/reorg.c? Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiw

Re: Generate annotations for a binary translator

2011-06-12 Thread
his implies we have to do some magic as the CFG can simultaneously consist of basic blocks containing RTL and GIMPLE trees." Is there a way for me to correct the document? Thanks! Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667

Re: Generate annotations for a binary translator

2011-06-09 Thread
CFG the same as the one in the assembly? I mean if I analysis the assembly and contruct the CFG back, they are the same? Thanks. Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667

Re: Generate annotations for a binary translator

2011-06-08 Thread
in the tree representation is discarded before expanding to RTL. Long term the CFG should be maintained and "expanded" to the RTL representation along with the function tree itself." Does this mean in the end of GCC compilation, the CFG information is lost? Thanks! Regards, che

[npick...@gmail.com: Re: Generate annotations for a binary translator]

2011-06-02 Thread
Fwd to the list. -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667 --- Begin Message --- I think you can try to modify the assembler to extend the assemble syntax to encoding the info (such as add some

Re: Generate annotations for a binary translator

2011-06-02 Thread
don't know if this is the correct way to do so. Any idea? Thanks. Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667

Re: Generate annotations for a binary translator

2011-05-17 Thread
tion such as CFG in a similar way as register usage does? Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667

Re: Generate annotations for a binary translator

2011-05-17 Thread
"the hard part" you mean is how to insert that information into executable directly without using something like `objcopy`. Is that right? Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667

Re: Generate annotations for a binary translator

2011-05-16 Thread
with its corresponding binary (virtual) address. Thanks. Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667

Re: Generate annotations for a binary translator

2011-05-16 Thread
Hi, Ian I found a gcc plugin called gcc-vcg-plugin (http://code.google.com/p/gcc-vcg-plugin/). I am not sure if this can be a start point. Any comments? Thanks. Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C

Generate annotations for a binary translator

2011-05-12 Thread
inary (virtual) address. If it is possible to generating such information, which part of gcc should I look into first? Thanks! Regards, chenwj -- Wei-Ren Chen (陳韋任) Computer Systems Lab, Institute of Information Science, Academia Sinica, Taiwan (R.O.C.) Tel:886-2-2788-3799 #1667