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/constants-ppc.h

Issue 1222133004: PPC: perf enhancement: omit redundant compare with 0 (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/ppc/assembler-ppc.cc ('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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef V8_PPC_CONSTANTS_PPC_H_ 5 #ifndef V8_PPC_CONSTANTS_PPC_H_
6 #define V8_PPC_CONSTANTS_PPC_H_ 6 #define V8_PPC_CONSTANTS_PPC_H_
7 7
8 namespace v8 { 8 namespace v8 {
9 namespace internal { 9 namespace internal {
10 10
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 // Instruction bit masks 329 // Instruction bit masks
330 kCondMask = 0x1F << 21, 330 kCondMask = 0x1F << 21,
331 kOff12Mask = (1 << 12) - 1, 331 kOff12Mask = (1 << 12) - 1,
332 kImm24Mask = (1 << 24) - 1, 332 kImm24Mask = (1 << 24) - 1,
333 kOff16Mask = (1 << 16) - 1, 333 kOff16Mask = (1 << 16) - 1,
334 kImm16Mask = (1 << 16) - 1, 334 kImm16Mask = (1 << 16) - 1,
335 kImm26Mask = (1 << 26) - 1, 335 kImm26Mask = (1 << 26) - 1,
336 kBOfieldMask = 0x1f << 21, 336 kBOfieldMask = 0x1f << 21,
337 kOpcodeMask = 0x3f << 26, 337 kOpcodeMask = 0x3f << 26,
338 kExt1OpcodeMask = 0x3ff << 1, 338 kExt1OpcodeMask = 0x3ff << 1,
339 kExt2OpcodeMask = 0x1f << 1, 339 kExt2OpcodeMask = 0x3ff << 1,
340 kExt2OpcodeVariant2Mask = 0x1ff << 2,
340 kExt5OpcodeMask = 0x3 << 2, 341 kExt5OpcodeMask = 0x3 << 2,
341 kBOMask = 0x1f << 21, 342 kBOMask = 0x1f << 21,
342 kBIMask = 0x1F << 16, 343 kBIMask = 0x1F << 16,
343 kBDMask = 0x14 << 2, 344 kBDMask = 0x14 << 2,
344 kAAMask = 0x01 << 1, 345 kAAMask = 0x01 << 1,
345 kLKMask = 0x01, 346 kLKMask = 0x01,
346 kRCMask = 0x01, 347 kRCMask = 0x01,
347 kTOMask = 0x1f << 21 348 kTOMask = 0x1f << 21
348 }; 349 };
349 350
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
582 // Lookup the register number for the name provided. 583 // Lookup the register number for the name provided.
583 static int Number(const char* name); 584 static int Number(const char* name);
584 585
585 private: 586 private:
586 static const char* names_[kNumFPRegisters]; 587 static const char* names_[kNumFPRegisters];
587 }; 588 };
588 } 589 }
589 } // namespace v8::internal 590 } // namespace v8::internal
590 591
591 #endif // V8_PPC_CONSTANTS_PPC_H_ 592 #endif // V8_PPC_CONSTANTS_PPC_H_
OLDNEW
« no previous file with comments | « src/ppc/assembler-ppc.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698