public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/35071]  New: bad instruction `do_itt eq'
@ 2008-02-04  5:38 corsepiu at gcc dot gnu dot org
  2008-02-11 20:12 ` [Bug target/35071] " alexandre dot nunes at gmail dot com
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: corsepiu at gcc dot gnu dot org @ 2008-02-04  5:38 UTC (permalink / raw)
  To: gcc-bugs

Building today's gcc-trunk (rev. 132088/2008-02-04) for arm-rtems4.9 fails
with:
...
/users/rtems/src/toolchains/BUILD/arm-rtems4.9/./gcc/xgcc
-B/users/rtems/src/toolchains/BUILD/arm-rtems4.9/./gcc/ -nostdinc
-B/users/rtems/src/toolchains/BUILD/arm-rtems4.9/arm-rtems4.9/newlib/ -isystem
/users/rtems/src/toolchains/BUILD/arm-rtems4.9/arm-rtems4.9/newlib/targ-include
-isystem /users/rtems/src/toolchains/gcc-trunk/newlib/libc/include
-B/opt/rtems-4.9/arm-rtems4.9/bin/ -B/opt/rtems-4.9/arm-rtems4.9/lib/ -isystem
/opt/rtems-4.9/arm-rtems4.9/include -isystem
/opt/rtems-4.9/arm-rtems4.9/sys-include -O2 -g -g -O2 -mhard-float -O2
-I../../../gcc-trunk/gcc/../newlib/libc/sys/rtems/include -O2 -g -g -O2  
-DIN_GCC -DCROSS_DIRECTORY_STRUCTURE   -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem
./include  -fno-inline -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc  -I. -I. -I../../.././gcc
-I../../../../../gcc-trunk/libgcc -I../../../../../gcc-trunk/libgcc/.
-I../../../../../gcc-trunk/libgcc/../gcc
-I../../../../../gcc-trunk/libgcc/../include  -DHAVE_CC_TLS -o _addsubdf3.o -MT
_addsubdf3.o -MD -MP -MF _addsubdf3.dep -DL_addsubdf3 -xassembler-with-cpp \
          -c ../../../../../gcc-trunk/libgcc/../gcc/config/arm/lib1funcs.asm
../../../../../gcc-trunk/libgcc/../gcc/config/arm/ieee754-df.S: Assembler
messages:
../../../../../gcc-trunk/libgcc/../gcc/config/arm/ieee754-df.S:529: Error: bad
instruction `do_itt eq'
make[4]: *** [_addsubdf3.o] Error 1
make[4]: Leaving directory
`/users/rtems/src/toolchains/BUILD/arm-rtems4.9/arm-rtems4.9/fpu/libgcc'


-- 
           Summary: bad instruction `do_itt eq'
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: corsepiu at gcc dot gnu dot org
GCC target triplet: arm-rtems*


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


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

* [Bug target/35071] bad instruction `do_itt eq'
  2008-02-04  5:38 [Bug target/35071] New: bad instruction `do_itt eq' corsepiu at gcc dot gnu dot org
@ 2008-02-11 20:12 ` alexandre dot nunes at gmail dot com
  2008-02-11 21:23 ` ubizjak at gmail dot com
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: alexandre dot nunes at gmail dot com @ 2008-02-11 20:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from alexandre dot nunes at gmail dot com  2008-02-11 20:12 -------
I've seem the same error building for arm-elf. Perhaps I need a newer
(experimental) binutils?


-- 


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


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

* [Bug target/35071] bad instruction `do_itt eq'
  2008-02-04  5:38 [Bug target/35071] New: bad instruction `do_itt eq' corsepiu at gcc dot gnu dot org
  2008-02-11 20:12 ` [Bug target/35071] " alexandre dot nunes at gmail dot com
