This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Function Parameters vs. Prologue (fastcall + O1 + -fschedule-insns2)
- From: Geyslan GregÃrio Bem <geyslan at gmail dot com>
- To: Ian Lance Taylor <iant at google dot com>, gcc-help at gcc dot gnu dot org
- Date: Wed, 19 Jun 2013 17:33:00 -0300
- Subject: Re: Function Parameters vs. Prologue (fastcall + O1 + -fschedule-insns2)
- References: <CAGG-pUR-nxurLy15FTeiZ3-TMdVPEaXMx7qWL4GSnDDqkOh2kg at mail dot gmail dot com> <CAGG-pUQX2NJuMWngkK8+ACifgNv7Jczz0BTLL=_8pCPsK0szgg at mail dot gmail dot com> <CAKOQZ8y70wD7NNKZ3OrKe=SnOLjT7TaN_U91L6L4-O_F4md5uw at mail dot gmail dot com> <CAGG-pUSeae5siKZt3mQpYswrFaj9r3mRZS7i+8N0VGJqWPVStQ at mail dot gmail dot com> <CAGG-pUTkxyUaZ=jfx0gVL7qYkaJ6R94f8L7eZ5WLvZytLkvwCA at mail dot gmail dot com> <CAKOQZ8w8peJN2PX-YVzr2aY=cVx+upsfL6n7tB2h3ZKzycU0vQ at mail dot gmail dot com> <CAGG-pUS8-jA9P4rq92q_47OYULbZiLU+US_pftDppfKv397JAg at mail dot gmail dot com> <CAKOQZ8xngoYrouOUjC=_cJdtLS99cHUp8_Jjx2HSodwrX==Big at mail dot gmail dot com> <CAGG-pUSs=BbpyWr=aQK8a8L-hyGubuhvwA-K2Q-dm8OQg0LrOg at mail dot gmail dot com> <CAKOQZ8x8nVCOADxcTftaun0u7po7kb+gXby_M+=OyUgV=7-ZrA at mail dot gmail dot com>
2013/6/19 Ian Lance Taylor <iant@google.com>:
> And that ought to generate the best results, so it seems that everything might be OK.
Yes, that options allowed me to generate the best results.
How the gcc classifies the instructions priorities (latency and
throughout)? In what source file?
Geyslan GregÃrio Bem
hackingbits.com
@geyslangb
br.linkedin.com/in/geyslan
2013/6/19 Ian Lance Taylor <iant@google.com>:
> On Wed, Jun 19, 2013 at 12:36 PM, Geyslan GregÃrio Bem
> <geyslan@gmail.com> wrote:
>>
>> If you still see it as a missed-optimization bug, tell me that I'll report it.
>
> I may be misreading, but it seems that you got the best results using
> -mtune=native -fschedule-insns-2 -O1, or -mtune=native -O3. And that
> ought to generate the best results, so it seems that everything might
> be OK.
>
> Ian