Re: Selective scheduling and its usage

2018-03-21 Thread Andrey Belevantsev
On 21.03.2018 13:31, Martin Liška wrote: > On 03/21/2018 11:17 AM, Andrey Belevantsev wrote: >> Hi Martin, >> >> On 21.03.2018 12:48, Martin Liška wrote: >>> Hello. >>> >>> I noticed there are quite many selective scheduling PRs: >>> htt

Re: Selective scheduling and its usage

2018-03-21 Thread Andrey Belevantsev
Hi Martin, On 21.03.2018 12:48, Martin Liška wrote: > Hello. > > I noticed there are quite many selective scheduling PRs: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84872 > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84842 > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84659 > > and many ot

Re: Remove sel-sched?

2016-01-15 Thread Andrey Belevantsev
On 14.01.2016 20:26, Jeff Law wrote: On 01/14/2016 12:07 AM, Andrey Belevantsev wrote: Hello Bernd, On 13.01.2016 21:25, Bernd Schmidt wrote: There are a few open PRs involving sel-sched, and I'd like to start a discussion about removing it. Having two separate schedulers isn't a

Re: Remove sel-sched?

2016-01-13 Thread Andrey Belevantsev
Hello Bernd, On 13.01.2016 21:25, Bernd Schmidt wrote: There are a few open PRs involving sel-sched, and I'd like to start a discussion about removing it. Having two separate schedulers isn't a very good idea in the first place IMO, and since ia64 is dead, sel-sched gets practically no testing d

Re: broken links?

2014-06-29 Thread Andrey Belevantsev
On 30.06.2014 7:22, Hebenstreit, Michael wrote: I tested from home to reach https://gcc.gnu.org/pub/gcc/infrastructure/ - same result; ftp://gcc.gnu.org/pub/gcc/infrastructure/ works though. Trying ftp from behind the company FW on FF redirects me to the htpps, though on IE it works There was

Re: Update the c++1y/c++14 support page

2013-10-06 Thread Andrey Belevantsev
On 07.10.2013 9:54, Jeff Hammond wrote: Given your company (Oracle) sued Google over 9 lines of Java (the now infamous rangeCheck function), I hardly think it's appropriate for you to discourage someone from following through with copyright assignment for a minor contribution. This has nothing

Re: Power/Energy Awareness in GCC

2013-04-15 Thread Andrey Belevantsev
On 15.04.2013 20:21, Tobias Burnus wrote: Ghassan Shobaki wrote: We are currently working on a research project on instruction scheduling for low power (experimenting with different algorithms for minimizing switching power) and would like to find out if GCC already has such a scheduler and how

Re: Global Value Numbering and dependence on SSA in GCC

2013-02-10 Thread Andrey Belevantsev
Hi Kartik, On Sun, 10 Feb 2013 15:41:17 +0530, Kartik Singhal wrote: Thanks Richard for pointing out tree-ssa-sccvn.c On Wed, Feb 6, 2013 at 8:14 PM, Richard Biener wrote: Well, to ignore SSA form simply treat each SSA name as separate variable. You of course need to handle PHI nodes as

Re: SMS issues

2012-07-23 Thread Andrey Belevantsev
cc.gnu.org/ml/gcc-patches/2011-08/msg02428.html. Andrey Alex --- On Thu, 7/19/12, Andrey Belevantsev wrote: From: Andrey Belevantsev Subject: Re: SMS issues To: "Alex Turjan" Cc: gcc@gcc.gnu.org, ayal.z...@gmail.com, revital.e...@linaro.org, "Roman Zhuikov" Date: Thu

Re: SMS issues

