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

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

Issue 267283004: Adds unary double operations to ARM64, enables many tests. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 7 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/code_generator.cc ('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 421 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 FPCompareFixed = FPFixed | B21 | B13, 432 FPCompareFixed = FPFixed | B21 | B13,
433 FCMPD = FPCompareFixed | B22, 433 FCMPD = FPCompareFixed | B22,
434 FCMPZD = FPCompareFixed | B22 | B3, 434 FCMPZD = FPCompareFixed | B22 | B3,
435 }; 435 };
436 436
437 // C3.6.25 437 // C3.6.25
438 enum FPOneSourceOp { 438 enum FPOneSourceOp {
439 FPOneSourceMask = 0x5f207c00, 439 FPOneSourceMask = 0x5f207c00,
440 FPOneSourceFixed = FPFixed | B21 | B14, 440 FPOneSourceFixed = FPFixed | B21 | B14,
441 FMOVDD = FPOneSourceFixed | B22, 441 FMOVDD = FPOneSourceFixed | B22,
442 FABSD = FPOneSourceFixed | B22 | B15,
443 FNEGD = FPOneSourceFixed | B22 | B16,
444 FSQRTD = FPOneSourceFixed | B22 | B16 | B15,
442 }; 445 };
443 446
444 // C3.6.26 447 // C3.6.26
445 enum FPTwoSourceOp { 448 enum FPTwoSourceOp {
446 FPTwoSourceMask = 0xff200c00, 449 FPTwoSourceMask = 0xff200c00,
447 FPTwoSourceFixed = FPFixed | B21 | B11, 450 FPTwoSourceFixed = FPFixed | B21 | B11,
448 FMULD = FPTwoSourceFixed | B22, 451 FMULD = FPTwoSourceFixed | B22,
449 FDIVD = FPTwoSourceFixed | B22 | B12, 452 FDIVD = FPTwoSourceFixed | B22 | B12,
450 FADDD = FPTwoSourceFixed | B22 | B13, 453 FADDD = FPTwoSourceFixed | B22 | B13,
451 FSUBD = FPTwoSourceFixed | B22 | B13 | B12, 454 FSUBD = FPTwoSourceFixed | B22 | B13 | B12,
(...skipping 455 matching lines...) Expand 10 before | Expand all | Expand 10 after
907 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); } 910 static Instr* At(uword pc) { return reinterpret_cast<Instr*>(pc); }
908 911
909 private: 912 private:
910 DISALLOW_ALLOCATION(); 913 DISALLOW_ALLOCATION();
911 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr); 914 DISALLOW_IMPLICIT_CONSTRUCTORS(Instr);
912 }; 915 };
913 916
914 } // namespace dart 917 } // namespace dart
915 918
916 #endif // VM_CONSTANTS_ARM64_H_ 919 #endif // VM_CONSTANTS_ARM64_H_
OLDNEW
« no previous file with comments | « runtime/vm/code_generator.cc ('k') | runtime/vm/disassembler_arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698