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

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

Issue 1693963004: Add a kSimd128 machine type for Turbofan. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase. Created 4 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
« no previous file with comments | « src/x64/assembler-x64.h ('k') | no next file » | 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 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
179 }; 179 };
180 180
181 #define DECLARE_REGISTER(R) \ 181 #define DECLARE_REGISTER(R) \
182 const DoubleRegister R = {DoubleRegister::kCode_##R}; 182 const DoubleRegister R = {DoubleRegister::kCode_##R};
183 DOUBLE_REGISTERS(DECLARE_REGISTER) 183 DOUBLE_REGISTERS(DECLARE_REGISTER)
184 #undef DECLARE_REGISTER 184 #undef DECLARE_REGISTER
185 const DoubleRegister no_double_reg = {DoubleRegister::kCode_no_reg}; 185 const DoubleRegister no_double_reg = {DoubleRegister::kCode_no_reg};
186 186
187 typedef DoubleRegister X87Register; 187 typedef DoubleRegister X87Register;
188 188
189 // TODO(x87) Define SIMD registers.
190 typedef DoubleRegister Simd128Register;
191
189 enum Condition { 192 enum Condition {
190 // any value < 0 is considered no_condition 193 // any value < 0 is considered no_condition
191 no_condition = -1, 194 no_condition = -1,
192 195
193 overflow = 0, 196 overflow = 0,
194 no_overflow = 1, 197 no_overflow = 1,
195 below = 2, 198 below = 2,
196 above_equal = 3, 199 above_equal = 3,
197 equal = 4, 200 equal = 4,
198 not_equal = 5, 201 not_equal = 5,
(...skipping 874 matching lines...) Expand 10 before | Expand all | Expand 10 after
1073 Assembler* assembler_; 1076 Assembler* assembler_;
1074 #ifdef DEBUG 1077 #ifdef DEBUG
1075 int space_before_; 1078 int space_before_;
1076 #endif 1079 #endif
1077 }; 1080 };
1078 1081
1079 } // namespace internal 1082 } // namespace internal
1080 } // namespace v8 1083 } // namespace v8
1081 1084
1082 #endif // V8_X87_ASSEMBLER_X87_H_ 1085 #endif // V8_X87_ASSEMBLER_X87_H_
OLDNEW
« no previous file with comments | « src/x64/assembler-x64.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698