comparison src/cpu/x86/vm/cppInterpreter_x86.cpp @ 605:98cb887364d3

6810672: Comment typos Summary: I have collected some typos I have found while looking at the code. Reviewed-by: kvn, never
author twisti
date Fri, 27 Feb 2009 13:27:09 -0800
parents 52a431267315
children 56aae7be60d4
comparison
equal deleted inserted replaced
604:ec59443af135 605:98cb887364d3
521 } 521 }
522 522
523 #ifdef _LP64 523 #ifdef _LP64
524 // Make sure stack is properly aligned and sized for the abi 524 // Make sure stack is properly aligned and sized for the abi
525 __ subptr(rsp, frame::arg_reg_save_area_bytes); // windows 525 __ subptr(rsp, frame::arg_reg_save_area_bytes); // windows
526 __ andptr(rsp, -16); // must be 16 byte boundry (see amd64 ABI) 526 __ andptr(rsp, -16); // must be 16 byte boundary (see amd64 ABI)
527 #endif // _LP64 527 #endif // _LP64
528 528
529 529
530 530
531 } 531 }
968 { Label L; 968 { Label L;
969 __ movptr(rax, STATE(_stack_base)); 969 __ movptr(rax, STATE(_stack_base));
970 #ifdef _LP64 970 #ifdef _LP64
971 // duplicate the alignment rsp got after setting stack_base 971 // duplicate the alignment rsp got after setting stack_base
972 __ subptr(rax, frame::arg_reg_save_area_bytes); // windows 972 __ subptr(rax, frame::arg_reg_save_area_bytes); // windows
973 __ andptr(rax, -16); // must be 16 byte boundry (see amd64 ABI) 973 __ andptr(rax, -16); // must be 16 byte boundary (see amd64 ABI)
974 #endif // _LP64 974 #endif // _LP64
975 __ cmpptr(rax, rsp); 975 __ cmpptr(rax, rsp);
976 __ jcc(Assembler::equal, L); 976 __ jcc(Assembler::equal, L);
977 __ stop("broken stack frame setup in interpreter"); 977 __ stop("broken stack frame setup in interpreter");
978 __ bind(L); 978 __ bind(L);
1065 __ load_unsigned_word(t, Address(method, methodOopDesc::size_of_parameters_offset())); 1065 __ load_unsigned_word(t, Address(method, methodOopDesc::size_of_parameters_offset()));
1066 __ shll(t, 2); 1066 __ shll(t, 2);
1067 #ifdef _LP64 1067 #ifdef _LP64
1068 __ subptr(rsp, t); 1068 __ subptr(rsp, t);
1069 __ subptr(rsp, frame::arg_reg_save_area_bytes); // windows 1069 __ subptr(rsp, frame::arg_reg_save_area_bytes); // windows
1070 __ andptr(rsp, -16); // must be 16 byte boundry (see amd64 ABI) 1070 __ andptr(rsp, -16); // must be 16 byte boundary (see amd64 ABI)
1071 #else 1071 #else
1072 __ addptr(t, 2*wordSize); // allocate two more slots for JNIEnv and possible mirror 1072 __ addptr(t, 2*wordSize); // allocate two more slots for JNIEnv and possible mirror
1073 __ subptr(rsp, t); 1073 __ subptr(rsp, t);
1074 __ andptr(rsp, -(StackAlignmentInBytes)); // gcc needs 16 byte aligned stacks to do XMM intrinsics 1074 __ andptr(rsp, -(StackAlignmentInBytes)); // gcc needs 16 byte aligned stacks to do XMM intrinsics
1075 #endif // _LP64 1075 #endif // _LP64