Re: Enabling IPCP by default

2008-08-29 Thread Jan Hubicka
> On Fri, 29 Aug 2008, Jan Hubicka wrote: > > > Hi, > > tonight testing on x86_64, i386 and IA-64 didn't seem to bring any new > > surprises, so I've comitted the following patch. > > I will also update changes page of 4.4. > > > > * doc/i

Re: Enabling IPCP by default

2008-08-29 Thread Jan Hubicka
> > On Fri, 29 Aug 2008, Jan Hubicka wrote: > > > > > Hi, > > > tonight testing on x86_64, i386 and IA-64 didn't seem to bring any new > > > surprises, so I've comitted the following patch. > > > I will also update changes page of 4.

Re: Information about LTO

2007-05-03 Thread Jan Hubicka
> On 5/2/07, Sjodin, Jan <[EMAIL PROTECTED]> wrote: > >Thanks for all the responses. It seems like LTO will have to wait for > >the tuples or there will be a lot of throw-away code. > > If you really only can think of LTO as the reader/writer, then perhaps > yes. But if you read back this thread,

Re: [rfc] Moving bbs back to pools

2007-06-08 Thread Jan Hubicka
> Zdenek Dvorak <[EMAIL PROTECTED]> writes: > > > The problem is, that it does not give any speedups (it is almost > > completely compile-time neutral for compilation of preprocessed > > gcc sources). I will check whether moving also edges to pools > > changes anything, but so far it does not see

Re: [rfc] Moving bbs back to pools

2007-06-08 Thread Jan Hubicka
> Hello, > > as discussed in http://gcc.gnu.org/ml/gcc-patches/2007-05/msg01133.html, > it might be a good idea to try moving cfg to alloc pools. The patch > below does that for basic blocks (each function has a separate pool > from that its basic blocks are allocated). At the moment, the patch

Re: virtual stack regs.

2007-06-19 Thread Jan Hubicka
> I would like to get some more information about pr32374. > > I do not know what virtual_stack_vars are and there is no documentation > in the doc directory. It is documented: @findex VIRTUAL_STACK_VARS_REGNUM @cindex @code{FRAME_GROWS_DOWNWARD} and virtual registers @item VIRTUAL_STACK_VARS_REG

Re: failed to compile trunk svn rev 126124

2007-06-29 Thread Jan Hubicka
> Same here (OpenSUSE 10.2, gcc 4.1.3), also for rev. 126127. This was caused by accidental commit of mine (ie I've commited cse.c with sharing changes). It is reverted now. Honza

Re: no_new_pseudos

2007-07-02 Thread Jan Hubicka
> Kenneth Zadeck wrote: > >I do not remember if it was stevenb or bonzini that observed that > >because of changes that came with the dataflow branch it is now trivial > >to get rid of no_new_pseudos. > > For the record, this was Steven's observation. And Kenner confirming > that this was the or

Re: AMD64 ABI compatibility

2007-07-10 Thread Jan Hubicka
> On 09 July 2007 20:48, Nicolas Alt wrote: > > > Hi! > > > > On the AMD64 / x86-64Bit architecture, some arguments of a functions > > are passed using registers, but there seem to be two different > > conventions out there. The standard ABI uses 6 registers, but > > Microsoft compilers use only

Re: AMD64 ABI compatibility

2007-07-10 Thread Jan Hubicka
> > Windows and GCC ABIs are on x86-64 more different than that (they was > > historically developed in parallel). GCC 4.3 will support attribute for > > this calling convention contributed by Kai Tiez and Richard Henderson, > > but before that there is not much to do... > Note: My name is Kai Tiet

Re: AMD64 ABI compatibility

2007-07-10 Thread Jan Hubicka
> > > > For MS I would probably suggest ms_abi (it makes it cleaner that the > > attribute is affecting calling convetion). For our abi I am not sure, we > > can sysv_abi or something else... > > I will prepare an patch for it. For me "ms_abi" and "sysv_abi" is fine. I would say that it is in ge

Re: AMD64 ABI compatibility

2007-07-10 Thread Jan Hubicka
> > I am on that tricky thing ;) I think I need in i386.c an global variable > "ix86_amd64_abi" which helds the the current function abi. This means also > that I have to use instead of TARGET_64BIT_MS_ABI this variable. This var > may initioalized by init_cumulative_args and the overriden > R

