Mercurial > hg > graal-compiler
comparison src/cpu/ppc/vm/copy_ppc.hpp @ 14445:67fa91961822
8029940: PPC64 (part 122): C2 compiler port
Reviewed-by: kvn
author | goetz |
---|---|
date | Wed, 11 Dec 2013 00:06:11 +0100 |
parents | ec28f9c041ff |
children |
comparison
equal
deleted
inserted
replaced
14444:492e67693373 | 14445:67fa91961822 |
---|---|
103 } | 103 } |
104 } | 104 } |
105 } | 105 } |
106 | 106 |
107 static void pd_conjoint_jshorts_atomic(jshort* from, jshort* to, size_t count) { | 107 static void pd_conjoint_jshorts_atomic(jshort* from, jshort* to, size_t count) { |
108 // TODO: contribute optimized version. | |
108 copy_conjoint_atomic<jshort>(from, to, count); | 109 copy_conjoint_atomic<jshort>(from, to, count); |
109 } | 110 } |
110 | 111 |
111 static void pd_conjoint_jints_atomic(jint* from, jint* to, size_t count) { | 112 static void pd_conjoint_jints_atomic(jint* from, jint* to, size_t count) { |
113 // TODO: contribute optimized version. | |
112 copy_conjoint_atomic<jint>(from, to, count); | 114 copy_conjoint_atomic<jint>(from, to, count); |
113 } | 115 } |
114 | 116 |
115 static void pd_conjoint_jlongs_atomic(jlong* from, jlong* to, size_t count) { | 117 static void pd_conjoint_jlongs_atomic(jlong* from, jlong* to, size_t count) { |
116 copy_conjoint_atomic<jlong>(from, to, count); | 118 copy_conjoint_atomic<jlong>(from, to, count); |
123 static void pd_arrayof_conjoint_bytes(HeapWord* from, HeapWord* to, size_t count) { | 125 static void pd_arrayof_conjoint_bytes(HeapWord* from, HeapWord* to, size_t count) { |
124 pd_conjoint_bytes_atomic(from, to, count); | 126 pd_conjoint_bytes_atomic(from, to, count); |
125 } | 127 } |
126 | 128 |
127 static void pd_arrayof_conjoint_jshorts(HeapWord* from, HeapWord* to, size_t count) { | 129 static void pd_arrayof_conjoint_jshorts(HeapWord* from, HeapWord* to, size_t count) { |
130 // TODO: contribute optimized version. | |
128 pd_conjoint_jshorts_atomic((jshort*)from, (jshort*)to, count); | 131 pd_conjoint_jshorts_atomic((jshort*)from, (jshort*)to, count); |
129 } | 132 } |
130 | 133 |
131 static void pd_arrayof_conjoint_jints(HeapWord* from, HeapWord* to, size_t count) { | 134 static void pd_arrayof_conjoint_jints(HeapWord* from, HeapWord* to, size_t count) { |
135 // TODO: contribute optimized version. | |
132 pd_conjoint_jints_atomic((jint*)from, (jint*)to, count); | 136 pd_conjoint_jints_atomic((jint*)from, (jint*)to, count); |
133 } | 137 } |
134 | 138 |
135 static void pd_arrayof_conjoint_jlongs(HeapWord* from, HeapWord* to, size_t count) { | 139 static void pd_arrayof_conjoint_jlongs(HeapWord* from, HeapWord* to, size_t count) { |
136 pd_conjoint_jlongs_atomic((jlong*)from, (jlong*)to, count); | 140 pd_conjoint_jlongs_atomic((jlong*)from, (jlong*)to, count); |