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

Side by Side Diff: src/ia32/assembler-ia32.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/compiler/x87/instruction-selector-x87.cc ('k') | src/machine-type.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) 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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 177
178 int reg_code; 178 int reg_code;
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 Simd128Register;
188
187 typedef DoubleRegister XMMRegister; 189 typedef DoubleRegister XMMRegister;
188 190
189 enum Condition { 191 enum Condition {
190 // any value < 0 is considered no_condition 192 // any value < 0 is considered no_condition
191 no_condition = -1, 193 no_condition = -1,
192 194
193 overflow = 0, 195 overflow = 0,
194 no_overflow = 1, 196 no_overflow = 1,
195 below = 2, 197 below = 2,
196 above_equal = 3, 198 above_equal = 3,
(...skipping 1371 matching lines...) Expand 10 before | Expand all | Expand 10 after
1568 Assembler* assembler_; 1570 Assembler* assembler_;
1569 #ifdef DEBUG 1571 #ifdef DEBUG
1570 int space_before_; 1572 int space_before_;
1571 #endif 1573 #endif
1572 }; 1574 };
1573 1575
1574 } // namespace internal 1576 } // namespace internal
1575 } // namespace v8 1577 } // namespace v8
1576 1578
1577 #endif // V8_IA32_ASSEMBLER_IA32_H_ 1579 #endif // V8_IA32_ASSEMBLER_IA32_H_
OLDNEW
« no previous file with comments | « src/compiler/x87/instruction-selector-x87.cc ('k') | src/machine-type.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698