Re: AMD64 ABI compatibility

2007-07-10 Thread Jan Hubicka
> > > > I am on that tricky thing ;) I think I need in i386.c an global variable > > "ix86_amd64_abi" which helds the the current function abi. This means also > > that I have to use instead of TARGET_64BIT_MS_ABI this variable. This var > > may initioalized by init_cumulative_args and the over

Re: AMD64 ABI compatibility

2007-07-11 Thread Jan Hubicka
> > I thank you very much for your great help. Currently I am stucked on > x86_function_value_regno_p (macro FUNCTION_VALUE_REGNO_P). It is not clear > what's to do here for the FIRST_FLOAT_REG case. Maybe I could use the > ms_abi variant for sysv_abi as default too. But I think, it breaks 87 f

Re: AMD64 ABI compatibility

2007-07-11 Thread Jan Hubicka
> Jan Hubicka wrote on 11.07.2007 14:01:54: > > > > > > > I thank you very much for your great help. Currently I am stucked on > > > x86_function_value_regno_p (macro FUNCTION_VALUE_REGNO_P). It is not > clear > > > what's to do here f

Re: debugging info considered harmful to lto.

2007-07-23 Thread Jan Hubicka
Hi, to add some extra data > At the summit, I discovered two things about the internal representation > of debugging information: > > 1) According to Honza, the instances of the BLOCK tree type take 30% of > the space in a compilation. this large portion appears on C++ testcases doing a lot of in

Re: debugging info considered harmful to lto.

2007-07-23 Thread Jan Hubicka
> On Mon, Jul 23, 2007 at 07:33:46PM +0200, Jan Hubicka wrote: > > The particular problem here is that the abstract origin pointers points > > to the blocks within functions they was constructed from. These are used > > by dwarf2out to output abstract copy of the function and

Re: debugging info considered harmful to lto.

2007-07-24 Thread Jan Hubicka
> Jan Hubicka wrote: > >Thanks for explanation - the space optimization seems relatively > >chalenging to implement, in particular because the variables in scope > >might change in between the time abstract copy is output and the time > >the block referencing to the bl

Re: [tuples] meaning of DECL_SAVED_TREE while analyzing cgraph

