public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/23404] New: Interpreted byte code does not run properly on ppc
@ 2005-08-15 17:27 orion at cora dot nwra dot com
  2005-08-15 17:29 ` [Bug java/23404] " orion at cora dot nwra dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: orion at cora dot nwra dot com @ 2005-08-15 17:27 UTC (permalink / raw)
  To: java-prs

This is on a Fedora Core 4 machine:

gij (GNU libgcj) version 4.0.1 20050727 (Red Hat 4.0.1-5)

The to be attached code does not run properly on ppc.  Runs fine on x86 (32 and
64 bit).  The byte-code appears to be correct because it runs fine using the IBM
JVM.

Compiled with:

javac plplot/*/*.java

Run with:

java plplot.examples.x08

The output is the arguments passed to plw3d().  In the source this is:

pls.w3d( 1.0, 1.0, 1.0, -1.5, 1.5, -0.5, 1.5, zmin, zmax,
                           alt[k], az[k] );

Output (first loop) is:

0.0
1.0
1.0
-1.5
1.5
-0.5
1.5
-5.093869927024149
NaN
-3.7431896459052014E-274
5.32506451E-315

Correct output should be:

1.0
1.0
1.0
-1.5
1.5
-0.5
1.5
-5.093869927024149
6.636602508481567
60.0
30.0

It looks like arg1, arg9, arg10, and arg11 are not passed properly.

-- 
           Summary: Interpreted byte code does not run properly on ppc
           Product: gcc
           Version: 4.0.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: orion at cora dot nwra dot com
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org
  GCC host triplet: ppc64-redhat-linux


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


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

end of thread, other threads:[~2005-08-25  1:13 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-15 17:27 [Bug java/23404] New: Interpreted byte code does not run properly on ppc orion at cora dot nwra dot com
2005-08-15 17:29 ` [Bug java/23404] " orion at cora dot nwra dot com
2005-08-15 17:47 ` [Bug libffi/23404] " pinskia at gcc dot gnu dot org
2005-08-17 12:26 ` [Bug libffi/23404] Interpreted byte code does not run properly on ppc64 pinskia at gcc dot gnu dot org
2005-08-24  3:53 ` [Bug libffi/23404] Interpreted java byte code does not run properly amodra at bigpond dot net dot au
2005-08-24  4:17 ` amodra at bigpond dot net dot au
2005-08-25  0:55 ` [Bug target/23404] gij trashes args of functions with more than 8 fp args cvs-commit at gcc dot gnu dot org
2005-08-25  0:56 ` cvs-commit at gcc dot gnu dot org
2005-08-25  1:10 ` cvs-commit at gcc dot gnu dot org
2005-08-25  1:13 ` amodra at bigpond dot net dot au

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