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

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

Issue 115707: Add unit test for 64-bit assembler (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 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 | « no previous file | src/x64/assembler-x64.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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 extern Register r8; 92 extern Register r8;
93 extern Register r9; 93 extern Register r9;
94 extern Register r10; 94 extern Register r10;
95 extern Register r11; 95 extern Register r11;
96 extern Register r12; 96 extern Register r12;
97 extern Register r13; 97 extern Register r13;
98 extern Register r14; 98 extern Register r14;
99 extern Register r15; 99 extern Register r15;
100 extern Register no_reg; 100 extern Register no_reg;
101 101
102
103 struct XMMRegister { 102 struct XMMRegister {
104 bool is_valid() const { return 0 <= code_ && code_ < 2; } 103 bool is_valid() const { return 0 <= code_ && code_ < 2; }
105 int code() const { 104 int code() const {
106 ASSERT(is_valid()); 105 ASSERT(is_valid());
107 return code_; 106 return code_;
108 } 107 }
109 108
110 int code_; 109 int code_;
111 }; 110 };
112 111
113 extern XMMRegister xmm0; 112 extern XMMRegister xmm0;
114 extern XMMRegister xmm1; 113 extern XMMRegister xmm1;
115 extern XMMRegister xmm2; 114 extern XMMRegister xmm2;
116 extern XMMRegister xmm3; 115 extern XMMRegister xmm3;
117 extern XMMRegister xmm4; 116 extern XMMRegister xmm4;
118 extern XMMRegister xmm5; 117 extern XMMRegister xmm5;
119 extern XMMRegister xmm6; 118 extern XMMRegister xmm6;
120 extern XMMRegister xmm7; 119 extern XMMRegister xmm7;
120 extern XMMRegister xmm8;
121 extern XMMRegister xmm9;
122 extern XMMRegister xmm10;
123 extern XMMRegister xmm11;
124 extern XMMRegister xmm12;
125 extern XMMRegister xmm13;
126 extern XMMRegister xmm14;
127 extern XMMRegister xmm15;
121 128
122 enum Condition { 129 enum Condition {
123 // any value < 0 is considered no_condition 130 // any value < 0 is considered no_condition
124 no_condition = -1, 131 no_condition = -1,
125 132
126 overflow = 0, 133 overflow = 0,
127 no_overflow = 1, 134 no_overflow = 1,
128 below = 2, 135 below = 2,
129 above_equal = 3, 136 above_equal = 3,
130 equal = 4, 137 equal = 4,
(...skipping 771 matching lines...) Expand 10 before | Expand all | Expand 10 after
902 private: 909 private:
903 Assembler* assembler_; 910 Assembler* assembler_;
904 #ifdef DEBUG 911 #ifdef DEBUG
905 int space_before_; 912 int space_before_;
906 #endif 913 #endif
907 }; 914 };
908 915
909 } } // namespace v8::internal 916 } } // namespace v8::internal
910 917
911 #endif // V8_X64_ASSEMBLER_X64_H_ 918 #endif // V8_X64_ASSEMBLER_X64_H_
OLDNEW
« no previous file with comments | « no previous file | src/x64/assembler-x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698