2007-07-26 Thread Jan Hubicka
> Hi Jan. > > What do you expect DECL_SAVED_TREE to have in cgraph_analyze_functions: > > /* ??? It is possible to create extern inline function and later using >weak alias attribute to kill its body. See >gcc.c-torture/compile/2009-1.c */ > if (!DECL_SAVED_TREE (

Re: AMD64 ABI compatibility

2007-07-31 Thread Jan Hubicka
> Hi Kai, > > so, could you resolve the remaining issues? Or have you kind of > paused the project? > > Cheers, > Nicolas > > > On Jul 12, 2007, at 2:14 , Kai Tietz wrote: > > >Hi, > > > >I am nearly through :) The remaining macros left to be ported are > >REGPARM_MAX and SSE_REGPARM_MAX. Th

Re: [tuples] meaning of DECL_SAVED_TREE while analyzing cgraph

2007-07-31 Thread Jan Hubicka
> > The test there is sort of hack, I would just remove it at this stage and > > we can work out better fix for that testcase later. I hope that with my > > plans for declaration merging pass we can get round such weird side > > effects of in place declaration replacement. > > Will do. > > How a

Re: ipa for fortran question

2007-08-12 Thread Jan Hubicka
> > Recently I have tried to run Spec2000 fortran benchmarks > with -fwhole-program and -combine flags. It looks like > there was no effect of really combining files into > one program, i.e. they are processed separately at ipa level. > > I wonder what's the reason for this. > Pointing to relevan

Re: GCC 4.3.0 Status Report (2007-08-09)

2007-08-14 Thread Jan Hubicka
> > Summary > --- > > We entered Stage 2 on July 6th. I plan to put us into Stage 3 on > September 10th. At that point, we will accept only bug-fixes -- no > more new features until Stage 1 for GCC 4.4. > > Are there any folks out there who have projects for Stage 1 or Stage 2 > that they

Re: GCC 4.3.0 Status Report (2007-08-09)

2007-08-15 Thread Jan Hubicka
> Jan Hubicka wrote: > > > One thing I would like to see in is the sharing checker. The criteria > > of bootstrap/regtesting on primary platforms is almost met now with > > exception of regmove pass that I sent patch for some time ago. > > http://gcc.gnu.org/ml/gcc

Re: RFC: Simplify rules for ctz/clz patterns and RTL

2007-08-15 Thread Jan Hubicka
> > Is popcount really slow on PowerPC? (Compared to clz?) Ideally one > would choose between the two expansions based on RTL costs, but the only > architectures it matters for are i386 and powerpc, and neither of them > define the cost of either clz or popcount. Of course adding a popcount

Re: Someone has caused regressions in gfortran

2007-09-04 Thread Jan Hubicka
> Someone has committed a patch that is causing both > gfortran.dg/do_3.F90 and gfortran.dg/c_char_tests.f03 > to fail at -O3 on amd64-*-freebsd. A quick inspection > of fortran/ChangeLog doesn't yield a pointer to any > particular commit. This may be caused by some middle-end > change, but I won

Re: Someone has caused regressions in gfortran

2007-09-05 Thread Jan Hubicka
> > Because of the famous duplicated declaration problem > > This sentence is reminding me that I forgot to send the following update: > > As I said I was going to give it a shot over the week-end, here's an > update on this: it won't make it into 4.3, because it's a big change > and my current p

Re: Someone has caused regressions in gfortran

2007-09-05 Thread Jan Hubicka
> >> As I said I was going to give it a shot over the week-end, here's an > >> update on this: it won't make it into 4.3, because it's a big change > >> and my current patch is triggering a very long string of > > Huh, still I would be interested in seeing the patch. > > It's based on Michal Matz'

Re: Someone has caused regressions in gfortran

2007-09-05 Thread Jan Hubicka
> Jan Hubicka wrote: > >Thanks, I sent the patch for testing and lets see if it solves the > >problem. > > If the testsuite passes, and you intend to commit this, please add a FIXME. Sadly, the testsuite regressions don't seems to be fixed. I will try to figure out to

[RFC] missing return warnings

2007-09-06 Thread Jan Hubicka
Hi, I am looking into what parts of frontend stil depends on frontend inline decision (ie DECL_INLINE now ignored by middle end). All these uses strike wrong, given that inlining decisions are independent on it. These divergences for example requires us to enable expensive -finline-functions for -

Re: Someone has caused regressions in gfortran

2007-09-06 Thread Jan Hubicka
> > Sadly, the testsuite regressions don't seems to be fixed. I will try to > > figure out tomorrow why the function is still being inlined. > > The test case gfortran.dg/do_3.F90 pass with -fno-strict-overflow > (see http://gcc.gnu.org/ml/fortran/2007-09/msg00116.html). > I have posted at http:/

Re: GCC 4.3.0 Status Report (2007-09-04)

2007-09-06 Thread Jan Hubicka
> Summary > === > > We are closing in on Stage 3, previously announced for September 10th. > At this point, I'm not aware of any reason to delay that date. Are > there any Stage 2 patches that people don't think will be submitted by > that point? I am still planning to do some retuning of in

Re: Someone has caused regressions in gfortran

2007-09-06 Thread Jan Hubicka
> > The testcase was indeed previously not inlined at all. Shall we add > > -fno-strict-overflow to the testcase then? > > This what I would do, but I am not qualified to make the call. > In addition my working setup is totally broken right now > (at stage1). Could you do the addition to the tes

Re: RTL sharing bootstrap failure on sparc-sun-solaris2.10

2007-09-06 Thread Jan Hubicka
> (Sorry, first one bounced from gcc@ because it was over 400k) > > Hi Jan, > > On sparc-sun-solaris2.10, I'm getting new bootstrap failures in stage2 > complaining several times about rtl sharing. I've included four .i files > for modules that ICEed during stage2, and the cc1 invocations below.

Re: RTL sharing bootstrap failure on sparc-sun-solaris2.10

2007-09-06 Thread Jan Hubicka
> Hi, > I already have fix for this just waiting for Andreas Tobler to verify > that it does what expected. If you could give it a try, it would be > nice. > > The problem is > > /* Called when INSN is being moved from a location near the target of a jump. >We leave a marker of the form (us

Re: RTL sharing bootstrap failure on sparc-sun-solaris2.10

2007-09-06 Thread Jan Hubicka
> Jan Hubicka <[EMAIL PROTECTED]> writes: > > > Producing USE expressions embedding whole INSN. The comment promise > > that those will be removed before reorg ends, but they are not. This > > patch just adds simple code to remove them in very last dbr_schedule

Re: RTL sharing bootstrap failure on sparc-sun-solaris2.10

2007-09-06 Thread Jan Hubicka
> Jan Hubicka <[EMAIL PROTECTED]> writes: > > > > Jan Hubicka <[EMAIL PROTECTED]> writes: > > > > > > > Producing USE expressions embedding whole INSN. The comment promise > > > > that those will be removed before reorg ends, but they

Re: [RFC] missing return warnings

2007-09-06 Thread Jan Hubicka
> Jan Hubicka wrote: > > > For C++ there are number of cases I need to go through dealing with > > attempts to not instantiate non-inline methods that won't be needed. > > I'm not sure exactly what cases you're referring to, but please be > careful. Fo

Re: [RFC] missing return warnings

2007-09-06 Thread Jan Hubicka
> Jan Hubicka wrote: > > > I am basically trying to avoid need for DECL_INLINE (while keeping > > DECL_DECLARED_INLINE and DECL_UNINLINABLE for frontend use) - inliner is > > now doing all the job himself to figure out what is or isn't needed. > > That certa

Re: [patch] restore bootstrap on ppc darwin

2007-09-07 Thread Jan Hubicka
> At revision 128228, the patch enables me to go from stage1 to stage3, but > bootstrap > still fails with: > > libtool: compile: /opt/gcc/darwin_buildw/gcc/gcj > -B/opt/gcc/darwin_buildw/powerpc-apple-darwin8/ppc64/libjava/ > -B/opt/gcc/darwin_buildw/gcc/ -fclasspath= > -fbootclasspath=../..

Re: RTL sharing bootstrap failure on sparc-sun-solaris2.10

2007-09-07 Thread Jan Hubicka
> > > This second patch also allows bootstrap to complete on my sparc box. Thanks for testing and good news, I will commit the patch Honza > > Thanks, > --Kaveh > -- > Kaveh R. Ghazi[EMAIL PROTECTED]

Re: Bootstrap failure (on FreeBSD)

2007-09-09 Thread Jan Hubicka
> On Sat, 8 Sep 2007, Andrew Pinski wrote: > > Rerun the command without the ">/dev/null 2>&1", libtool likes to say > > that PIC mode will give the same output as non PIC mode (which is not > > always true). > > Blind me. Obviously that redirection removed all traces of the real > error. Ahem.

Re: GCC 4.3.0 Status Report (2007-09-04)

2007-09-09 Thread Jan Hubicka
> Jan Hubicka wrote: > > > I am still planning to do some retuning of inliner (our inline limits > > wasn't revisited for inclusion of SSA optimizers). > > Assuming that the tuning is essentially twiddling constants, I'm not > overly worried. If you

Re: Bootstrap broken - treelang: error: 'treelang_expand_function' defined but not used

2007-09-12 Thread Jan Hubicka
> Andreas Jaeger <[EMAIL PROTECTED]> writes: > > > bootstrap with current svn head fails for me on Linux/x86-64: > ... > > cc1: warnings being treated as errors > > /cvs/gcc-svn/trunk/gcc/treelang/treetree.c:1191: error: > > ???treelang_expand_function??? defined but not used > > make[3]: *** [tr

Re: GCC 4.3.0 Status Report (2007-09-04)

2007-09-13 Thread Jan Hubicka
> Kai Tietz wrote: > > > See > > http://www.nabble.com/-PING%5E2-PATCH-%3A-Preparations-for-SYSV-MS-ABI-attributes-in-backend-tf4414541.html > > http://www.nabble.com/-PATCH-%3A-Implementation-for-SYSV-MS-ABI-attributes-in-i386-may-before-stage--3-tf4428449.html > > Thanks for letting me know. I

Re: Define __NO_MATH_INLINES for x86 -ffast-math?

2007-09-17 Thread Jan Hubicka
> On 9/17/07, Uros Bizjak <[EMAIL PROTECTED]> wrote: > > Hello! > > > > I have tripped over a problem, where #defines from libc > > (bits/mathinline.h) interfere badly with gcc's intrinsics. > > > > The problem (note the #include): > > > > --cut here-- > > #include > > > > double test (double x) >

Re: Last argument of lang_hooks_for_callgraph.analzye_tree unused?

2007-11-01 Thread Jan Hubicka
> Jan, I'm converting the call graph builder code for tuples and in the > process I ran into calls to lang_hooks.callgraph.analyze_expr(). From > what I've seen: > > 1- The third argument to that function (DECL), is not used by any callback. > > 2- In fact, if it was used, we'd ICE because the f

Re: [RFC] WHOPR - A whole program optimizer framework for GCC

2007-12-18 Thread Jan Hubicka
Hi, thanks for writting the proposal. It seems that at least in general terms we are all in sync. > At this point we are interested in getting feedback on the general idea. > There is some refactoring that will be needed inside the call-graph > manager and some aspects of the design may not even n

Re: [RFC] WHOPR - A whole program optimizer framework for GCC

2007-12-20 Thread Jan Hubicka
Hi, > > Jan, wrt the optimization plan coming out of the analysis phase, and the > various pieces of header/summary information, what do you think are the > major pieces we need? The cgraph used to be organized on a separate analysis, propagation and modify stages and the passes in implemented

Re: Question on calling possible_polymorphic_call_targets, side effects, and virtual tables.

2021-10-27 Thread Jan Hubicka via Gcc
> Hello, > > I have a SIMPLE_IPA_PASS that parses the program multiple times. As it > parses gimple, it builds a data structure with the information > collected that will provide some invariants to future iterations over > the program. > > I was looking into adding a new feature that would take a

Re: distinguishing gcc compilation valgrind false positives

2021-11-24 Thread Jan Hubicka via Gcc
> ==5404== Conditional jump or move depends on uninitialised value(s) > ==5404==    at 0x25DAAD7: incorporate_penalties (ipa-cp.c:3282) > ==5404==    by 0x25DAAD7: good_cloning_opportunity_p(cgraph_node*, sreal, > sreal, profile_count, int) (ipa-cp.c:3340) I looked at this one (since it is in code

Re: distinguishing gcc compilation valgrind false positives

2021-11-25 Thread Jan Hubicka via Gcc
> > > > diff --git a/gcc/ipa-prop.h b/gcc/ipa-prop.h > > index 42842d9466a..1d0c115465c 100644 > > --- a/gcc/ipa-prop.h > > +++ b/gcc/ipa-prop.h > > @@ -623,8 +623,8 @@ ipa_node_params::ipa_node_params () > > : descriptors (NULL), lattices (NULL), ipcp_orig_node (NULL), > >known_csts (vNULL),

Re: distinguishing gcc compilation valgrind false positives

2021-11-25 Thread Jan Hubicka via Gcc
> > I can confirm that zero-initializing node_is_self_scc prevents the > uninitialised use warnings in incorporate_penalties (ipa-cp.c:3282) Great, I will commit the patch. But I also wonder if there are any remaining unitialized warnings in ipa code? Honza > > Thanks, > Zdenek > >

Re: Question about builtin_free doesn't read memory

2021-11-28 Thread Jan Hubicka via Gcc
> Hi, > In function ref_maybe_used_by_call_p_1, there is below code snippet > /* The following builtins do not read from memory. */ > case BUILT_IN_FREE: > ... >return false; > > I am confused because free function does read from (and even write to) > memory

Re: Question on ipa_ref->referring and ipa_ref->stmt on all_late_ipa_passes

2022-02-14 Thread Jan Hubicka via Gcc
> Hi, > > I would like to use ipa_ref in the PASS_LIST all_late_ipa_passes to query > the statement (ref->stmt) of where a global variable is used. However, I am > having some problems achieving this. > > What I do is: > > 1. Check that ipa_ref->referring has a body and is not inlined. > 2. get_

Re: [GSoC]Bypass assembler when generating LTO object files

2022-04-08 Thread Jan Hubicka via Gcc
Ankur, > I was browsing the list of submitted GSoC projects this year and the > project regarding bypassing assembler when generating LTO object files > caught my eye. I apologize for late reply. I would be very happy to mentor this project. > > I already have a gcc built from source (sync-ed wit

Re: [GSoC]Bypass assembler when generating LTO object files

2022-04-12 Thread Jan Hubicka via Gcc
Hi, > > > > On 08-Apr-2022, at 6:32 PM, Jan Hubicka wrote: > > > > Ankur, > >> I was browsing the list of submitted GSoC projects this year and the > >> project regarding bypassing assembler when generating LTO object files > >> caught my ey

GNU Tools Cauldron 2022

2022-05-14 Thread Jan Hubicka via Gcc
Hello, We are pleased to invite you all to the next GNU Tools Cauldron, taking place in Paris on September 16-18, 2022. We are looking forward to meet you again after three years! As for the previous instances, we have setup a wiki page for details: https://gcc.gnu.org/wiki/cauldron2022

Re: GNU Tools Cauldron 2022

2022-05-14 Thread Jan Hubicka via Gcc
> On Sat, May 14, 2022 at 7:03 PM Jan Hubicka via Gcc wrote: > > > > Hello, > > > > We are pleased to invite you all to the next GNU Tools Cauldron, > > taking place in Paris on September 16-18, 2022. We are looking forward > > to meet you again after three

Re: State of AutoFDO in GCC

2022-07-27 Thread Jan Hubicka via Gcc
s and developers, would you be > interested to take on the responsibility of maintaining the > AutoFDO-specific portions of the code, with guidance and mentorship > from other GCC maintainers, especially the ones responsible for gcov > and PDO? I missed the patches (it would help t

Re: GNU Tools Cauldron 2022

2022-09-16 Thread Jan Hubicka via Gcc
Hello, > Hello, > > We are pleased to invite you all to the next GNU Tools Cauldron, > taking place in Paris on September 16-18, 2022. We are looking forward > to meet you again after three years! > > As for the previous instances, we have setup a wiki page for > details: > > https://gcc.g

Re: Stepping down as gcov maintainer and callgraph reviewer

2023-02-16 Thread Jan Hubicka via Gcc
ERS b/MAINTAINERS > index 18edc86df67..a61d3ae06df 100644 > --- a/MAINTAINERS > +++ b/MAINTAINERS > @@ -230,7 +230,6 @@ docstring relicensing Gerald Pfeifer > > docstring relicensingJoseph Myers > > predict.def Jan Hubicka

Re: [GSoC] Introduction and query on LTO object emmission project

2023-03-03 Thread Jan Hubicka via Gcc
Hello, > Hi! I've been interested in compiler development for a while, and would love > to > work with any of you as part of GSoC, or even just as a side-project on my > own. > > I'm an 18 year-old student going into university next year with a passion for > all > things open source and low lev

Re: cgraph: does node->inlined_to imply node->clones is non-empty?

2023-03-24 Thread Jan Hubicka via Gcc
Hi, > > It seems to me that the most correct fix is to add to > walk_polymorphic_call_targets a check that the obtained possible target > is still referenced_from_vtable_p() - because the alias that was > originally a virtual function is referenced from a vtable that at this > point is also known

Re: [GSOC] few question about Bypass assembler when generating LTO object files

2023-04-03 Thread Jan Hubicka via Gcc
Hello, > While going through the patch and simple-object.c I understood that the > file simple-object.c is used to handle the object file format. However, > this file does not contain all the architecture information required for > LTO object files, so the workaround used in the patch is to read th

Re: [GSOC] few question about Bypass assembler when generating LTO object files

2023-04-04 Thread Jan Hubicka via Gcc
ing implementation. Adding support for other object formats can be done incrementally. Honza > > On Tue, 4 Apr 2023 at 04:35, Jan Hubicka wrote: > > > Hello, > > > While going through the patch and simple-object.c I understood that the > > > file simple-o

Re: [GSOC] few question about Bypass assembler when generating LTO object files

2023-04-04 Thread Jan Hubicka via Gcc
ld be better too, I think grammar is not critical here. Thanks a lot for making and submitting the proposal. Honza > > On Tue, 4 Apr 2023 at 15:55, Jan Hubicka wrote: > > > Hello, > > > Thanks, Jan for the Reply! I have completed a draft proposal for this > > > pr

Re: About addition of .symtab and .strtab sections in simple-object-elf.c

2023-06-11 Thread Jan Hubicka via Gcc
> Hi Everyone, Hello, > I am working on the GSOC project "Bypass Assembler when generating LTO > object files." My mentors and I have decided to work on the ELF files > first, so I will add .symtab along with the symbol __gnu_lto_slim to > the ELF file as a first step. > When I was going through th

Re: Patch regarding addition of .symtab while generating object file from libiberty [WIP]

2023-06-24 Thread Jan Hubicka via Gcc
> Hi, Hi, I am sorry for late reaction. > I am working on the GSOC project "Bypass Assembler when generating LTO > object files." So as a first step, I am adding .symtab along with > __gnu_lto_slim symbol into it so that at a later stage, it can be > recognized that this object file has been produc

Re: Patch regarding addition of .symtab while generating object file from libiberty [WIP]

2023-06-26 Thread Jan Hubicka via Gcc
> > > +simple_object_write_add_symbol(simple_object_write *sobj, const char > > *name, > > > +size_t size, unsigned int align); > > > > Symbols has much more properties in addition to sizes and alignments. > > We will eventually need to get dwarf writting, so we will need to > > support them. Howev

Re: Regarding bypass-asm patch and help in an error during bootstrapped build

2023-07-06 Thread Jan Hubicka via Gcc
> Hi, > > I have added the patch ( > https://gcc.gnu.org/pipermail/gcc-patches/2023-July/623379.html ) on the > devel/bypass-asm branch. > Although I am able to build using the --disable-bootstrap option but while > doing a bootstrapped build, I am getting these errors ( as warnings while > doing

Re: [Predicated Ins vs Branches] O3 and PGO result in 2x performance drop relative to O2

2023-08-01 Thread Jan Hubicka via Gcc
> > If I comment it out as above patch, then O3/PGO can get 16% and 12% > > performance > > improvement compared to O2 on x86. > > > > O2 O3 PGO > > cycles 2,497,674,824 2,104,993,224 2,199,753,593 > > instructions1

Re: Incremental LTO Project

2023-09-10 Thread Jan Hubicka via Gcc
> Hi! > > On 2023-09-07T19:00:49-0400, James Hu via Gcc wrote: > > I noticed that adding incremental LTO was a GSoC project that was not > > claimed this cycle ( > > https://summerofcode.withgoogle.com/programs/2023/organizations/gnu-compiler-collection-gcc). > > I was curious about working on th

Re: Clarification regarding various classes DIE's attribute value class

2023-10-11 Thread Jan Hubicka via Gcc
> Hello, > I am working on a project to produce the LTO object file from the compiler > directly. So far, we have > correctly outputted .symtab along with various .debug sections. The only > thing remaining is to > correctly output attribute values and their corresponding values in the > .debug_inf

Re: Help needed in output relocations

2023-10-18 Thread Jan Hubicka via Gcc
> Hello, Hi, > I have almost completed the output of relocation entries. The only thing > that remains is to output the corresponding symbols in .symtab. In my > current design, I store the info about relocation entry and the symbol > name. However, the problem I am facing with this approach is tha

Re: libgcov, fork, and mingw (and other targets without the full POSIX set)

2023-12-01 Thread Jan Hubicka via Gcc
> On Dez 01 2023, Richard Biener via Gcc wrote: > > > Hmm, so why's it then referenced and not "GCed"? > > This has nothing to do with garbage collection. It's just the way > libgcc avoids having too many source files. It would be exactly the > same if every function were in its own file. THe

Re: How stable is the CFG and basic block IDs?

2024-04-30 Thread Jan Hubicka via Gcc
> > The problem is testing. If gcc would re-number the basic blocks then > > tests comparing hard-coded test paths would break, even though the path > > coverage itself would be just fine (and presumably the change to the > > basic block indices), which would add an unreasonable maintenance > > bur

GNU Tools Cauldron 2024

2024-05-09 Thread Jan Hubicka via Gcc
Hello, we are pleased to invite you all to the next GNU Tools Cauldron, taking place in Prague, Czech Republic, on September 14-16, 2024. As for the previous instances, we have setup a wiki page for details: https://gcc.gnu.org/wiki/cauldron2024 Like last year, we are having to charge for

GNU Tools Cauldron 2024 (2nd announcement)

2024-07-21 Thread Jan Hubicka via Gcc
Hello, we are pleased to invite you all to the next GNU Tools Cauldron, taking place in Prague, Czech Republic, on September 14-16, 2024. As for the previous instances, we have setup a wiki page for details: https://gcc.gnu.org/wiki/cauldron2024 Like last year, we are having to charge for

Re: LTO progress indicator

2024-09-15 Thread Jan Hubicka via Gcc
> On Sat, Sep 14, 2024 at 1:17 PM Ghorban M. Tavakoly via Gcc > wrote: > > > > >> Is there any change to have some LTO progress indicator information in > > upstream GCC output? Do I need to report a bug? > > Is there any chance ... (sorry for typo) > > You can add -Q to the command line which ma

Re: [RFC] Return Value Propagation in IPA-CP

2024-09-15 Thread Jan Hubicka via Gcc
> Ping (https://gcc.gnu.org/pipermail/gcc/2024-August/244625.html). Hi, > > * Proposed Solution * > > > > * Extending IPA-CP: > > > > 1. Add return jump function data structures > >   - This involves updating ipa_node_params to contain information > > regarding the > >     return statements of

<    2   3   4   5   6   7