@ 2008-02-11 21:23 ` ubizjak at gmail dot com
  2008-02-11 21:34 ` alexandre dot nunes at gmail dot com
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: ubizjak at gmail dot com @ 2008-02-11 21:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from ubizjak at gmail dot com  2008-02-11 21:23 -------
(In reply to comment #1)
> I've seem the same error building for arm-elf. Perhaps I need a newer
> (experimental) binutils?

Just a wild guess, could this be a typo?

[uros@localhost arm]$ grep do_itt *
ieee754-df.S:   do_itt  eq
ieee754-sf.S:   do_itt  eq

However, we have:

lib1funcs.asm:.macro do_it cond, suffix=""

and many references to "do_it" macro in asm sources.


-- 


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


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

* [Bug target/35071] bad instruction `do_itt eq'
  2008-02-04  5:38 [Bug target/35071] New: bad instruction `do_itt eq' corsepiu at gcc dot gnu dot org
  2008-02-11 20:12 ` [Bug target/35071] " alexandre dot nunes at gmail dot com
  2008-02-11 21:23 ` ubizjak at gmail dot com
@ 2008-02-11 21:34 ` alexandre dot nunes at gmail dot com
  2008-02-11 21:40 ` joel at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: alexandre dot nunes at gmail dot com @ 2008-02-11 21:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from alexandre dot nunes at gmail dot com  2008-02-11 21:34 -------
(In reply to comment #2)
> (In reply to comment #1)
> > I've seem the same error building for arm-elf. Perhaps I need a newer
> > (experimental) binutils?
> 
> Just a wild guess, could this be a typo?
> 
> [uros@localhost arm]$ grep do_itt *
> ieee754-df.S:   do_itt  eq
> ieee754-sf.S:   do_itt  eq
> 

I guessed the same and changed it, allowing it to compile. Whether or not
that's good, I don't know, but I'll keep the tree alive in the case I need to
recompile it :-)


-- 


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


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

* [Bug target/35071] bad instruction `do_itt eq'
  2008-02-04  5:38 [Bug target/35071] New: bad instruction `do_itt eq' corsepiu at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2008-02-11 21:34 ` alexandre dot nunes at gmail dot com
@ 2008-02-11 21:40 ` joel at gcc dot gnu dot org
  2008-02-14 16:11 ` drow at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: joel at gcc dot gnu dot org @ 2008-02-11 21:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from joel at gcc dot gnu dot org  2008-02-11 21:40 -------

Perhaps Paul could provide some insight. :)

$ svn blame ieee754-df.S ieee754-df.S | grep do_itt
120408     pbrook       do_itt  eq
120408     pbrook       do_itt  eq


-- 

joel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pbrook at gcc dot gnu dot
                   |                            |org


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


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

* [Bug target/35071] bad instruction `do_itt eq'
  2008-02-04  5:38 [Bug target/35071] New: bad instruction `do_itt eq' corsepiu at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2008-02-11 21:40 ` joel at gcc dot gnu dot org
@ 2008-02-14 16:11 ` drow at gcc dot gnu dot org
  2008-02-14 16:30 ` joel at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: drow at gcc dot gnu dot org @ 2008-02-14 16:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from drow at gcc dot gnu dot org  2008-02-14 16:11 -------
Looks like it should be "do_it eq, t".  Each additional "t" or "e" predicates
one more instruction.  The mvfeqd has to be predicated and so does the
RETc(eq).


-- 


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


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

* [Bug target/35071] bad instruction `do_itt eq'
  2008-02-04  5:38 [Bug target/35071] New: bad instruction `do_itt eq' corsepiu at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2008-02-14 16:11 ` drow at gcc dot gnu dot org
@ 2008-02-14 16:30 ` joel at gcc dot gnu dot org
  2008-02-14 17:27 ` corsepiu at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: joel at gcc dot gnu dot org @ 2008-02-14 16:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from joel at gcc dot gnu dot org  2008-02-14 16:30 -------
(In reply to comment #5)
> Looks like it should be "do_it eq, t".  Each additional "t" or "e" predicates
> one more instruction.  The mvfeqd has to be predicated and so does the
> RETc(eq).
> 

Do you want to commit that?


-- 


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


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

* [Bug target/35071] bad instruction `do_itt eq'
  2008-02-04  5:38 [Bug target/35071] New: bad instruction `do_itt eq' corsepiu at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2008-02-14 16:30 ` joel at gcc dot gnu dot org
@ 2008-02-14 17:27 ` corsepiu at gcc dot gnu dot org
  2008-02-19  1:30 ` pbrook at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: corsepiu at gcc dot gnu dot org @ 2008-02-14 17:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from corsepiu at gcc dot gnu dot org  2008-02-14 17:26 -------
Created an attachment (id=15150)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=15150&action=view)
patch implementing drow's proposal

I have no idea what this patch actually does, but it at least lets
arm-rtems*-gcc bootstrap ;)


-- 


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


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

* [Bug target/35071] bad instruction `do_itt eq'
  2008-02-04  5:38 [Bug target/35071] New: bad instruction `do_itt eq' corsepiu at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2008-02-14 17:27 ` corsepiu at gcc dot gnu dot org
