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
* [Bug java/23404] Interpreted byte code does not run properly on ppc
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 ` orion at cora dot nwra dot com
2005-08-15 17:47 ` [Bug libffi/23404] " pinskia at gcc dot gnu dot org
` (7 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: orion at cora dot nwra dot com @ 2005-08-15 17:29 UTC (permalink / raw)
To: java-prs
------- Additional Comments From orion at cora dot nwra dot com 2005-08-15 17:28 -------
Created an attachment (id=9499)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=9499&action=view)
Java code to reproduce problem.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23404
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug libffi/23404] Interpreted byte code does not run properly on ppc
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 ` 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
` (6 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-15 17:47 UTC (permalink / raw)
To: java-prs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-15 17:46 -------
I think this is a libffi issue rather than anything else.
--
What |Removed |Added
----------------------------------------------------------------------------
Component|java |libffi
GCC host triplet|ppc64-redhat-linux |
GCC target triplet| |ppc64-redhat-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23404
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug libffi/23404] Interpreted byte code does not run properly on ppc64
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 ` 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
` (5 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-17 12:26 UTC (permalink / raw)
To: java-prs
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|Interpreted byte code does |Interpreted byte code does
|not run properly on ppc |not run properly on ppc64
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23404
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug libffi/23404] Interpreted java byte code does not run properly
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
` (2 preceding siblings ...)
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 ` amodra at bigpond dot net dot au
2005-08-24 4:17 ` amodra at bigpond dot net dot au
` (4 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: amodra at bigpond dot net dot au @ 2005-08-24 3:53 UTC (permalink / raw)
To: java-prs
------- Additional Comments From amodra at bigpond dot net dot au 2005-08-24 03:52 -------
I could not reproduce this problem using a powerpc64 gij. However, I could when
using a powerpc gij. Retargetting.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
GCC target triplet|ppc64-redhat-linux |powerpc-linux
Last reconfirmed|0000-00-00 00:00:00 |2005-08-24 03:52:55
date| |
Summary|Interpreted byte code does |Interpreted java byte code
|not run properly on ppc64 |does not run properly
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23404
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug libffi/23404] Interpreted java byte code does not run properly
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
` (3 preceding siblings ...)
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
` (3 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: amodra at bigpond dot net dot au @ 2005-08-24 4:17 UTC (permalink / raw)
To: java-prs
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |amodra at bigpond dot net
|dot org |dot au
Status|NEW |ASSIGNED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23404
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/23404] gij trashes args of functions with more than 8 fp args
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
` (4 preceding siblings ...)
2005-08-24 4:17 ` amodra at bigpond dot net dot au
@ 2005-08-25 0:55 ` cvs-commit at gcc dot gnu dot org
2005-08-25 0:56 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-08-25 0:55 UTC (permalink / raw)
To: java-prs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-25 00:55 -------
Subject: Bug 23404
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: amodra@gcc.gnu.org 2005-08-25 00:54:54
Modified files:
libffi : ChangeLog
libffi/src/powerpc: ffi.c
Log message:
PR target/23404
* src/powerpc/ffi.c (ffi_prep_args_SYSV): Correct placement of stack
homed fp args.
(ffi_status ffi_prep_cif_machdep): Correct stack sizing for same.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libffi/ChangeLog.diff?cvsroot=gcc&r1=1.248&r2=1.249
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libffi/src/powerpc/ffi.c.diff?cvsroot=gcc&r1=1.14&r2=1.15
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23404
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/23404] gij trashes args of functions with more than 8 fp args
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
` (5 preceding siblings ...)
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
8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-08-25 0:56 UTC (permalink / raw)
To: java-prs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-25 00:56 -------
Subject: Bug 23404
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-4_0-branch
Changes by: amodra@gcc.gnu.org 2005-08-25 00:56:36
Modified files:
libffi : ChangeLog
libffi/src/powerpc: ffi.c
Log message:
PR target/23404
* src/powerpc/ffi.c (ffi_prep_args_SYSV): Correct placement of stack
homed fp args.
(ffi_status ffi_prep_cif_machdep): Correct stack sizing for same.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libffi/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.222.2.6&r2=1.222.2.7
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libffi/src/powerpc/ffi.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.12&r2=1.12.2.1
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23404
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/23404] gij trashes args of functions with more than 8 fp args
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
` (6 preceding siblings ...)
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
8 siblings, 0 replies; 10+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-08-25 1:10 UTC (permalink / raw)
To: java-prs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-08-25 01:10 -------
Subject: Bug 23404
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-3_4-branch
Changes by: amodra@gcc.gnu.org 2005-08-25 01:09:56
Modified files:
libffi : ChangeLog
libffi/src/powerpc: ffi.c
Log message:
PR target/23404
* src/powerpc/ffi.c (ffi_prep_args_SYSV): Correct placement of stack
homed fp args.
(ffi_status ffi_prep_cif_machdep): Correct stack sizing for same.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libffi/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.153.4.14&r2=1.153.4.15
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libffi/src/powerpc/ffi.c.diff?cvsroot=gcc&only_with_tag=gcc-3_4-branch&r1=1.7.10.1&r2=1.7.10.2
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23404
^ permalink raw reply [flat|nested] 10+ messages in thread
* [Bug target/23404] gij trashes args of functions with more than 8 fp args
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
` (7 preceding siblings ...)
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
8 siblings, 0 replies; 10+ messages in thread
From: amodra at bigpond dot net dot au @ 2005-08-25 1:13 UTC (permalink / raw)
To: java-prs
------- Additional Comments From amodra at bigpond dot net dot au 2005-08-25 01:13 -------
Fixed.
--
What |Removed |Added
----------------------------------------------------------------------------
URL| |http://gcc.gnu.org/ml/gcc-
| |patches/2005-
| |08/msg01397.html
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
Target Milestone|--- |3.4.5
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).