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

Side by Side Diff: src/arm/code-stubs-arm.cc

Issue 6881102: fix compile error in doublearray code on ARM (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 8 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 | « no previous file | no next file » | 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 511 matching lines...) Expand 10 before | Expand all | Expand 10 after
522 522
523 523
524 void FloatingPointHelper::ConvertIntToDouble(MacroAssembler* masm, 524 void FloatingPointHelper::ConvertIntToDouble(MacroAssembler* masm,
525 Register int_scratch, 525 Register int_scratch,
526 Destination destination, 526 Destination destination,
527 DwVfpRegister double_dst, 527 DwVfpRegister double_dst,
528 Register dst1, 528 Register dst1,
529 Register dst2, 529 Register dst2,
530 Register scratch2, 530 Register scratch2,
531 SwVfpRegister single_scratch) { 531 SwVfpRegister single_scratch) {
532 ASSERT(!smi_scratch.is(scratch2)); 532 ASSERT(!int_scratch.is(scratch2));
533 533
534 Label done; 534 Label done;
535 535
536 if (CpuFeatures::IsSupported(VFP3)) { 536 if (CpuFeatures::IsSupported(VFP3)) {
537 CpuFeatures::Scope scope(VFP3); 537 CpuFeatures::Scope scope(VFP3);
538 __ vmov(single_scratch, int_scratch); 538 __ vmov(single_scratch, int_scratch);
539 __ vcvt_f64_s32(double_dst, single_scratch); 539 __ vcvt_f64_s32(double_dst, single_scratch);
540 if (destination == kCoreRegisters) { 540 if (destination == kCoreRegisters) {
541 __ vmov(dst1, dst2, double_dst); 541 __ vmov(dst1, dst2, double_dst);
542 } 542 }
(...skipping 5228 matching lines...) Expand 10 before | Expand all | Expand 10 after
5771 __ str(pc, MemOperand(sp, 0)); 5771 __ str(pc, MemOperand(sp, 0));
5772 __ Jump(target); // Call the C++ function. 5772 __ Jump(target); // Call the C++ function.
5773 } 5773 }
5774 5774
5775 5775
5776 #undef __ 5776 #undef __
5777 5777
5778 } } // namespace v8::internal 5778 } } // namespace v8::internal
5779 5779
5780 #endif // V8_TARGET_ARCH_ARM 5780 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698