public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: optimization/7909: ia64 warning 'Use of 'mov' may violate WAW dependency' on -O2 and above
@ 2002-10-06 19:46 rth
  0 siblings, 0 replies; 3+ messages in thread
From: rth @ 2002-10-06 19:46 UTC (permalink / raw)
  To: ben, gcc-bugs, gcc-prs, nobody

Synopsis: ia64 warning 'Use of 'mov' may violate WAW dependency' on -O2 and above

State-Changed-From-To: open->closed
State-Changed-By: rth
State-Changed-When: Sun Oct  6 19:46:06 2002
State-Changed-Why:
    Duplicate of 7908

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=7909


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: optimization/7909: ia64 warning 'Use of 'mov' may violate WAW dependency' on -O2 and above
@ 2002-09-14 22:36 tprinceusa
  0 siblings, 0 replies; 3+ messages in thread
From: tprinceusa @ 2002-09-14 22:36 UTC (permalink / raw)
  To: nobody; +Cc: gcc-prs

The following reply was made to PR optimization/7909; it has been noted by GNATS.

From: "tprinceusa" <tprinceusa@netzero.net>
To: <ben@zeus.com>,
	<gcc-gnats@gcc.gnu.org>
Cc:  
Subject: Re: optimization/7909: ia64 warning 'Use of 'mov' may violate WAW dependency' on -O2 and above
Date: Sat, 14 Sep 2002 22:27:18 -0700

 ----- Original Message -----
 From: <ben@zeus.com>
 To: <gcc-gnats@gcc.gnu.org>
 Sent: Friday, September 13, 2002 6:38 AM
 Subject: optimization/7909: ia64 warning 'Use of 'mov' may violate WAW dependency' on -O2 and above
 
 
 >
 > >Number:         7909
 > >Category:       optimization
 > >Synopsis:       ia64 warning 'Use of 'mov' may violate WAW dependency' on -O2 and above
 > >Confidential:   no
 > >Severity:       non-critical
 > >Priority:       medium
 > >Responsible:    unassigned
 > >State:          open
 > >Class:          sw-bug
 > >Submitter-Id:   net
 > >Arrival-Date:   Fri Sep 13 06:46:02 PDT 2002
 > >Closed-Date:
 > >Last-Modified:
 > >Originator:     Ben
 > >Release:        3.2
 > >Organization:
 > >Environment:
 > Compiling native code for a ia64 box
 > >Description:
 > The code sample is a fairly ugly routine to convert pointers
 > into a hex string. The code compiles fine with all levels of
 > optimisation. However, with -O2 and above, gcc reports the
 > following warning messages:
 >
 > /tmp/cc2HCufe.s: Assembler messages:
 > /tmp/cc2HCufe.s:133: Warning: Use of 'mov' may violate WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is
 14
 I see such messages reported consistently in gcc testsuite, for fp-cmp5.  In some cases, including this, the compiled code runs OK.
 It is possible to provoke many more such problems, e.g. by use of -frename-registers -O2, some of which do involve broken code
 generation.  Do others simply suppress these warnings?
 
 
 
 
 
 
 -------------------------------------------
 Introducing NetZero Long Distance
 Unlimited Long Distance only $29.95/ month!
 Sign Up Today! www.netzerolongdistance.com


^ permalink raw reply	[flat|nested] 3+ messages in thread

* optimization/7909: ia64 warning 'Use of 'mov' may violate WAW dependency' on -O2 and above
@ 2002-09-13  6:46 ben
  0 siblings, 0 replies; 3+ messages in thread
From: ben @ 2002-09-13  6:46 UTC (permalink / raw)
  To: gcc-gnats


>Number:         7909
>Category:       optimization
>Synopsis:       ia64 warning 'Use of 'mov' may violate WAW dependency' on -O2 and above
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 13 06:46:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Ben
>Release:        3.2
>Organization:
>Environment:
Compiling native code for a ia64 box
>Description:
The code sample is a fairly ugly routine to convert pointers
into a hex string. The code compiles fine with all levels of
optimisation. However, with -O2 and above, gcc reports the
following warning messages:

/tmp/cc2HCufe.s: Assembler messages:
/tmp/cc2HCufe.s:133: Warning: Use of 'mov' may violate WAW dependency 'GR%, % in 1 - 127' (impliedf), specific resource number is 14
/tmp/cc2HCufe.s:133: Warning: Only the first path encountering the conflict is reported
>How-To-Repeat:
Compile the code with -O2 or above. No other compile flags required.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/x-csrc; name="gccia64.c"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="gccia64.c"

I2luY2x1ZGUgPHN0ZGlvLmg+CgpzdGF0aWMgCmNvbnN0IHVuc2lnbmVkIGNoYXIgbjJ4WzE2XSA9
IHsgJzAnLCAnMScsICcyJywgJzMnLCAnNCcsICc1JywgJzYnLCAnNycsCiAgICAgICAgICAgICAg
ICAgICAgICAgICAgICAgICAgJzgnLCAnOScsICdhJywgJ2InLCAnYycsICdkJywgJ2UnLCAnZicg
fTsKCgppbnQKbWFpbiggaW50IGFyZ2MsIGNoYXIgKiphcmd2ICkKewogICBjaGFyIGJ1ZmZbIDI1
NiBdOwogICBjaGFyICpxID0gYnVmZjsKCiAgIHZvaWQgKnB0ciA9ICh2b2lkICopIDB4MDEyMzQ1
Njc7CiAgIGNvbnN0IHVuc2lnbmVkIGNoYXIgKm51bSA9ICh1bnNpZ25lZCBjaGFyICopICZwdHI7
CiAgIGNvbnN0IHVuc2lnbmVkIGNoYXIgKnRvcCA9IG51bSArIHNpemVvZiggdm9pZCAqICk7CiAg
IAogICAqcSsrID0gJzAnOwogICAqcSsrID0gJ3gnOwoKICAgaWYoIHB0ciA9PSAwICkgKnErKyA9
ICcwJzsKICAgZWxzZSB3aGlsZSggbnVtICE9IHRvcCApIHsKICAgICAgY29uc3QgaW50IGJ5dGUg
PSAqLS10b3A7CiAgICAgIGNvbnN0IGludCB1cHBlcm5pYmJsZSA9IChieXRlICYgMHhmMCkgPj4g
NDsKICAgICAgaWYoIHEgIT0gYnVmZisyIHx8IHVwcGVybmliYmxlICkgKnErKyA9IG4yeFsgdXBw
ZXJuaWJibGUgXTsKICAgICAgY29uc3QgaW50IGxvd2VybmliYmxlID0gYnl0ZSAmIDB4ZjsKICAg
ICAgaWYoIHEgIT0gYnVmZisyIHx8IGxvd2VybmliYmxlICkgKnErKyA9IG4yeFsgbG93ZXJuaWJi
bGUgXTsKICAgfQoKICAgKnErKyA9ICdcMCc7CiAgIHByaW50ZiggIiVzXG4iLCBidWZmICk7Cn0K


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-10-07  2:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-06 19:46 optimization/7909: ia64 warning 'Use of 'mov' may violate WAW dependency' on -O2 and above rth
  -- strict thread matches above, loose matches on Subject: below --
2002-09-14 22:36 tprinceusa
2002-09-13  6:46 ben

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).