hotspot/src/cpu/x86/vm/macroAssembler_x86.cpp
changeset 32203 01a3716ed455
parent 31849 92ca49fa9fa7
child 32596 8feecdee3156
child 32391 01e2f5e916c7
equal deleted inserted replaced
32202:7e7ad8b06f5b 32203:01a3716ed455
   968     addss(dst, Address(rscratch1, 0));
   968     addss(dst, Address(rscratch1, 0));
   969   }
   969   }
   970 }
   970 }
   971 
   971 
   972 void MacroAssembler::align(int modulus) {
   972 void MacroAssembler::align(int modulus) {
   973   if (offset() % modulus != 0) {
   973   align(modulus, offset());
   974     nop(modulus - (offset() % modulus));
   974 }
       
   975 
       
   976 void MacroAssembler::align(int modulus, int target) {
       
   977   if (target % modulus != 0) {
       
   978     nop(modulus - (target % modulus));
   975   }
   979   }
   976 }
   980 }
   977 
   981 
   978 void MacroAssembler::andpd(XMMRegister dst, AddressLiteral src) {
   982 void MacroAssembler::andpd(XMMRegister dst, AddressLiteral src) {
   979   // Used in sign-masking with aligned address.
   983   // Used in sign-masking with aligned address.