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

Side by Side Diff: runtime/vm/constants_arm64.h

Issue 300003015: Reduce register pressure on ARM, ARM64, and MIPS. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « runtime/vm/assembler_mips.h ('k') | runtime/vm/disassembler_arm64.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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #ifndef VM_CONSTANTS_ARM64_H_ 5 #ifndef VM_CONSTANTS_ARM64_H_
6 #define VM_CONSTANTS_ARM64_H_ 6 #define VM_CONSTANTS_ARM64_H_
7 7
8 #include "platform/assert.h" 8 #include "platform/assert.h"
9 9
10 namespace dart { 10 namespace dart {
(...skipping 399 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 ADD = AddSubShiftExtFixed, 410 ADD = AddSubShiftExtFixed,
411 SUB = AddSubShiftExtFixed | B30, 411 SUB = AddSubShiftExtFixed | B30,
412 }; 412 };
413 413
414 // C3.5.6 414 // C3.5.6
415 enum ConditionalSelectOp { 415 enum ConditionalSelectOp {
416 ConditionalSelectMask = 0x1fe00000, 416 ConditionalSelectMask = 0x1fe00000,
417 ConditionalSelectFixed = DPRegisterFixed | B28 | B23, 417 ConditionalSelectFixed = DPRegisterFixed | B28 | B23,
418 CSEL = ConditionalSelectFixed, 418 CSEL = ConditionalSelectFixed,
419 CSINC = ConditionalSelectFixed | B10, 419 CSINC = ConditionalSelectFixed | B10,
420 CSINV = ConditionalSelectFixed | B30,
420 }; 421 };
421 422
422 // C3.5.8 423 // C3.5.8
423 enum MiscDP2SourceOp { 424 enum MiscDP2SourceOp {
424 MiscDP2SourceMask = 0x5fe00000, 425 MiscDP2SourceMask = 0x5fe00000,
425 MiscDP2SourceFixed = DPRegisterFixed | B28 | B23 | B22, 426 MiscDP2SourceFixed = DPRegisterFixed | B28 | B23 | B22,
426 UDIV = MiscDP2SourceFixed | B11, 427 UDIV = MiscDP2SourceFixed | B11,
427 SDIV = MiscDP2SourceFixed | B11 | B10, 428 SDIV = MiscDP2SourceFixed | B11 | B10,
428 LSLV = MiscDP2SourceFixed | B13, 429 LSLV = MiscDP2SourceFixed | B13,
429 LSRV = MiscDP2SourceFixed | B13 | B10, 430 LSRV = MiscDP2SourceFixed | B13 | B10,
(...skipping 585 matching lines...) Expand 10 before | Expand all | Expand 10 after
1015 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); } 1016 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); }
1016 1017
1017 private: 1018 private:
1018 DISALLOW_ALLOCATION(); 1019 DISALLOW_ALLOCATION();
1019 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); 1020 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr);
1020 }; 1021 };
1021 1022
1022 } // namespace dart 1023 } // namespace dart
1023 1024
1024 #endif // VM_CONSTANTS_ARM64_H_ 1025 #endif // VM_CONSTANTS_ARM64_H_
OLDNEW
« no previous file with comments | « runtime/vm/assembler_mips.h ('k') | runtime/vm/disassembler_arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698