public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/37987] iwmmxt: insn does not satisfy its constraints on (int64_t)
       [not found] <bug-37987-4@http.gcc.gnu.org/bugzilla/>
@ 2024-03-15 21:49 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-03-15 21:49 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=37987

--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
iwmmxt support has been deprecated in GCC 13 .

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

* [Bug target/37987] iwmmxt: insn does not satisfy its constraints on (int64_t)
  2008-11-01 15:13 [Bug c/37987] New: " utx at penguin dot cz
                   ` (5 preceding siblings ...)
  2009-11-28 23:15 ` enrico dot scholz at informatik dot tu-chemnitz dot de
@ 2009-12-09 17:10 ` ramana at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: ramana at gcc dot gnu dot org @ 2009-12-09 17:10 UTC (permalink / raw)
  To: gcc-bugs



-- 

ramana at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2009-12-09 17:10:46
               date|                            |


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


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

* [Bug target/37987] iwmmxt: insn does not satisfy its constraints on (int64_t)
  2008-11-01 15:13 [Bug c/37987] New: " utx at penguin dot cz
                   ` (4 preceding siblings ...)
  2009-07-02  2:09 ` ccg dot ijsj at gmail dot com
@ 2009-11-28 23:15 ` enrico dot scholz at informatik dot tu-chemnitz dot de
  2009-12-09 17:10 ` ramana at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: enrico dot scholz at informatik dot tu-chemnitz dot de @ 2009-11-28 23:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from enrico dot scholz at informatik dot tu-chemnitz dot de  2009-11-28 23:15 -------
ICE has been verified with gcc 4.4.2.

Some analysis have been done in bug #40836 (comments 20 + 21): the WLDRW
operation which would be required for this insn allows only 10 (effective 8)
bit but not 12 bit for the immediate offset.  E.g. the '-3888' in

   WLDRW  wcgr0, [fp, #-3888]

is not possible.


-- 

enrico dot scholz at informatik dot tu-chemnitz dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |enrico dot scholz at
                   |                            |informatik dot tu-chemnitz
                   |                            |dot de


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


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

* [Bug target/37987] iwmmxt: insn does not satisfy its constraints on (int64_t)
  2008-11-01 15:13 [Bug c/37987] New: " utx at penguin dot cz
                   ` (3 preceding siblings ...)
  2009-07-02  2:05 ` ccg dot ijsj at gmail dot com
@ 2009-07-02  2:09 ` ccg dot ijsj at gmail dot com
  2009-11-28 23:15 ` enrico dot scholz at informatik dot tu-chemnitz dot de
  2009-12-09 17:10 ` ramana at gcc dot gnu dot org
  6 siblings, 0 replies; 8+ messages in thread
From: ccg dot ijsj at gmail dot com @ 2009-07-02  2:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from ccg dot ijsj at gmail dot com  2009-07-02 02:09 -------
(In reply to comment #4)

> Can you give a pre-processed file for further investigations ? Your report is
> incomplete without it and hence I'll have to retain the waiting status on this
> one.
> 
Please find the preprocessed file in libc_fatal.i, and also the cross-compiled
shared compiler version:

arm-iwmmxt-linux-gnueabi-gcc -v
Using built-in specs.
Target: arm-iwmmxt-linux-gnueabi
Configured with:
/home/jsji/arm-iwmmxt-linux-4.4-ctng/targets/src/gcc-4.4.0/configure
--build=i486-build_pc-linux-gnu --host=i486-build_pc-linux-gnu
--target=arm-iwmmxt-linux-gnueabi
--prefix=/home/jsji/arm-iwmmxt-linux-4.4-ctng/targets/arm-iwmmxt-linux-gnueabi/build/gcc-core-shared
--with-local-prefix=/home/jsji/x-tools/arm-iwmmxt-linux-gnueabi/arm-iwmmxt-linux-gnueabi//sys-root
--disable-multilib
--with-sysroot=/home/jsji/x-tools/arm-iwmmxt-linux-gnueabi/arm-iwmmxt-linux-gnueabi//sys-root
--enable-shared --with-arch=iwmmxt --with-tune=iwmmxt --with-float=soft
--with-gmp=/home/jsji/x-tools/arm-iwmmxt-linux-gnueabi
--with-mpfr=/home/jsji/x-tools/arm-iwmmxt-linux-gnueabi --enable-__cxa_atexit
--disable-nls --enable-symvers=gnu --enable-languages=c
--enable-target-optspace
Thread model: posix
gcc version 4.4.0 (GCC) 


-- 

ccg dot ijsj at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ccg dot ijsj at gmail dot
                   |                            |com


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


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

* [Bug target/37987] iwmmxt: insn does not satisfy its constraints on (int64_t)
  2008-11-01 15:13 [Bug c/37987] New: " utx at penguin dot cz
                   ` (2 preceding siblings ...)
  2009-07-01  8:39 ` ramana at gcc dot gnu dot org
@ 2009-07-02  2:05 ` ccg dot ijsj at gmail dot com
  2009-07-02  2:09 ` ccg dot ijsj at gmail dot com
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ccg dot ijsj at gmail dot com @ 2009-07-02  2:05 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from ccg dot ijsj at gmail dot com  2009-07-02 02:05 -------
Created an attachment (id=18115)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=18115&action=view)
Preprocessed libc_fatal.c


