Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(876)

Side by Side Diff: src/arm/macro-assembler-arm.cc

Issue 6532020: ARM: Implement DoPower in the lithium code generator. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge/src
Patch Set: Addressed comments. Created 9 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/arm/macro-assembler-arm.h ('k') | src/assembler.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 the V8 project authors. All rights reserved. 1 // Copyright 2011 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 727 matching lines...) Expand 10 before | Expand all | Expand 10 after
738 #endif 738 #endif
739 739
740 // Tear down the exit frame, pop the arguments, and return. 740 // Tear down the exit frame, pop the arguments, and return.
741 mov(sp, Operand(fp)); 741 mov(sp, Operand(fp));
742 ldm(ia_w, sp, fp.bit() | lr.bit()); 742 ldm(ia_w, sp, fp.bit() | lr.bit());
743 if (argument_count.is_valid()) { 743 if (argument_count.is_valid()) {
744 add(sp, sp, Operand(argument_count, LSL, kPointerSizeLog2)); 744 add(sp, sp, Operand(argument_count, LSL, kPointerSizeLog2));
745 } 745 }
746 } 746 }
747 747
748 void MacroAssembler::GetCFunctionDoubleResult(const DoubleRegister dst) {
749 #if !defined(USE_ARM_EABI)
750 UNIMPLEMENTED();
Søren Thygesen Gjesse 2011/02/23 09:35:01 UNIMPLEMENTED -> UNREACHABLE I think we should fo
751 #else
752 vmov(dst, r0, r1);
753 #endif
754 }
755
748 756
749 void MacroAssembler::InvokePrologue(const ParameterCount& expected, 757 void MacroAssembler::InvokePrologue(const ParameterCount& expected,
750 const ParameterCount& actual, 758 const ParameterCount& actual,
751 Handle<Code> code_constant, 759 Handle<Code> code_constant,
752 Register code_reg, 760 Register code_reg,
753 Label* done, 761 Label* done,
754 InvokeFlag flag, 762 InvokeFlag flag,
755 PostCallGenerator* post_call_generator) { 763 PostCallGenerator* post_call_generator) {
756 bool definitely_matches = false; 764 bool definitely_matches = false;
757 Label regular_invoke; 765 Label regular_invoke;
(...skipping 1791 matching lines...) Expand 10 before | Expand all | Expand 10 after
2549 void CodePatcher::EmitCondition(Condition cond) { 2557 void CodePatcher::EmitCondition(Condition cond) {
2550 Instr instr = Assembler::instr_at(masm_.pc_); 2558 Instr instr = Assembler::instr_at(masm_.pc_);
2551 instr = (instr & ~kCondMask) | cond; 2559 instr = (instr & ~kCondMask) | cond;
2552 masm_.emit(instr); 2560 masm_.emit(instr);
2553 } 2561 }
2554 2562
2555 2563
2556 } } // namespace v8::internal 2564 } } // namespace v8::internal
2557 2565
2558 #endif // V8_TARGET_ARCH_ARM 2566 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/macro-assembler-arm.h ('k') | src/assembler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698