public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/11424] New: Asm broken on IA64 ?
@ 2003-07-03 14:18 wwadge at hobsoft dot com dot mt
  2003-07-03 14:22 ` [Bug c/11424] " pinskia at physics dot uc dot edu
  2003-07-04  5:15 ` wilson at tuliptree dot org
  0 siblings, 2 replies; 3+ messages in thread
From: wwadge at hobsoft dot com dot mt @ 2003-07-03 14:18 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11424

           Summary: Asm broken on IA64 ?
           Product: gcc
           Version: 3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: wwadge at hobsoft dot com dot mt
                CC: gcc-bugs at gcc dot gnu dot org

In my .S file, I have the following:
movl r25=(1 << 64) - 1

assembling and objdump'ing gives movl r25=0x0 instead of 0xffffffff as
I'd expect. 

I'm running on IA32 and generating code for IA-64.

This problem was not evident in 2.96 (yes from Redhat I know, sorry)


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

* [Bug c/11424] Asm broken on IA64 ?
  2003-07-03 14:18 [Bug c/11424] New: Asm broken on IA64 ? wwadge at hobsoft dot com dot mt
@ 2003-07-03 14:22 ` pinskia at physics dot uc dot edu
  2003-07-04  5:15 ` wilson at tuliptree dot org
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-03 14:22 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11424


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-03 14:22 -------
Not a gcc bug but a binutils bug (they control gas, the assembler) report it to them.


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

* [Bug c/11424] Asm broken on IA64 ?
  2003-07-03 14:18 [Bug c/11424] New: Asm broken on IA64 ? wwadge at hobsoft dot com dot mt
  2003-07-03 14:22 ` [Bug c/11424] " pinskia at physics dot uc dot edu
@ 2003-07-04  5:15 ` wilson at tuliptree dot org
  1 sibling, 0 replies; 3+ messages in thread
From: wilson at tuliptree dot org @ 2003-07-04  5:15 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11424



------- Additional Comments From wilson at tuliptree dot org  2003-07-04 05:15 -------
Subject: Re:  New: Asm broken on IA64 ?

wwadge at hobsoft dot com dot mt wrote:
> movl r25=(1 << 64) - 1

This isn't a binutils bug either.  Shifting by greater than the size of 
int is invalid.  Changing this to 1L << 64 doesn't help, because you are 
still shifting by greater than the size of long.

Jim


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

end of thread, other threads:[~2003-07-04  5:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-03 14:18 [Bug c/11424] New: Asm broken on IA64 ? wwadge at hobsoft dot com dot mt
2003-07-03 14:22 ` [Bug c/11424] " pinskia at physics dot uc dot edu
2003-07-04  5:15 ` wilson at tuliptree dot org

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).