This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH, M68K] Handle -fsched-pressure


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/07/11 09:02, Maxim Kuvyrkov wrote:
> On Apr 7, 2011, at 6:55 PM, Jeff Law wrote:
> 
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> On 04/07/11 08:29, Maxim Kuvyrkov wrote:
>>> The following simple patch fixes a corner-case in m68k scheduling when -fsched-pressure is used.  Currently m68k scheduling hooks assume that the scheduler honors DFA restrictions, which is not always the case when scheduling for register pressure (-fsched-pressure).  The patch fixes this corner-case.
>>>
>>> I will commit this patch under the trivial rule in 4 days (on Monday) or sooner if I get an explicit approval.
>> I guess my only concern would be whether or not this problem (buffer not
>> being filled enough causing other problems) exists in any other backend.
>> If it's not too much trouble, could you do a quick looksie at other
>> backends that defining these hooks to see if they are obviously correct
>> or incorrect?
> 
> The sched_ib buffer is an invention of mine specific to m68k backend to model bottleneck of ColdFire's memory bus, which is shared between data and instructions.  This buffer does not exist outside of m68k back-end.
> 
> Jeff, does this answer your concern?
It does.  Thanks.

jeff
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNndKoAAoJEBRtltQi2kC75JsIALk74COZXUiIpM3tKH9TrB8D
I8t2FfczdlmvUOsh80fkUBJTUVy6500WlShUq+FxDO8k0PJ2Qo0Xzgl/ecKd6CBY
8hCKw95EiUel60iYxQDG1DJTX/a2Q+7uKVNrWGwxsrQ8FdriIvfNBbO7r3mZLbeW
Y5sXfOyZdm+6KMcTH+tRcVtFzH3kyXDo0mnkNXSw2MLW2cboEcxdtjb4xCR00fOm
9QpMG163IpOGpJNR7CbHoAvVyCZDqA8HS3rrwc2MgpOMr5bbTvBI+7zPNUovzgs0
EMLcNotyiIEWbiSVTUGdlmlbE8pnSjXzUUlTcMtae8geVQe734l2luPCfbxZXzE=
=f47z
-----END PGP SIGNATURE-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]