Mercurial > hg > graal-compiler
comparison src/os_cpu/linux_x86/vm/linux_x86_64.ad @ 3851:95134e034042
7063629: use cbcond in C2 generated code on T4
Summary: Use new short branch instruction in C2 generated code.
Reviewed-by: never
author | kvn |
---|---|
date | Thu, 11 Aug 2011 12:08:11 -0700 |
parents | c18cbe5936b8 |
children | 9b8ce46870df |
comparison
equal
deleted
inserted
replaced
3850:6987871cfb9b | 3851:95134e034042 |
---|---|
165 void MachBreakpointNode::emit(CodeBuffer& cbuf, PhaseRegAlloc* ra_) const { | 165 void MachBreakpointNode::emit(CodeBuffer& cbuf, PhaseRegAlloc* ra_) const { |
166 emit_break(cbuf); | 166 emit_break(cbuf); |
167 } | 167 } |
168 | 168 |
169 uint MachBreakpointNode::size(PhaseRegAlloc* ra_) const { | 169 uint MachBreakpointNode::size(PhaseRegAlloc* ra_) const { |
170 return 5; | 170 // distance could be far and requires load and call through register |
171 return MachNode::size(ra_); | |
171 } | 172 } |
172 | 173 |
173 %} | 174 %} |