src/cpu/sparc/vm/assembler_sparc.inline.hpp

changeset 1058
9adddb8c0fc8
parent 1057
56aae7be60d4
child 1100
c89f86385056
equal deleted inserted replaced
1057:56aae7be60d4 1058:9adddb8c0fc8
451 #ifdef _LP64 451 #ifdef _LP64
452 Assembler::srlx(s1, imm6a, d); 452 Assembler::srlx(s1, imm6a, d);
453 #else 453 #else
454 Assembler::srl(s1, imm6a, d); 454 Assembler::srl(s1, imm6a, d);
455 #endif 455 #endif
456 }
457
458 inline void MacroAssembler::sll_ptr( Register s1, RegisterConstant s2, Register d ) {
459 if (s2.is_register()) sll_ptr(s1, s2.as_register(), d);
460 else sll_ptr(s1, s2.as_constant(), d);
456 } 461 }
457 462
458 // Use the right branch for the platform 463 // Use the right branch for the platform
459 464
460 inline void MacroAssembler::br( Condition c, bool a, Predict p, address d, relocInfo::relocType rt ) { 465 inline void MacroAssembler::br( Condition c, bool a, Predict p, address d, relocInfo::relocType rt ) {

mercurial