public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
From: "orion at cora dot nwra dot com" <gcc-bugzilla@gcc.gnu.org>
To: java-prs@gcc.gnu.org
Subject: [Bug java/23404] New: Interpreted byte code does not run properly on ppc
Date: Mon, 15 Aug 2005 17:27:00 -0000	[thread overview]
Message-ID: <20050815172723.23404.orion@cora.nwra.com> (raw)

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


             reply	other threads:[~2005-08-15 17:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-15 17:27 orion at cora dot nwra dot com [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050815172723.23404.orion@cora.nwra.com \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=java-prs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).