-- 


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


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

* [Bug target/37987] iwmmxt: insn does not satisfy its constraints on (int64_t)
  2008-11-01 15:13 [Bug c/37987] New: " utx at penguin dot cz
  2009-05-13 10:14 ` [Bug target/37987] " ramana at gcc dot gnu dot org
  2009-07-01  6:42 ` ccg dot ijsj at gmail dot com
@ 2009-07-01  8:39 ` ramana at gcc dot gnu dot org
  2009-07-02  2:05 ` ccg dot ijsj at gmail dot com
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ramana at gcc dot gnu dot org @ 2009-07-01  8:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from ramana at gcc dot gnu dot org  2009-07-01 08:39 -------
(In reply to comment #3)
> (In reply to comment #2)
> > Can you check this with a later compiler. 4.2.x is closed. Works for me with
> > current trunk.
> > 
> Just encountered similar problem while cross compiling gcc 4.4.0 with glibc
> 2.9.
> (Using crosstool-NG).> 
> The error messages:
> 
> [ALL  ]    arm-iwmmxt-linux-gnueabi-gcc    
> ../sysdeps/unix/sysv/linux/libc_fatal.c -c -std=gnu99 -fgnu89-inline -O -Wall
> -Winline -Wwrite-strings -finline-limit=10000 -fmerge-all-constants
> -mabi=aapcs-linux -march=iwmmxt -mlittle-endian -msoft-float
> -Wstrict-prototypes      -I../include
> -I/home/jsji/arm-iwmmxt-linux-4.4-ctng/targets/arm-iwmmxt-linux-gnueabi/build/build-libc/libio
> -I/home/jsji/arm-iwmmxt-linux-4.4-ctng/targets/arm-iwmmxt-linux-gnueabi/build/build-libc
> -I../ports/sysdeps/arm/elf -I../ports/sysdeps/unix/sysv/linux/arm/eabi/nptl
> -I../ports/sysdeps/unix/sysv/linux/arm/eabi
> -I../ports/sysdeps/unix/sysv/linux/arm/nptl
> -I../ports/sysdeps/unix/sysv/linux/arm -I../nptl/sysdeps/unix/sysv/linux
> -I../nptl/sysdeps/pthread -I../sysdeps/pthread
> -I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux
> -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman
> -I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -I../ports/sysdeps/unix/sysv
> -I../sysdeps/unix/sysv -I../ports/sysdeps/unix/arm -I../nptl/sysdeps/unix
> -I../ports/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix
> -I../ports/sysdeps/arm/eabi -I../ports/sysdeps/arm/nptl -I../ports/sysdeps/arm
> -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32
> -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic/elf
> -I../sysdeps/generic -I../nptl -I../ports  -I.. -I../libio -I. -nostdinc
> -isystem
> /home/jsji/arm-iwmmxt-linux-4.4-ctng/targets/arm-iwmmxt-linux-gnueabi/build/gcc-core-shared/lib/gcc/arm-iwmmxt-linux-gnueabi/4.4.0/include
> -isystem
> /home/jsji/arm-iwmmxt-linux-4.4-ctng/targets/arm-iwmmxt-linux-gnueabi/build/gcc-core-shared/lib/gcc/arm-iwmmxt-linux-gnueabi/4.4.0/include-fixed
> -isystem
> /home/jsji/x-tools/arm-iwmmxt-linux-gnueabi/arm-iwmmxt-linux-gnueabi//sys-root/usr/include
> -D_LIBC_REENTRANT -include ../include/libc-symbols.h        -D_IO_MTSAFE_IO -o
> /home/jsji/arm-iwmmxt-linux-4.4-ctng/targets/arm-iwmmxt-linux-gnueabi/build/build-libc/libio/libc_fatal.o
> -MD -MP -MF
> /home/jsji/arm-iwmmxt-linux-4.4-ctng/targets/arm-iwmmxt-linux-gnueabi/build/build-libc/libio/libc_fatal.o.dt
> -MT
> /home/jsji/arm-iwmmxt-linux-4.4-ctng/targets/arm-iwmmxt-linux-gnueabi/build/build-libc/libio/libc_fatal.o 
> [ALL  ]    ../sysdeps/unix/sysv/linux/libc_fatal.c: In function
> '__libc_message':
> [ERROR]    ../sysdeps/unix/sysv/linux/libc_fatal.c:172: error: insn does not
> satisfy its constraints:
> [ALL  ]    (insn 459 154 155 19 ../sysdeps/unix/sysv/linux/libc_fatal.c:106
> (set (reg:SI 43 wcgr0)
> [ALL  ]            (mem/c:SI (plus:SI (reg/f:SI 11 fp)
> [ALL  ]                    (const_int -1324 [0xfffffffffffffad4])) [0
> %sfp+-1292 S4 A32])) 441 {*iwmmxt_movsi_insn} (nil))
> [ERROR]    ../sysdeps/unix/sysv/linux/libc_fatal.c:172: internal compiler
> error: in reload_cse_simplify_operands, at postreload.c:396
> [ALL  ]    Please submit a full bug report,
> [ALL  ]    with preprocessed source if appropriate.
> [ALL  ]    See <http://gcc.gnu.org/bugs.html> for instructions.
> [ERROR]    make[3]: ***
> [/home/jsji/arm-iwmmxt-linux-4.4-ctng/targets/arm-iwmmxt-linux-gnueabi/build/build-libc/libio/libc_fatal.o]
> Error 1
> [ALL  ]    make[3]: Leaving directory
> `/home/jsji/arm-iwmmxt-linux-4.4-ctng/targets/src/glibc-cvs-2.9/libio'
> [ERROR]    make[2]: *** [libio/subdir_lib] Error 2
> [ALL  ]    make[2]: Leaving directory
> `/home/jsji/arm-iwmmxt-linux-4.4-ctng/targets/src/glibc-cvs-2.9'
> [ERROR]    make[1]: *** [all] Error 2
> [ALL  ]    make[1]: Leaving directory
> `/home/jsji/arm-iwmmxt-linux-4.4-ctng/targets/arm-iwmmxt-linux-gnueabi/build/build-libc'
> 



Can you give a pre-processed file for further investigations ? Your report is
incomplete without it and hence I'll have to retain the waiting status on this
one.


-- 


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


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

* [Bug target/37987] iwmmxt: insn does not satisfy its constraints on (int64_t)
  2008-11-01 15:13 [Bug c/37987] New: " utx at penguin dot cz
  2009-05-13 10:14 ` [Bug target/37987] " ramana at gcc dot gnu dot org
@ 2009-07-01  6:42 ` ccg dot ijsj at gmail dot com
  2009-07-01  8:39 ` ramana at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ccg dot ijsj at gmail dot com @ 2009-07-01  6:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from ccg dot ijsj at gmail dot com  2009-07-01 06:41 -------
(In reply to comment #2)
> Can you check this with a later compiler. 4.2.x is closed. Works for me with
> current trunk.
> 
Just encountered similar problem while cross compiling gcc 4.4.0 with glibc
2.9.
(Using crosstool-NG).

The error messages:

[ALL  ]    arm-iwmmxt-linux-gnueabi-gcc    
../sysdeps/unix/sysv/linux/libc_fatal.c -c -std=gnu99 -fgnu89-inline -O -Wall
-Winline -Wwrite-strings -finline-limit=10000 -fmerge-all-constants
-mabi=aapcs-linux -march=iwmmxt -mlittle-endian -msoft-float
-Wstrict-prototypes      -I../include
-I/home/jsji/arm-iwmmxt-linux-4.4-ctng/targets/arm-iwmmxt-linux-gnueabi/build/build-libc/libio
-I/home/jsji/arm-iwmmxt-linux-4.4-ctng/targets/arm-iwmmxt-linux-gnueabi/build/build-libc
-I../ports/sysdeps/arm/elf -I../ports/sysdeps/unix/sysv/linux/arm/eabi/nptl
-I../ports/sysdeps/unix/sysv/linux/arm/eabi
-I../ports/sysdeps/unix/sysv/linux/arm/nptl
-I../ports/sysdeps/unix/sysv/linux/arm -I../nptl/sysdeps/unix/sysv/linux
-I../nptl/sysdeps/pthread -I../sysdeps/pthread
-I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux
-I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman
-I../sysdeps/unix/inet -I../nptl/sysdeps/unix/sysv -I../ports/sysdeps/unix/sysv
-I../sysdeps/unix/sysv -I../ports/sysdeps/unix/arm -I../nptl/sysdeps/unix
-I../ports/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix
-I../ports/sysdeps/arm/eabi -I../ports/sysdeps/arm/nptl -I../ports/sysdeps/arm
-I../sysdeps/wordsize-32 -I../sysdeps/ieee754/flt-32
-I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic/elf
-I../sysdeps/generic -I../nptl -I../ports  -I.. -I../libio -I. -nostdinc
-isystem
/home/jsji/arm-iwmmxt-linux-4.4-ctng/targets/arm-iwmmxt-linux-gnueabi/build/gcc-core-shared/lib/gcc/arm-iwmmxt-linux-gnueabi/4.4.0/include
-isystem
/home/jsji/arm-iwmmxt-linux-4.4-ctng/targets/arm-iwmmxt-linux-gnueabi/build/gcc-core-shared/lib/gcc/arm-iwmmxt-linux-gnueabi/4.4.0/include-fixed
-isystem
/home/jsji/x-tools/arm-iwmmxt-linux-gnueabi/arm-iwmmxt-linux-gnueabi//sys-root/usr/include
-D_LIBC_REENTRANT -include ../include/libc-symbols.h        -D_IO_MTSAFE_IO -o
/home/jsji/arm-iwmmxt-linux-4.4-ctng/targets/arm-iwmmxt-linux-gnueabi/build/build-libc/libio/libc_fatal.o
-MD -MP -MF
/home/jsji/arm-iwmmxt-linux-4.4-ctng/targets/arm-iwmmxt-linux-gnueabi/build/build-libc/libio/libc_fatal.o.dt
-MT
/home/jsji/arm-iwmmxt-linux-4.4-ctng/targets/arm-iwmmxt-linux-gnueabi/build/build-libc/libio/libc_fatal.o 
[ALL  ]    ../sysdeps/unix/sysv/linux/libc_fatal.c: In function
'__libc_message':
[ERROR]    ../sysdeps/unix/sysv/linux/libc_fatal.c:172: error: insn does not
satisfy its constraints:
[ALL  ]    (insn 459 154 155 19 ../sysdeps/unix/sysv/linux/libc_fatal.c:106
(set (reg:SI 43 wcgr0)
[ALL  ]            (mem/c:SI (plus:SI (reg/f:SI 11 fp)
[ALL  ]                    (const_int -1324 [0xfffffffffffffad4])) [0
%sfp+-1292 S4 A32])) 441 {*iwmmxt_movsi_insn} (nil))
[ERROR]    ../sysdeps/unix/sysv/linux/libc_fatal.c:172: internal compiler
error: in reload_cse_simplify_operands, at postreload.c:396
[ALL  ]    Please submit a full bug report,
[ALL  ]    with preprocessed source if appropriate.
[ALL  ]    See <http://gcc.gnu.org/bugs.html> for instructions.
[ERROR]    make[3]: ***
[/home/jsji/arm-iwmmxt-linux-4.4-ctng/targets/arm-iwmmxt-linux-gnueabi/build/build-libc/libio/libc_fatal.o]
Error 1
[ALL  ]    make[3]: Leaving directory
`/home/jsji/arm-iwmmxt-linux-4.4-ctng/targets/src/glibc-cvs-2.9/libio'
[ERROR]    make[2]: *** [libio/subdir_lib] Error 2
[ALL  ]    make[2]: Leaving directory
`/home/jsji/arm-iwmmxt-linux-4.4-ctng/targets/src/glibc-cvs-2.9'
[ERROR]    make[1]: *** [all] Error 2
[ALL  ]    make[1]: Leaving directory
`/home/jsji/arm-iwmmxt-linux-4.4-ctng/targets/arm-iwmmxt-linux-gnueabi/build/build-libc'


-- 


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


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

* [Bug target/37987] iwmmxt: insn does not satisfy its constraints on (int64_t)
  2008-11-01 15:13 [Bug c/37987] New: " utx at penguin dot cz
@ 2009-05-13 10:14 ` ramana at gcc dot gnu dot org
  2009-07-01  6:42 ` ccg dot ijsj at gmail dot com
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: ramana at gcc dot gnu dot org @ 2009-05-13 10:14 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from ramana at gcc dot gnu dot org  2009-05-13 10:14 -------
Can you check this with a later compiler. 4.2.x is closed. Works for me with
current trunk.


-- 

ramana at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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


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

end of thread, other threads:[~2024-03-15 21:49 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-37987-4@http.gcc.gnu.org/bugzilla/>
2024-03-15 21:49 ` [Bug target/37987] iwmmxt: insn does not satisfy its constraints on (int64_t) pinskia at gcc dot gnu.org
2008-11-01 15:13 [Bug c/37987] New: " utx at penguin dot cz
2009-05-13 10:14 ` [Bug target/37987] " ramana at gcc dot gnu dot org
2009-07-01  6:42 ` ccg dot ijsj at gmail dot com
2009-07-01  8:39 ` ramana at gcc dot gnu dot org
2009-07-02  2:05 ` ccg dot ijsj at gmail dot com
2009-07-02  2:09 ` ccg dot ijsj at gmail dot com
2009-11-28 23:15 ` enrico dot scholz at informatik dot tu-chemnitz dot de
2009-12-09 17:10 ` ramana 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).