Mercurial > hg > graal-compiler
comparison src/cpu/sparc/vm/macroAssembler_sparc.cpp @ 10995:8d52e305a777
8015437: SPARC cbcond branch offset out of 10-bit range
Summary: Forced SPARC MacroAssembler eden_alloate to use long branch to slow case
Reviewed-by: kvn, twisti
author | morris |
---|---|
date | Fri, 07 Jun 2013 07:33:35 -0700 |
parents | a5de0cc2f91c |
children | 46c544b8fbfc |
comparison
equal
deleted
inserted
replaced
10399:609aad72004a | 10995:8d52e305a777 |
---|---|
3538 assert(0 <= con_size_in_bytes && Assembler::is_simm13(con_size_in_bytes), "illegal object size"); | 3538 assert(0 <= con_size_in_bytes && Assembler::is_simm13(con_size_in_bytes), "illegal object size"); |
3539 assert((con_size_in_bytes & MinObjAlignmentInBytesMask) == 0, "object size is not multiple of alignment"); | 3539 assert((con_size_in_bytes & MinObjAlignmentInBytesMask) == 0, "object size is not multiple of alignment"); |
3540 | 3540 |
3541 if (CMSIncrementalMode || !Universe::heap()->supports_inline_contig_alloc()) { | 3541 if (CMSIncrementalMode || !Universe::heap()->supports_inline_contig_alloc()) { |
3542 // No allocation in the shared eden. | 3542 // No allocation in the shared eden. |
3543 ba_short(slow_case); | 3543 ba(slow_case); |
3544 delayed()->nop(); | |
3544 } else { | 3545 } else { |
3545 // get eden boundaries | 3546 // get eden boundaries |
3546 // note: we need both top & top_addr! | 3547 // note: we need both top & top_addr! |
3547 const Register top_addr = t1; | 3548 const Register top_addr = t1; |
3548 const Register end = t2; | 3549 const Register end = t2; |