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

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

Issue 6591073: ARM: Implement untagged input for TranscendentalCacheStub. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 9 years, 9 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
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 1205 matching lines...) Expand 10 before | Expand all | Expand 10 after
1216 mov(scratch1, Operand(0x7191)); 1216 mov(scratch1, Operand(0x7191));
1217 mov(scratch2, Operand(0x7291)); 1217 mov(scratch2, Operand(0x7291));
1218 } 1218 }
1219 jmp(gc_required); 1219 jmp(gc_required);
1220 return; 1220 return;
1221 } 1221 }
1222 1222
1223 ASSERT(!result.is(scratch1)); 1223 ASSERT(!result.is(scratch1));
1224 ASSERT(!result.is(scratch2)); 1224 ASSERT(!result.is(scratch2));
1225 ASSERT(!scratch1.is(scratch2)); 1225 ASSERT(!scratch1.is(scratch2));
1226 ASSERT(!scratch1.is(ip));
1227 ASSERT(!scratch2.is(ip));
1226 1228
1227 // Make object size into bytes. 1229 // Make object size into bytes.
1228 if ((flags & SIZE_IN_WORDS) != 0) { 1230 if ((flags & SIZE_IN_WORDS) != 0) {
1229 object_size *= kPointerSize; 1231 object_size *= kPointerSize;
1230 } 1232 }
1231 ASSERT_EQ(0, object_size & kObjectAlignmentMask); 1233 ASSERT_EQ(0, object_size & kObjectAlignmentMask);
1232 1234
1233 // Check relative positions of allocation top and limit addresses. 1235 // Check relative positions of allocation top and limit addresses.
1234 // The values must be adjacent in memory to allow the use of LDM. 1236 // The values must be adjacent in memory to allow the use of LDM.
1235 // Also, assert that the registers are numbered such that the values 1237 // Also, assert that the registers are numbered such that the values
(...skipping 1333 matching lines...) Expand 10 before | Expand all | Expand 10 after
2569 void CodePatcher::EmitCondition(Condition cond) { 2571 void CodePatcher::EmitCondition(Condition cond) {
2570 Instr instr = Assembler::instr_at(masm_.pc_); 2572 Instr instr = Assembler::instr_at(masm_.pc_);
2571 instr = (instr & ~kCondMask) | cond; 2573 instr = (instr & ~kCondMask) | cond;
2572 masm_.emit(instr); 2574 masm_.emit(instr);
2573 } 2575 }
2574 2576
2575 2577
2576 } } // namespace v8::internal 2578 } } // namespace v8::internal
2577 2579
2578 #endif // V8_TARGET_ARCH_ARM 2580 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« src/arm/code-stubs-arm.cc ('K') | « src/arm/lithium-codegen-arm.cc ('k') | src/assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698