Question on ipa-bit-cp and pointer_plus_expr

2022-02-17 Thread Erick Ochoa via Gcc
Hello, I'm trying to understand ipa-bit-cp/ipa-cp and how the known bits are propagated to the lattice in the case of a pointer_plus_expr. I have a piece of code similar to the following (this being a simplified example) int main () { // a = some pointer. foo (a); } foo (void* a) { bar (a

Re: Question on ipa-bit-cp and pointer_plus_expr

2022-02-17 Thread Martin Jambor
Hi, On Thu, Feb 17 2022, Erick Ochoa via Gcc wrote: > Hello, > > I'm trying to understand ipa-bit-cp/ipa-cp and how the known bits are > propagated to the lattice in the case of a pointer_plus_expr. > > I have a piece of code similar to the following (this being a simplified > example) > > int mai

Re: Question on ipa-bit-cp and pointer_plus_expr

2022-02-17 Thread Erick Ochoa via Gcc
Thanks Martin! The example I showed is simplified and I had not specified that I was using LTO, but I am. Thanks for asking me to clarify this. The issue I have with the information in the Lattice section of the dump is that it shows the information once the analysis has achieved a fixed point. H

Re: Question on ipa-bit-cp and pointer_plus_expr

2022-02-17 Thread Martin Jambor
Hi, On Thu, Feb 17 2022, Erick Ochoa wrote: > Thanks Martin! > > The example I showed is simplified and I had not specified that I was using > LTO, but I am. Thanks for asking me to clarify this. > > The issue I have with the information in the Lattice section of the dump is > that it shows the in

Re: Benchmark recommendations needed

2022-02-17 Thread Hans-Peter Nilsson
On Mon, 14 Feb 2022, Andras Tantos wrote: > Hello all! > > I'm working on porting GCC to a new processor architecture. I think > I've finally got to a fairly stable stage, so the next logical step > would be to test and optimize. For that, I would need some benchmarks, > and this is where I'm seeki

Re: Question on ipa-bit-cp and pointer_plus_expr

2022-02-17 Thread Erick Ochoa via Gcc
> If I understand you correctly, that is indeed the jump function, > obtainable through ipa_get_ith_jump_func (args, i) where args is a > result of ipa_edge_args_sum->get and i is the index of the parameter. > Thanks Martin! So then, am I correct in thinking that callsite foo -> bar param 0: PAS

Re: Question on ipa-bit-cp and pointer_plus_expr

2022-02-17 Thread Martin Jambor
Hi, On Thu, Feb 17 2022, Erick Ochoa wrote: >> If I understand you correctly, that is indeed the jump function, >> obtainable through ipa_get_ith_jump_func (args, i) where args is a >> result of ipa_edge_args_sum->get and i is the index of the parameter. >> > > Thanks Martin! > > So then, am I cor

Re: Benchmark recommendations needed

2022-02-17 Thread andras
Thanks H-P! I'll certainly check it out. Andras February 17, 2022 9:15 AM, "Hans-Peter Nilsson" wrote: > On Mon, 14 Feb 2022, Andras Tantos wrote: > >> Hello all! >> >> I'm working on porting GCC to a new processor architecture. I think >> I've finally got to a fairly stable stage, so the nex

gcc-9-20220217 is now available

2022-02-17 Thread GCC Administrator via Gcc
Snapshot gcc-9-20220217 is now available on https://gcc.gnu.org/pub/gcc/snapshots/9-20220217/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 9 git branch with the following options: git://gcc.gnu.org/git/gcc.git branch