On 4/7/20 2:01 PM, Erick Ochoa wrote:
Hello,
Can someone help me understand better GCC's profile driven instrumentation? I
know this can be a long topic, but I am not looking for a long discussion. I am
just trying to orient myself regarding GCC's FDO implementation.
Hello.
Sure.
1. I kn
Hello,
Can someone help me understand better GCC's profile driven
instrumentation? I know this can be a long topic, but I am not looking
for a long discussion. I am just trying to orient myself regarding GCC's
FDO implementation.
1. I know that gcc uses an instrumentation based profiler. Thi
Hallo,
i would like to instrument some existing code. For example, after an ADD-EXPR:
int main() {
int a=5;
int b=5;
int c = a + b; ...
}
should become:
...
int c = a + b;
puts("ADD-EXPR");
...
I thought writing a Gimple-pass would be best, but i don't know exactly where
to start. I'm
On Thu, 2008-05-29 12:03:05 +, Narech K <[EMAIL PROTECTED]> wrote:
> Is there a way to make GCC to instrument every function it compiles with a
> prologue/epilogue call to a user defined code a la MSVC's _penter and
> _pexit, e.g.:
>
> http://msdn.microsoft.com/en-us/library/c63a9b7h.aspx
>
On Thu, May 29, 2008 at 2:03 PM, Narech K <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Is there a way to make GCC to instrument every function it compiles with a
> prologue/epilogue call to a user defined code a la MSVC's _penter and
> _pexit, e.g.:
>
> http://msdn.microsoft.com/en-us/library/c63a9b7h.aspx
Hi,
Is there a way to make GCC to instrument every function it compiles with a
prologue/epilogue call to a user defined code a la MSVC's _penter and
_pexit, e.g.:
http://msdn.microsoft.com/en-us/library/c63a9b7h.aspx
http://msdn.microsoft.com/en-us/library/xc11y76y.aspx
If not, can anyone sugg
Hi everyone
I don't know if this is a development-list issue but I thought I'd try.
I'm writing a code instrumentation tool using the GEM
plugin-system (http://www.ecsl.cs.sunysb.edu/gem/) as a part of my
thesis project. I got it working in gcc-3.4 with a little help from the
Hi everyone
I don't know if this is a development-list issue but I thought I'd try.
I'm writing a code instrumentation tool using the GEM
plugin-system (http://www.ecsl.cs.sunysb.edu/gem/) as a part of my
thesis project. I got it working in gcc-3.4 with a little help from the
sean yang wrote:
The GCC internals explicitly introduced code manipulation APIs in TREE
representation (bsi_insert_before, bsi_remove etc). But I did not see
the equivalent for RTL representation.
There is emit_insn_after, emit_insn_before.
There is also the sequence stuff: start_sequence, en
The GCC internals explicitly introduced code manipulation APIs in TREE
representation (bsi_insert_before, bsi_remove etc). But I did not see the
equivalent for RTL representation.
Say, I want to enable a counter for a n-depth-nested loop. For example, I
want to add a counter instruction to cou
10 matches
Mail list logo