@ 2008-02-19  1:30 ` pbrook at gcc dot gnu dot org
  2008-02-19  1:31 ` pbrook at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pbrook at gcc dot gnu dot org @ 2008-02-19  1:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from pbrook at gcc dot gnu dot org  2008-02-19 01:29 -------
Subject: Bug 35071

Author: pbrook
Date: Tue Feb 19 01:29:09 2008
New Revision: 132404

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132404
Log:
2008-02-19  Paul Brook  <paul@codesourcery.com>

        PR target/35071
        * config/arm/ieee754-df.S: Fix do_it typo.
        * config/arm/ieee754-sf.S: Fix do_it typo.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/arm/ieee754-df.S
    trunk/gcc/config/arm/ieee754-sf.S


-- 


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


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

* [Bug target/35071] bad instruction `do_itt eq'
  2008-02-04  5:38 [Bug target/35071] New: bad instruction `do_itt eq' corsepiu at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2008-02-19  1:30 ` pbrook at gcc dot gnu dot org
@ 2008-02-19  1:31 ` pbrook at gcc dot gnu dot org
  2008-02-19  2:21 ` manu at gcc dot gnu dot org
  2008-02-19  4:33 ` pbrook at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: pbrook at gcc dot gnu dot org @ 2008-02-19  1:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from pbrook at gcc dot gnu dot org  2008-02-19 01:30 -------
Fixed


-- 

pbrook at gcc dot gnu dot org changed:

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


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


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

* [Bug target/35071] bad instruction `do_itt eq'
  2008-02-04  5:38 [Bug target/35071] New: bad instruction `do_itt eq' corsepiu at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2008-02-19  1:31 ` pbrook at gcc dot gnu dot org
@ 2008-02-19  2:21 ` manu at gcc dot gnu dot org
  2008-02-19  4:33 ` pbrook at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: manu at gcc dot gnu dot org @ 2008-02-19  2:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from manu at gcc dot gnu dot org  2008-02-19 02:20 -------
Paul,

notice that you fixed this *after* GCC 4.3 branched, so if your intention was
to fix it also for GCC 4.3, you would need to commit the fix to the branch (and
get a RM to approve it).


-- 

manu at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.4.0


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


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

* [Bug target/35071] bad instruction `do_itt eq'
  2008-02-04  5:38 [Bug target/35071] New: bad instruction `do_itt eq' corsepiu at gcc dot gnu dot org
                   ` (9 preceding siblings ...)
  2008-02-19  2:21 ` manu at gcc dot gnu dot org
@ 2008-02-19  4:33 ` pbrook at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: pbrook at gcc dot gnu dot org @ 2008-02-19  4:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from pbrook at gcc dot gnu dot org  2008-02-19 04:33 -------
Subject: Bug 35071

Author: pbrook
Date: Tue Feb 19 04:32:15 2008
New Revision: 132408

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132408
Log:
2008-02-19  Paul Brook  <paul@codesourcery.com>

        PR target/35071
        * config/arm/ieee754-df.S: Fix do_it typo.
        * config/arm/ieee754-sf.S: Fix do_it typo.


Modified:
    branches/gcc-4_3-branch/gcc/ChangeLog
    branches/gcc-4_3-branch/gcc/config/arm/ieee754-df.S
    branches/gcc-4_3-branch/gcc/config/arm/ieee754-sf.S


-- 


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


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

end of thread, other threads:[~2008-02-19  4:33 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-02-04  5:38 [Bug target/35071] New: bad instruction `do_itt eq' corsepiu at gcc dot gnu dot org
2008-02-11 20:12 ` [Bug target/35071] " alexandre dot nunes at gmail dot com
2008-02-11 21:23 ` ubizjak at gmail dot com
2008-02-11 21:34 ` alexandre dot nunes at gmail dot com
2008-02-11 21:40 ` joel at gcc dot gnu dot org
2008-02-14 16:11 ` drow at gcc dot gnu dot org
2008-02-14 16:30 ` joel at gcc dot gnu dot org
2008-02-14 17:27 ` corsepiu at gcc dot gnu dot org
2008-02-19  1:30 ` pbrook at gcc dot gnu dot org
2008-02-19  1:31 ` pbrook at gcc dot gnu dot org
2008-02-19  2:21 ` manu at gcc dot gnu dot org
2008-02-19  4:33 ` pbrook at gcc dot gnu 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).