Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
d5d793b9
D
dragonwell8_hotspot
项目概览
openanolis
/
dragonwell8_hotspot
通知
2
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_hotspot
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
d5d793b9
编写于
4月 29, 2014
作者:
M
mikael
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8022070: Compilation error in stubGenerator_sparc.cpp with some compilers
Reviewed-by: twisti, kvn
上级
7ef335ad
变更
1
显示空白变更内容
内联
并排
Showing
1 changed file
with
5 addition
and
5 deletion
+5
-5
src/cpu/sparc/vm/stubGenerator_sparc.cpp
src/cpu/sparc/vm/stubGenerator_sparc.cpp
+5
-5
未找到文件。
src/cpu/sparc/vm/stubGenerator_sparc.cpp
浏览文件 @
d5d793b9
...
@@ -83,7 +83,7 @@ class StubGenerator: public StubCodeGenerator {
...
@@ -83,7 +83,7 @@ class StubGenerator: public StubCodeGenerator {
private:
private:
#ifdef PRODUCT
#ifdef PRODUCT
#define inc_counter_np(a,b,c)
(0)
#define inc_counter_np(a,b,c)
#else
#else
#define inc_counter_np(counter, t1, t2) \
#define inc_counter_np(counter, t1, t2) \
BLOCK_COMMENT("inc_counter " #counter); \
BLOCK_COMMENT("inc_counter " #counter); \
...
@@ -1055,7 +1055,7 @@ class StubGenerator: public StubCodeGenerator {
...
@@ -1055,7 +1055,7 @@ class StubGenerator: public StubCodeGenerator {
Label
&
L_loop
,
bool
use_prefetch
,
bool
use_bis
);
Label
&
L_loop
,
bool
use_prefetch
,
bool
use_bis
);
void
disjoint_copy_core
(
Register
from
,
Register
to
,
Register
count
,
int
log2_elem_size
,
void
disjoint_copy_core
(
Register
from
,
Register
to
,
Register
count
,
int
log2_elem_size
,
int
iter_size
,
CopyLoopFunc
copy_loop_func
)
{
int
iter_size
,
StubGenerator
::
CopyLoopFunc
copy_loop_func
)
{
Label
L_copy
;
Label
L_copy
;
assert
(
log2_elem_size
<=
3
,
"the following code should be changed"
);
assert
(
log2_elem_size
<=
3
,
"the following code should be changed"
);
...
@@ -1206,7 +1206,7 @@ class StubGenerator: public StubCodeGenerator {
...
@@ -1206,7 +1206,7 @@ class StubGenerator: public StubCodeGenerator {
__
inc
(
from
,
8
);
__
inc
(
from
,
8
);
__
sllx
(
O3
,
left_shift
,
O3
);
__
sllx
(
O3
,
left_shift
,
O3
);
disjoint_copy_core
(
from
,
to
,
count
,
log2_elem_size
,
16
,
copy_16_bytes_shift_loop
);
disjoint_copy_core
(
from
,
to
,
count
,
log2_elem_size
,
16
,
&
StubGenerator
::
copy_16_bytes_shift_loop
);
__
inccc
(
count
,
count_dec
>>
1
);
// + 8 bytes
__
inccc
(
count
,
count_dec
>>
1
);
// + 8 bytes
__
brx
(
Assembler
::
negative
,
true
,
Assembler
::
pn
,
L_copy_last_bytes
);
__
brx
(
Assembler
::
negative
,
true
,
Assembler
::
pn
,
L_copy_last_bytes
);
...
@@ -2085,7 +2085,7 @@ class StubGenerator: public StubCodeGenerator {
...
@@ -2085,7 +2085,7 @@ class StubGenerator: public StubCodeGenerator {
__
dec
(
count
,
4
);
// The cmp at the beginning guaranty count >= 4
__
dec
(
count
,
4
);
// The cmp at the beginning guaranty count >= 4
__
sllx
(
O3
,
32
,
O3
);
__
sllx
(
O3
,
32
,
O3
);
disjoint_copy_core
(
from
,
to
,
count
,
2
,
16
,
copy_16_bytes_loop
);
disjoint_copy_core
(
from
,
to
,
count
,
2
,
16
,
&
StubGenerator
::
copy_16_bytes_loop
);
__
br
(
Assembler
::
always
,
false
,
Assembler
::
pt
,
L_copy_4_bytes
);
__
br
(
Assembler
::
always
,
false
,
Assembler
::
pt
,
L_copy_4_bytes
);
__
delayed
()
->
inc
(
count
,
4
);
// restore 'count'
__
delayed
()
->
inc
(
count
,
4
);
// restore 'count'
...
@@ -2366,7 +2366,7 @@ class StubGenerator: public StubCodeGenerator {
...
@@ -2366,7 +2366,7 @@ class StubGenerator: public StubCodeGenerator {
// count >= 0 (original count - 8)
// count >= 0 (original count - 8)
__
mov
(
from
,
from64
);
__
mov
(
from
,
from64
);
disjoint_copy_core
(
from64
,
to64
,
count
,
3
,
64
,
copy_64_bytes_loop
);
disjoint_copy_core
(
from64
,
to64
,
count
,
3
,
64
,
&
StubGenerator
::
copy_64_bytes_loop
);
// Restore O4(offset0), O5(offset8)
// Restore O4(offset0), O5(offset8)
__
sub
(
from64
,
from
,
offset0
);
__
sub
(
from64
,
from
,
offset0
);
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录