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

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

Issue 1202383005: PPC: Debug check fix for test SMI optimization. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 6 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
« no previous file with comments | « src/ppc/assembler-ppc.h ('k') | 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 (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 319 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 return (((instr & kOpcodeMask) == EXT2) && 330 return (((instr & kOpcodeMask) == EXT2) &&
331 ((instr & kExt2OpcodeMask) == CMP)); 331 ((instr & kExt2OpcodeMask) == CMP));
332 } 332 }
333 333
334 334
335 bool Assembler::IsRlwinm(Instr instr) { 335 bool Assembler::IsRlwinm(Instr instr) {
336 return ((instr & kOpcodeMask) == RLWINMX); 336 return ((instr & kOpcodeMask) == RLWINMX);
337 } 337 }
338 338
339 339
340 bool Assembler::IsAndi(Instr instr) { return ((instr & kOpcodeMask) == ANDIx); }
341
342
340 #if V8_TARGET_ARCH_PPC64 343 #if V8_TARGET_ARCH_PPC64
341 bool Assembler::IsRldicl(Instr instr) { 344 bool Assembler::IsRldicl(Instr instr) {
342 return (((instr & kOpcodeMask) == EXT5) && 345 return (((instr & kOpcodeMask) == EXT5) &&
343 ((instr & kExt5OpcodeMask) == RLDICL)); 346 ((instr & kExt5OpcodeMask) == RLDICL));
344 } 347 }
345 #endif 348 #endif
346 349
347 350
348 bool Assembler::IsCmpImmediate(Instr instr) { 351 bool Assembler::IsCmpImmediate(Instr instr) {
349 return ((instr & kOpcodeMask) == CMPI); 352 return ((instr & kOpcodeMask) == CMPI);
(...skipping 2085 matching lines...) Expand 10 before | Expand all | Expand 10 after
2435 pc_offset() + kMaxCondBranchReach - kMaxBlockTrampolineSectionSize; 2438 pc_offset() + kMaxCondBranchReach - kMaxBlockTrampolineSectionSize;
2436 } 2439 }
2437 return; 2440 return;
2438 } 2441 }
2439 2442
2440 2443
2441 } // namespace internal 2444 } // namespace internal
2442 } // namespace v8 2445 } // namespace v8
2443 2446
2444 #endif // V8_TARGET_ARCH_PPC 2447 #endif // V8_TARGET_ARCH_PPC
OLDNEW
« no previous file with comments | « src/ppc/assembler-ppc.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698