OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 4389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4400 { Operand c_entry_fp_operand = masm->ExternalOperand(c_entry_fp); | 4400 { Operand c_entry_fp_operand = masm->ExternalOperand(c_entry_fp); |
4401 __ pop(c_entry_fp_operand); | 4401 __ pop(c_entry_fp_operand); |
4402 } | 4402 } |
4403 | 4403 |
4404 // Restore callee-saved registers (X64 conventions). | 4404 // Restore callee-saved registers (X64 conventions). |
4405 #ifdef _WIN64 | 4405 #ifdef _WIN64 |
4406 // On Win64 XMM6-XMM15 are callee-save | 4406 // On Win64 XMM6-XMM15 are callee-save |
4407 __ movdqu(xmm6, Operand(rsp, EntryFrameConstants::kXMMRegisterSize * 0)); | 4407 __ movdqu(xmm6, Operand(rsp, EntryFrameConstants::kXMMRegisterSize * 0)); |
4408 __ movdqu(xmm7, Operand(rsp, EntryFrameConstants::kXMMRegisterSize * 1)); | 4408 __ movdqu(xmm7, Operand(rsp, EntryFrameConstants::kXMMRegisterSize * 1)); |
4409 __ movdqu(xmm8, Operand(rsp, EntryFrameConstants::kXMMRegisterSize * 2)); | 4409 __ movdqu(xmm8, Operand(rsp, EntryFrameConstants::kXMMRegisterSize * 2)); |
4410 __ movdqu(xmm8, Operand(rsp, EntryFrameConstants::kXMMRegisterSize * 3)); | 4410 __ movdqu(xmm9, Operand(rsp, EntryFrameConstants::kXMMRegisterSize * 3)); |
4411 __ movdqu(xmm10, Operand(rsp, EntryFrameConstants::kXMMRegisterSize * 4)); | 4411 __ movdqu(xmm10, Operand(rsp, EntryFrameConstants::kXMMRegisterSize * 4)); |
4412 __ movdqu(xmm11, Operand(rsp, EntryFrameConstants::kXMMRegisterSize * 5)); | 4412 __ movdqu(xmm11, Operand(rsp, EntryFrameConstants::kXMMRegisterSize * 5)); |
4413 __ movdqu(xmm12, Operand(rsp, EntryFrameConstants::kXMMRegisterSize * 6)); | 4413 __ movdqu(xmm12, Operand(rsp, EntryFrameConstants::kXMMRegisterSize * 6)); |
4414 __ movdqu(xmm13, Operand(rsp, EntryFrameConstants::kXMMRegisterSize * 7)); | 4414 __ movdqu(xmm13, Operand(rsp, EntryFrameConstants::kXMMRegisterSize * 7)); |
4415 __ movdqu(xmm14, Operand(rsp, EntryFrameConstants::kXMMRegisterSize * 8)); | 4415 __ movdqu(xmm14, Operand(rsp, EntryFrameConstants::kXMMRegisterSize * 8)); |
4416 __ movdqu(xmm15, Operand(rsp, EntryFrameConstants::kXMMRegisterSize * 9)); | 4416 __ movdqu(xmm15, Operand(rsp, EntryFrameConstants::kXMMRegisterSize * 9)); |
4417 __ addq(rsp, Immediate(EntryFrameConstants::kXMMRegistersBlockSize)); | 4417 __ addq(rsp, Immediate(EntryFrameConstants::kXMMRegistersBlockSize)); |
4418 #endif | 4418 #endif |
4419 | 4419 |
4420 __ pop(rbx); | 4420 __ pop(rbx); |
(...skipping 2322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6743 #endif | 6743 #endif |
6744 | 6744 |
6745 __ Ret(); | 6745 __ Ret(); |
6746 } | 6746 } |
6747 | 6747 |
6748 #undef __ | 6748 #undef __ |
6749 | 6749 |
6750 } } // namespace v8::internal | 6750 } } // namespace v8::internal |
6751 | 6751 |
6752 #endif // V8_TARGET_ARCH_X64 | 6752 #endif // V8_TARGET_ARCH_X64 |
OLD | NEW |