Re: [RFD] Simplifying subregs in LRA

2017-02-03 Thread Eric Botcazou
> (r243782 git:856bd6f) > This is another case of multiple changes where some were not critical and > overall there is a dangerous one here I believe. The primary aim of this > change is to reload the address before reloading the inner subreg. This > appears to be a dormant bug since day1 as the

Intel Phi co-processor support

2017-02-03 Thread Angel Dimitrov
Hello, Can I compile on Linux with gfortran code and to run it on Phi co-processor? Or it is better to use Intel FORTRAN compiler? Angel

Re: Intel Phi co-processor support

2017-02-03 Thread Jakub Jelinek
On Fri, Feb 03, 2017 at 02:50:37PM +0200, Angel Dimitrov wrote: > Can I compile on Linux with gfortran code and to run it on Phi > co-processor? Or it is better to use Intel FORTRAN compiler? Depends on which XeonPhi do you have. GCC doesn't support Knights Ferry or Knights Corner, does support

RE: [RFD] Simplifying subregs in LRA

2017-02-03 Thread Matthew Fortune
Eric Botcazou writes: > > (r243782 git:856bd6f) > > This is another case of multiple changes where some were not critical > > and overall there is a dangerous one here I believe. The primary aim > > of this change is to reload the address before reloading the inner > > subreg. This appears to be

Re: Intel Phi co-processor support

2017-02-03 Thread Ilya Verbin
2017-02-03 16:00 GMT+03:00 Jakub Jelinek : > > On Fri, Feb 03, 2017 at 02:50:37PM +0200, Angel Dimitrov wrote: > > Can I compile on Linux with gfortran code and to run it on Phi > > co-processor? Or it is better to use Intel FORTRAN compiler? > > Depends on which XeonPhi do you have. GCC doesn't

Re: [RFD] Simplifying subregs in LRA

2017-02-03 Thread Eric Botcazou
> If a MEM subreg is neither simplified to an outermode MEM nor reloaded > in innermode then I believe LRA will never resolve the subreg. Even if that > is not true I'm fairly certain the addition of the code has changed > behaviour and that the change is not well understood, as explained above.

Re: [RFD] Simplifying subregs in LRA

2017-02-03 Thread Vladimir Makarov
On 02/01/2017 06:52 PM, Matthew Fortune wrote: Hi all, I've copied you as you have each made some significant change to a function in LRA which I guess makes you de-facto experts. I've spent a while researching the history of simplify_operand_subreg and in particular the behaviour for subregs

[RFC] [i386] Test program for ms_abi to sysv_abi function calls

2017-02-03 Thread Daniel Santos
This is a test program designed to test 64-bit Microsoft ABI functions that call System V functions in a multitude of permutations to attempt to discover flaws in the generation of prologues and epilogues and the optimizationsand features that can affect them, specifically shrink-wrapping, sibl