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

Side by Side Diff: src/arm/ic-arm.cc

Issue 6577036: [Isolates] Merge from bleeding_edge to isolates, revisions 6100-6300. (Closed) Base URL: http://v8.googlecode.com/svn/branches/experimental/isolates/
Patch Set: '' 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/full-codegen-arm.cc ('k') | src/arm/lithium-arm.h » ('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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 1576 matching lines...) Expand 10 before | Expand all | Expand 10 after
1587 // Extract mantissa to r0. OK to clobber r0 now as there are no jumps to 1587 // Extract mantissa to r0. OK to clobber r0 now as there are no jumps to
1588 // the slow case from here. 1588 // the slow case from here.
1589 __ and_(r0, value, Operand(kBinary32MantissaMask)); 1589 __ and_(r0, value, Operand(kBinary32MantissaMask));
1590 1590
1591 // Extract exponent to r1. OK to clobber r1 now as there are no jumps to 1591 // Extract exponent to r1. OK to clobber r1 now as there are no jumps to
1592 // the slow case from here. 1592 // the slow case from here.
1593 __ mov(r1, Operand(value, LSR, kBinary32MantissaBits)); 1593 __ mov(r1, Operand(value, LSR, kBinary32MantissaBits));
1594 __ and_(r1, r1, Operand(kBinary32ExponentMask >> kBinary32MantissaBits)); 1594 __ and_(r1, r1, Operand(kBinary32ExponentMask >> kBinary32MantissaBits));
1595 1595
1596 Label exponent_rebiased; 1596 Label exponent_rebiased;
1597 __ teq(r1, Operand(0x00)); 1597 __ teq(r1, Operand(0x00, RelocInfo::NONE));
1598 __ b(eq, &exponent_rebiased); 1598 __ b(eq, &exponent_rebiased);
1599 1599
1600 __ teq(r1, Operand(0xff)); 1600 __ teq(r1, Operand(0xff));
1601 __ mov(r1, Operand(0x7ff), LeaveCC, eq); 1601 __ mov(r1, Operand(0x7ff), LeaveCC, eq);
1602 __ b(eq, &exponent_rebiased); 1602 __ b(eq, &exponent_rebiased);
1603 1603
1604 // Rebias exponent. 1604 // Rebias exponent.
1605 __ add(r1, 1605 __ add(r1,
1606 r1, 1606 r1,
1607 Operand(-kBinary32ExponentBias + HeapNumber::kExponentBias)); 1607 Operand(-kBinary32ExponentBias + HeapNumber::kExponentBias));
(...skipping 780 matching lines...) Expand 10 before | Expand all | Expand 10 after
2388 2388
2389 2389
2390 void PatchInlinedSmiCode(Address address) { 2390 void PatchInlinedSmiCode(Address address) {
2391 UNIMPLEMENTED(); 2391 UNIMPLEMENTED();
2392 } 2392 }
2393 2393
2394 2394
2395 } } // namespace v8::internal 2395 } } // namespace v8::internal
2396 2396
2397 #endif // V8_TARGET_ARCH_ARM 2397 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/full-codegen-arm.cc ('k') | src/arm/lithium-arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698