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

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

Issue 172653002: Unbox/Box Float64x2 and inline typed array loads and stores (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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/intermediate_language_x64.cc ('k') | runtime/vm/object.h » ('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) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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_LOCATIONS_H_ 5 #ifndef VM_LOCATIONS_H_
6 #define VM_LOCATIONS_H_ 6 #define VM_LOCATIONS_H_
7 7
8 #include "vm/allocation.h" 8 #include "vm/allocation.h"
9 #include "vm/assembler.h" 9 #include "vm/assembler.h"
10 #include "vm/bitfield.h" 10 #include "vm/bitfield.h"
11 11
12 namespace dart { 12 namespace dart {
13 13
14 class BufferFormatter; 14 class BufferFormatter;
15 class Value; 15 class Value;
16 16
17 17
18 enum Representation { 18 enum Representation {
19 kNoRepresentation, 19 kNoRepresentation,
20 kTagged, 20 kTagged,
21 kUntagged, 21 kUntagged,
22 kUnboxedDouble, 22 kUnboxedDouble,
23 kUnboxedMint, 23 kUnboxedMint,
24 kUnboxedFloat32x4, 24 kUnboxedFloat32x4,
25 kUnboxedInt32x4, 25 kUnboxedInt32x4,
26 kUnboxedFloat64x2,
26 kNumRepresentations 27 kNumRepresentations
27 }; 28 };
28 29
29 30
30 // Location objects are used to connect register allocator and code generator. 31 // Location objects are used to connect register allocator and code generator.
31 // Instruction templates used by code generator have a corresponding 32 // Instruction templates used by code generator have a corresponding
32 // LocationSummary object which specifies expected location for every input 33 // LocationSummary object which specifies expected location for every input
33 // and output. 34 // and output.
34 // Each location is encoded as a single word: for non-constant locations 35 // Each location is encoded as a single word: for non-constant locations
35 // low 3 bits denote location kind, rest is kind specific location payload 36 // low 3 bits denote location kind, rest is kind specific location payload
(...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 BitmapBuilder* stack_bitmap_; 478 BitmapBuilder* stack_bitmap_;
478 479
479 const ContainsCall contains_call_; 480 const ContainsCall contains_call_;
480 RegisterSet live_registers_; 481 RegisterSet live_registers_;
481 }; 482 };
482 483
483 484
484 } // namespace dart 485 } // namespace dart
485 486
486 #endif // VM_LOCATIONS_H_ 487 #endif // VM_LOCATIONS_H_
OLDNEW
« no previous file with comments | « runtime/vm/intermediate_language_x64.cc ('k') | runtime/vm/object.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698