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

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

Issue 1245133002: [interpreter] Add Interpreter{Entry,Exit}Trampoline builtins. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@oth_bytecode_array
Patch Set: Adding MIPS based on https://codereview.chromium.org/1257953002/ Created 5 years, 4 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/mips/builtins-mips.cc ('k') | src/mips64/builtins-mips64.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 are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // 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 306 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 317
318 // Register aliases. 318 // Register aliases.
319 // cp is assumed to be a callee saved register. 319 // cp is assumed to be a callee saved register.
320 // Defined using #define instead of "static const Register&" because Clang 320 // Defined using #define instead of "static const Register&" because Clang
321 // complains otherwise when a compilation unit that includes this header 321 // complains otherwise when a compilation unit that includes this header
322 // doesn't use the variables. 322 // doesn't use the variables.
323 #define kRootRegister s6 323 #define kRootRegister s6
324 #define cp s7 324 #define cp s7
325 #define kLithiumScratchReg s3 325 #define kLithiumScratchReg s3
326 #define kLithiumScratchReg2 s4 326 #define kLithiumScratchReg2 s4
327 #define kInterpreterBytecodeOffsetRegister t0
328 #define kInterpreterBytecodeArrayRegister t1
329 #define kInterpreterDispatchTableRegister t2
327 #define kLithiumScratchDouble f30 330 #define kLithiumScratchDouble f30
328 #define kDoubleRegZero f28 331 #define kDoubleRegZero f28
329 // Used on mips64r6 for compare operations. 332 // Used on mips64r6 for compare operations.
330 #define kDoubleCompareReg f31 333 #define kDoubleCompareReg f31
331 334
332 // FPU (coprocessor 1) control registers. 335 // FPU (coprocessor 1) control registers.
333 // Currently only FCSR (#31) is implemented. 336 // Currently only FCSR (#31) is implemented.
334 struct FPUControlRegister { 337 struct FPUControlRegister {
335 bool is_valid() const { return code_ == kFCSRRegister; } 338 bool is_valid() const { return code_ == kFCSRRegister; }
336 bool is(FPUControlRegister creg) const { return code_ == creg.code_; } 339 bool is(FPUControlRegister creg) const { return code_ == creg.code_; }
(...skipping 1152 matching lines...) Expand 10 before | Expand all | Expand 10 after
1489 class EnsureSpace BASE_EMBEDDED { 1492 class EnsureSpace BASE_EMBEDDED {
1490 public: 1493 public:
1491 explicit EnsureSpace(Assembler* assembler) { 1494 explicit EnsureSpace(Assembler* assembler) {
1492 assembler->CheckBuffer(); 1495 assembler->CheckBuffer();
1493 } 1496 }
1494 }; 1497 };
1495 1498
1496 } } // namespace v8::internal 1499 } } // namespace v8::internal
1497 1500
1498 #endif // V8_ARM_ASSEMBLER_MIPS_H_ 1501 #endif // V8_ARM_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips/builtins-mips.cc ('k') | src/mips64/builtins-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698