hotspot/src/cpu/sparc/vm/assembler_sparc.inline.hpp
changeset 2149 3d362637b307
parent 2148 09c7f703773b
child 2332 5c7b6f4ce0a1
equal deleted inserted replaced
2148:09c7f703773b 2149:3d362637b307
   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 ) {