Mercurial > hg > release > icedtea6-1.5
changeset 530:e4b0d5cb26c0 cacao
2007-12-14 Gary Benson <gbenson@redhat.com>
* ports/hotspot/src/cpu/ppc/vm/bytecodeInterpreter_ppc.inline.hpp
(VMmemCopy64): Use 64-bit operations on ppc64.
author | Gary Benson <gbenson@redhat.com> |
---|---|
date | Fri, 14 Dec 2007 06:01:20 -0500 |
parents | ee3fcf5c16eb |
children | 9f6e0e05add0 |
files | ChangeLog ports/hotspot/src/cpu/ppc/vm/bytecodeInterpreter_ppc.inline.hpp |
diffstat | 2 files changed, 6 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Thu Dec 13 11:47:07 2007 -0500 +++ b/ChangeLog Fri Dec 14 06:01:20 2007 -0500 @@ -1,3 +1,8 @@ +2007-12-14 Gary Benson <gbenson@redhat.com> + + * ports/hotspot/src/cpu/ppc/vm/bytecodeInterpreter_ppc.inline.hpp + (VMmemCopy64): Use 64-bit operations on ppc64. + 2007-12-13 Lillian Angel <langel@redhat.com> * Makefile.am
--- a/ports/hotspot/src/cpu/ppc/vm/bytecodeInterpreter_ppc.inline.hpp Thu Dec 13 11:47:07 2007 -0500 +++ b/ports/hotspot/src/cpu/ppc/vm/bytecodeInterpreter_ppc.inline.hpp Fri Dec 14 06:01:20 2007 -0500 @@ -42,12 +42,9 @@ } inline void BytecodeInterpreter::VMmemCopy64(uint32_t to[2], const uint32_t from[2]) { - // x86 can do unaligned copies but not 64bits at a time - to[0] = from[0]; to[1] = from[1]; + *(uint64_t *) to = *(uint64_t *) from; } -// The long operations depend on compiler support for "long long" on x86 - inline jlong BytecodeInterpreter::VMlongAdd(jlong op1, jlong op2) { return op1 + op2; }