mainline broken for powerpc-unknown-linux-gnu (Java -msoft-float)

Alexandre Oliva aoliva@redhat.com
Sat Apr 19 20:48:00 GMT 2003


On Apr 18, 2003, Janis Johnson <janis187@us.ibm.com> wrote:

> This patch breaks Java for -msoft-float on powerpc-unknown-linux-gnu:

Hmm...  I can see how my patch could turn a pre-existing but silent
error into a hard error in a case like this:

> ../../../../gcc-mline/libjava/java/lang/Math.java:270: error: insn does not satisfy its constraints:
> (insn 77 104 81 8 0x4015ab80 (set (reg:SF 66 ctr [orig:118 <result> ] [118])
>         (reg:SF 66 ctr [orig:130 a ] [130])) 320 {*movsf_softfloat} (insn_list:REG_DEP_OUTPUT 23 (insn_list 71 (insn_list 75 (insn_list:REG_DEP_ANTI 64 (nil)))))
>     (nil))

I'm afraid I'm away from my main computer starting today, until Sunday
next week, and, thanks to a failed hard disk on my laptop, I'm *very*
short on disk space, so I may be unable to look into this until I
return.

However, as I wrote before, this error doesn't indicate an error in my
patch, but rather some other error that it has happened to expose, so,
if someone more familiar with powerpc could have a look on why reload
is generating this incorrect instruction, that was previously removed
but that no longer is, I'd appreciate it.

Thanks,

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer



More information about the Gcc mailing list