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 1413833013: PPC64: Implemented the Word64Popcnt TurboFan operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month 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') | src/ppc/disasm-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 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 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "src/base/logging.h" 10 #include "src/base/logging.h"
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
231 POPCNTW = 378 << 1, // Population Count Words 231 POPCNTW = 378 << 1, // Population Count Words
232 STHX = 407 << 1, // store half-word w/ x-form 232 STHX = 407 << 1, // store half-word w/ x-form
233 ORC = 412 << 1, // Or with Complement 233 ORC = 412 << 1, // Or with Complement
234 STHUX = 439 << 1, // store half-word w/ update x-form 234 STHUX = 439 << 1, // store half-word w/ update x-form
235 ORX = 444 << 1, // Or 235 ORX = 444 << 1, // Or
236 DIVDU = 457 << 1, // Divide Double Word Unsigned 236 DIVDU = 457 << 1, // Divide Double Word Unsigned
237 DIVWU = 459 << 1, // Divide Word Unsigned 237 DIVWU = 459 << 1, // Divide Word Unsigned
238 MTSPR = 467 << 1, // Move to Special-Purpose-Register 238 MTSPR = 467 << 1, // Move to Special-Purpose-Register
239 DIVD = 489 << 1, // Divide Double Word 239 DIVD = 489 << 1, // Divide Double Word
240 DIVW = 491 << 1, // Divide Word 240 DIVW = 491 << 1, // Divide Word
241 POPCNTD = 506 << 1, // Population Count Doubleword
241 242
242 // Below represent bits 10-1 (any value >= 512) 243 // Below represent bits 10-1 (any value >= 512)
243 LFSX = 535 << 1, // load float-single w/ x-form 244 LFSX = 535 << 1, // load float-single w/ x-form
244 SRWX = 536 << 1, // Shift Right Word 245 SRWX = 536 << 1, // Shift Right Word
245 SRDX = 539 << 1, // Shift Right Double Word 246 SRDX = 539 << 1, // Shift Right Double Word
246 LFSUX = 567 << 1, // load float-single w/ update x-form 247 LFSUX = 567 << 1, // load float-single w/ update x-form
247 SYNC = 598 << 1, // Synchronize 248 SYNC = 598 << 1, // Synchronize
248 LFDX = 599 << 1, // load float-double w/ x-form 249 LFDX = 599 << 1, // load float-double w/ x-form
249 LFDUX = 631 << 1, // load float-double w/ update X-form 250 LFDUX = 631 << 1, // load float-double w/ update X-form
250 STFSX = 663 << 1, // store float-single w/ x-form 251 STFSX = 663 << 1, // store float-single w/ x-form
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
577 // Lookup the register number for the name provided. 578 // Lookup the register number for the name provided.
578 static int Number(const char* name); 579 static int Number(const char* name);
579 580
580 private: 581 private:
581 static const char* names_[kNumDoubleRegisters]; 582 static const char* names_[kNumDoubleRegisters];
582 }; 583 };
583 } // namespace internal 584 } // namespace internal
584 } // namespace v8 585 } // namespace v8
585 586
586 #endif // V8_PPC_CONSTANTS_PPC_H_ 587 #endif // V8_PPC_CONSTANTS_PPC_H_
OLDNEW
« no previous file with comments | « src/ppc/assembler-ppc.cc ('k') | src/ppc/disasm-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698