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

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

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, 5 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/ic/ppc/ic-ppc.cc ('k') | src/ppc/assembler-ppc.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 1306 matching lines...) Expand 10 before | Expand all | Expand 10 after
1317 #if V8_TARGET_ARCH_PPC64 1317 #if V8_TARGET_ARCH_PPC64
1318 static bool Is64BitLoadIntoR12(Instr instr1, Instr instr2, Instr instr3, 1318 static bool Is64BitLoadIntoR12(Instr instr1, Instr instr2, Instr instr3,
1319 Instr instr4, Instr instr5); 1319 Instr instr4, Instr instr5);
1320 #else 1320 #else
1321 static bool Is32BitLoadIntoR12(Instr instr1, Instr instr2); 1321 static bool Is32BitLoadIntoR12(Instr instr1, Instr instr2);
1322 #endif 1322 #endif
1323 1323
1324 static bool IsCmpRegister(Instr instr); 1324 static bool IsCmpRegister(Instr instr);
1325 static bool IsCmpImmediate(Instr instr); 1325 static bool IsCmpImmediate(Instr instr);
1326 static bool IsRlwinm(Instr instr); 1326 static bool IsRlwinm(Instr instr);
1327 static bool IsAndi(Instr instr);
1327 #if V8_TARGET_ARCH_PPC64 1328 #if V8_TARGET_ARCH_PPC64
1328 static bool IsRldicl(Instr instr); 1329 static bool IsRldicl(Instr instr);
1329 #endif 1330 #endif
1330 static bool IsCrSet(Instr instr); 1331 static bool IsCrSet(Instr instr);
1331 static Register GetCmpImmediateRegister(Instr instr); 1332 static Register GetCmpImmediateRegister(Instr instr);
1332 static int GetCmpImmediateRawImmediate(Instr instr); 1333 static int GetCmpImmediateRawImmediate(Instr instr);
1333 static bool IsNop(Instr instr, int type = NON_MARKING_NOP); 1334 static bool IsNop(Instr instr, int type = NON_MARKING_NOP);
1334 1335
1335 // Postpone the generation of the trampoline pool for the specified number of 1336 // Postpone the generation of the trampoline pool for the specified number of
1336 // instructions. 1337 // instructions.
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after
1537 1538
1538 1539
1539 class EnsureSpace BASE_EMBEDDED { 1540 class EnsureSpace BASE_EMBEDDED {
1540 public: 1541 public:
1541 explicit EnsureSpace(Assembler* assembler) { assembler->CheckBuffer(); } 1542 explicit EnsureSpace(Assembler* assembler) { assembler->CheckBuffer(); }
1542 }; 1543 };
1543 } 1544 }
1544 } // namespace v8::internal 1545 } // namespace v8::internal
1545 1546
1546 #endif // V8_PPC_ASSEMBLER_PPC_H_ 1547 #endif // V8_PPC_ASSEMBLER_PPC_H_
OLDNEW
« no previous file with comments | « src/ic/ppc/ic-ppc.cc ('k') | src/ppc/assembler-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698