2012-07-19 Thread Andrey Belevantsev
Hello Alex, On 18.07.2012 18:40, Alex Turjan wrote: Im writing to you with respect to some strange SMS functionality. In the code bellow there are 2 instructions (a builtin store and a builtin load) as they appear in the program flow before SMS: ... Issues: 1. What is the reason why (T

Re: RFC: -Wall by default

2012-04-05 Thread Andrey Belevantsev
On 05.04.2012 16:33, Robert Dewar wrote: On 4/5/2012 8:28 AM, Michael Veksler wrote: It is not that they can't remember. I am a TA at a moderately basic programming course, and student submit home assignments with horrible errors. These errors, such as free(*str) or *str=malloc(n) are easily be

Re: GCC-4.5.0 comparison with previous releases and LLVM-2.7 on SPEC2000 for x86/x86_64

2010-11-15 Thread Andrey Belevantsev
Hello, On 14.11.2010 0:08, Xinliang David Li wrote: I re-measured the performance difference using trunk gcc and trunk clang/llvm on a core-2 box. -fno-strict-aliasing is added to gcc because clang/llvm's type based aliasing is not incomplete and not enabled by default. I also added -fomit-fram

Re: software pipelining

2010-11-10 Thread Andrey Belevantsev
Hi, On 10.11.2010 12:32, roy rosen wrote: Hi, I was wondering if gcc has software pipelining. I saw options -fsel-sched-pipelining -fselective-scheduling -fselective-scheduling2 but I don't see any pipelining happening (tried with ia64). Is there a gcc VLIW port in which I can see it working? Y

Re: Questions about selective scheduler and PowerPC

2010-10-19 Thread Andrey Belevantsev
On 19.10.2010 17:57, Jie Zhang wrote: Removing the failing assert fixes the test case. But I wonder why not just get max_issue correct. I'm testing the attached patch. IMHO, max_issue looks confusing. * The concept of ISSUE POINT has never been used since the code landed in repository. * In the

Re: Questions about selective scheduler and PowerPC

2010-10-18 Thread Andrey Belevantsev
On 18.10.2010 11:31, Jie Zhang wrote: Hi Andrey, On 10/18/2010 03:13 PM, Andrey Belevantsev wrote: Hi Jie, On 18.10.2010 10:49, Jie Zhang wrote: When this error happens, FENCE_ISSUED_INSNS (fence) is 2 and issue_rate is 1. PowerPC 8540 is capable to issue 2 instructions in one cycle, but

Re: Questions about selective scheduler and PowerPC

2010-10-18 Thread Andrey Belevantsev
Hi Jie, On 18.10.2010 10:49, Jie Zhang wrote: When this error happens, FENCE_ISSUED_INSNS (fence) is 2 and issue_rate is 1. PowerPC 8540 is capable to issue 2 instructions in one cycle, but rs6000_issue_rate lies to scheduler that it can only issue 1 instruction before register relocation is do

Re: Problems with selective scheduling

2009-10-28 Thread Andrey Belevantsev
Hi Markus, Markus L wrote: Thank you very much for your detailed response! I suspect your machine description says that dependency between loads and multiply-add has zero latency, thus allowing the scheduler to place them into one instruction group. Grep for various comments about tick_check_

Re: Fixing the pre-pass scheduler on x86 (Bug 38403)

2009-04-08 Thread Andrey Belevantsev
Vladimir Makarov wrote: Steven Bosscher wrote: On Wed, Apr 8, 2009 at 5:19 AM, Vladimir Makarov wrote: I've been working on register-pressure sensitive insn scheduling last two months and I hope to submit this work for gcc4.5. I am implementing also a mode in insn-scheduler to do only live

Re: GCC & OpenCL ?

2009-02-03 Thread Andrey Belevantsev
Hello, We at ISP RAS have plans to work in the near future on generating either CUDA source or PTX from C programs (probably with simple OpenMP directives). Of course, we would benefit from the OpenCL infrastructure in GCC if one was available. Mark Mitchell wrote: We (CodeSourcery) have

Re: Is there any plan for "data propagation from Tree SSA to RTL" to be in GCC mainline?

2008-11-11 Thread Andrey Belevantsev
Bingfeng Mei wrote: I found the the GsoC project and patch here (only 2007) http://code.google.com/soc/2007/gcc/appinfo.html?csaid=E0FEBB869A5F65A8 Is this patch only for propagating data dependency or does it include propagating alias info as well? The patch at http://gcc.gnu.org/ml/gcc/2007-1

Re: Is there any plan for "data propagation from Tree SSA to RTL" to be in GCC mainline?

2008-11-09 Thread Andrey Belevantsev
Diego Novillo wrote: On Sun, Nov 9, 2008 at 06:38, Steven Bosscher <[EMAIL PROTECTED]> wrote: Wasn't there a GSoC project for this last year? And this year? It'd be interesting to hear if anything came out of that... Nothing came of that, unfortunately. There are two patches, actually. The

Re: build error from trunk sources

2008-09-01 Thread Andrey Belevantsev
bootstrap finishes. Sorry for the breakage. Andrey 2008-09-01 Andrey Belevantsev <[EMAIL PROTECTED]> * sel-sched-ir.c (cmp_v_in_regset_pool): Surround with #ifdef ENABLE_CHECKING. Index: gcc/sel-sched-ir.c ===

Re: Using cfglayout mode in the selective scheduler

2008-08-12 Thread Andrey Belevantsev
Zdenek Dvorak wrote: I am probably missing something: The basic idea is enabling cfglayout mode and then ensuring that insn stream and control flow are in sync with each other at all times. This is required because e.g. on Itanium the final bundling happens right after scheduling, and any extra

Using cfglayout mode in the selective scheduler

2008-08-11 Thread Andrey Belevantsev
Hello, Currently, the selective scheduler pass uses cfgrtl mode. This results in creating extra jumps and basic blocks while changing control flow, especially when redirecting edges. When this happens, we need to initialize scheduler's data structures. To do this, we have implemented contr

Re: gcc on IA64 platform

2008-05-20 Thread Andrey Belevantsev
Gerald Pfeifer wrote: Any chance you could make a pass through that page and remove those items that you know have already been done, or separate those that are still open and those that have been done into two different sections? Sure, I would make a note to do this somewhere during stage2.

Re: gcc on IA64 platform

2008-05-20 Thread Andrey Belevantsev
Hello, Tadas V wrote: I am a computer science student and currently I am preparing my master degree final work on "Compiler optimization on IA64 platforms". So could you provide some information to me what is the the current situation with gcc and IA64 platfrom - I mean what are open optimizatio

Re: GCC-4.3.0 fails to compile SPECint-2006 with control speculation on itanium processor

2008-04-11 Thread Andrey Belevantsev
吴曦 wrote: Hi: I am working on gcc-4.3.0 and Redhat ES 4. When I uses the compiler to build specint-2006 benchmarks, none passes the make with compiler option: -msched-control-spec (enable control speculation on IA-64) Control speculation is disabled by default on IA-64, so I think one of the sc

Release planning for GCC 4.4?

2008-03-03 Thread Andrey Belevantsev
Hello, As GCC 4.3 is almost out of the door, I thought it possible to ask whether there will be a release plan for GCC 4.4 similar to the ones for previous releases. The reason I'm asking is that myself and my colleagues are working on preparing the selective scheduler branch for inclusion i

Re: Git and GCC

2007-12-06 Thread Andrey Belevantsev
Vincent Lefevre wrote: It's surprising that you don't mention svk, which is based on top of Subversion[*]. Has anyone tried? Is there any problem with it? I must agree with Ismail's reply here. We have used svk for our internal development for about two years, for the reason of easy mirroring

Re: IA64 optimizations..

2007-09-05 Thread Andrey Belevantsev
Hello, Kumar Rangarajan wrote: I am interested in understanding the limitations/optimization opportunities of the IA64 version of gcc. I read from the projects list on the gcc site about the proposed optimizations for the IA64 platform, I see that some of the requests were from 2001 or so time

hash_rtx and volatile subexpressions

2007-06-07 Thread Andrey Belevantsev
Hello, I would like to use some sort of hashing to speed up searching for an insn in an availability set in the selective scheduler. It seems natural using hash_rtx for this purpose. However, hash_rtx will not hash any volatile subexpressions, returning 0 in this case. This is fine by me,

Re: Optimizations for itanium

2007-06-01 Thread Andrey Belevantsev
Prasad, Kamal R wrote: Hello, Can someone tell me the back-end optimizations available for itanium (IA64)? We (HP) may be able to contribute to this from our side. To add to the summary Vlad already did, you may want to take a look at the notes from the last meeting of the Gelato GCC Itanium g

Re: anyone using svk?

2007-04-12 Thread Andrey Belevantsev
Rafael Espindola wrote: Is anyone using svk? I tried to create a local depot by updating the one pointed on the wiki. Unfortunately it is trying to use too much ram and crashing. Yes, we keep a local mirror of trunk and sel-sched branch using svk. As far as I remember, I did the setup from scr

Re: Improvements of the haifa scheduler

2007-03-05 Thread Andrey Belevantsev
Vladimir N. Makarov wrote: Good aliasing is very important for the scheduler. But I'd look at this more wider. We need a good aliasing for many RTL optimizations. What's happened to ISP RAS aliasing patch propagating SSA info to RTL? Why is it stalled? We'll plan to work on it further in th

Re: Inconsistent next_bb info when EXIT is a successor

2007-03-03 Thread Andrey Belevantsev
Steven Bosscher wrote: > I don't understand this. You're saying there is a fallthrough edge > from your e->src to EXIT_BLOCK. This case is explicitly allowed by > the checking code. It is an exception from the rule: For a fallthrough > edge to EXIT, e->src->next_bb != e->dest is OK. Thanks! It'

Re: Inconsistent next_bb info when EXIT is a successor

2007-03-02 Thread Andrey Belevantsev
Steven Bosscher wrote: No. The condition you're checking is simply not true in cfglayout mode. The whole point of cfglayout mode is to get rid of the requirement that basic blocks are serial. That means a fallthru edge in cfglayout mode doesn't have to go to next_bb. It can go to *any* bb. Yes, b

Inconsistent next_bb info when EXIT is a successor

2007-03-02 Thread Andrey Belevantsev
Hello, During my work on the selective scheduler I have triggered an assert in our code saying that a fall-through edge should have e->src->next_bb == e->dest. This was for a bb with EXIT_BLOCK as its fall-through successor, but its next_bb pointing to another block. I was wondering why veri

Re: [patch] Improve loop array prefetch for IA-64

2006-06-02 Thread Andrey Belevantsev
Canqun Yang wrote: Hi, all This patch results a performance increase of 4% for SPECfp2000 and 13% for NAS benchmark suite on Itanium-2 system, respectively. More performance increase is hopeful by further tuning the parameters and improving the prefetch algorithm at tree level. Hi Canqun,

Re: alias time explosion

2006-03-22 Thread Andrey Belevantsev
Hi Daniel, I can't find the testcase attached to any message of the thread. Could it be because of the message size? If so, please send the testcase both to me and Maxim, one of us will look into it. Thanks, Andrey

Bootstrap problems on ia64

2005-12-23 Thread Andrey Belevantsev
Hi, When bootstrapping rev. 109012 on ia64-linux (checked out around 9am GMT today), I get make[3]: Entering directory `/mnt/sda5/bonzo/obj-trunk/stage2-libdecnumber' source='../../trunk/libdecnumber/decNumber.c' object='decNumber.o' libtool=no /home/bonzo/local/obj-trunk/./prev-gcc/xgcc -B/

Re: Where are the fortran test results for cv strunk?

2005-09-16 Thread Andrey Belevantsev
Christian Joensson wrote: So, I just wonder what's going wrong here... Could it be the problem explained in http://gcc.gnu.org/ml/gcc-patches/2005-09/msg00872.html? The patch is available later in that thread: http://gcc.gnu.org/ml/gcc-patches/2005-09/msg00879.html Andrey

[GCC 4.2 Project] Support for IA-64 speculation

2005-09-02 Thread Andrey Belevantsev
Summit 2005. Personnel Maxim Kuvyrkov, Andrey Belevantsev (Institute for System Programming, Russian Academy of Sciences) Delivery Date This project will be ready during the first stage of GCC 4.2. Benefits The patch improves SPEC FP on 2% (with -O2, as of May 2005). Aggressive inlining an

Re: Needs advises on rotating register allocation for IA64 in GCC

2005-07-21 Thread Andrey Belevantsev
Steven Bosscher wrote: Hmm, I've never seen any discussions about this on [EMAIL PROTECTED] Could you give some links to messages in the mailing list archives that you may have found? I've seen only the thread mentioning the work of Ritu Sabharwal (http://gcc.gnu.org/ml/gcc/2002-12/msg00508.h

Re: Scheduler questions (related to PR17808)

2005-06-30 Thread Andrey Belevantsev
Vladimir Makarov wrote: I'll look at this PR today. We've looked today at this issue. We think the problem is that proposed patch of sched_get_condition() treats conditional jumps likely to COND_EXECs, but it doesn't fix other places in sched-deps, where COND_EXECs are considered. Maxim Kuvy