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

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

Issue 9837004: Port count-based profiler to ARM (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed comments Created 8 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
« no previous file with comments | « src/arm/assembler-arm.h ('k') | src/arm/deoptimizer-arm.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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions 5 // modification, are permitted provided that the following conditions
6 // are met: 6 // are met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after
250 // mov lr, pc 250 // mov lr, pc
251 const Instr kMovLrPc = al | MOV | kRegister_pc_Code | kRegister_lr_Code * B12; 251 const Instr kMovLrPc = al | MOV | kRegister_pc_Code | kRegister_lr_Code * B12;
252 // ldr rd, [pc, #offset] 252 // ldr rd, [pc, #offset]
253 const Instr kLdrPCMask = kCondMask | 15 * B24 | 7 * B20 | 15 * B16; 253 const Instr kLdrPCMask = kCondMask | 15 * B24 | 7 * B20 | 15 * B16;
254 const Instr kLdrPCPattern = al | 5 * B24 | L | kRegister_pc_Code * B16; 254 const Instr kLdrPCPattern = al | 5 * B24 | L | kRegister_pc_Code * B16;
255 // blxcc rm 255 // blxcc rm
256 const Instr kBlxRegMask = 256 const Instr kBlxRegMask =
257 15 * B24 | 15 * B20 | 15 * B16 | 15 * B12 | 15 * B8 | 15 * B4; 257 15 * B24 | 15 * B20 | 15 * B16 | 15 * B12 | 15 * B8 | 15 * B4;
258 const Instr kBlxRegPattern = 258 const Instr kBlxRegPattern =
259 B24 | B21 | 15 * B16 | 15 * B12 | 15 * B8 | BLX; 259 B24 | B21 | 15 * B16 | 15 * B12 | 15 * B8 | BLX;
260 const Instr kBlxIp = al | kBlxRegPattern | ip.code();
260 const Instr kMovMvnMask = 0x6d * B21 | 0xf * B16; 261 const Instr kMovMvnMask = 0x6d * B21 | 0xf * B16;
261 const Instr kMovMvnPattern = 0xd * B21; 262 const Instr kMovMvnPattern = 0xd * B21;
262 const Instr kMovMvnFlip = B22; 263 const Instr kMovMvnFlip = B22;
263 const Instr kMovLeaveCCMask = 0xdff * B16; 264 const Instr kMovLeaveCCMask = 0xdff * B16;
264 const Instr kMovLeaveCCPattern = 0x1a0 * B16; 265 const Instr kMovLeaveCCPattern = 0x1a0 * B16;
265 const Instr kMovwMask = 0xff * B20; 266 const Instr kMovwMask = 0xff * B20;
266 const Instr kMovwPattern = 0x30 * B20; 267 const Instr kMovwPattern = 0x30 * B20;
267 const Instr kMovwLeaveCCFlip = 0x5 * B21; 268 const Instr kMovwLeaveCCFlip = 0x5 * B21;
268 const Instr kCmpCmnMask = 0xdd * B20 | 0xf * B12; 269 const Instr kCmpCmnMask = 0xdd * B20 | 0xf * B12;
269 const Instr kCmpCmnPattern = 0x15 * B20; 270 const Instr kCmpCmnPattern = 0x15 * B20;
(...skipping 2386 matching lines...) Expand 10 before | Expand all | Expand 10 after
2656 2657
2657 // Since a constant pool was just emitted, move the check offset forward by 2658 // Since a constant pool was just emitted, move the check offset forward by
2658 // the standard interval. 2659 // the standard interval.
2659 next_buffer_check_ = pc_offset() + kCheckPoolInterval; 2660 next_buffer_check_ = pc_offset() + kCheckPoolInterval;
2660 } 2661 }
2661 2662
2662 2663
2663 } } // namespace v8::internal 2664 } } // namespace v8::internal
2664 2665
2665 #endif // V8_TARGET_ARCH_ARM 2666 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « src/arm/assembler-arm.h ('k') | src/arm/deoptimizer-arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698