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

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

Issue 2700813002: [V8] Implement SIMD Boolean vector types to allow mask registers. (Closed)
Patch Set: Rebase. Created 3 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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 int reg_code; 141 int reg_code;
142 }; 142 };
143 143
144 144
145 #define DECLARE_REGISTER(R) const Register R = {Register::kCode_##R}; 145 #define DECLARE_REGISTER(R) const Register R = {Register::kCode_##R};
146 GENERAL_REGISTERS(DECLARE_REGISTER) 146 GENERAL_REGISTERS(DECLARE_REGISTER)
147 #undef DECLARE_REGISTER 147 #undef DECLARE_REGISTER
148 const Register no_reg = {Register::kCode_no_reg}; 148 const Register no_reg = {Register::kCode_no_reg};
149 149
150 static const bool kSimpleFPAliasing = true; 150 static const bool kSimpleFPAliasing = true;
151 static const bool kSimdMaskRegisters = false;
151 152
152 struct XMMRegister { 153 struct XMMRegister {
153 enum Code { 154 enum Code {
154 #define REGISTER_CODE(R) kCode_##R, 155 #define REGISTER_CODE(R) kCode_##R,
155 DOUBLE_REGISTERS(REGISTER_CODE) 156 DOUBLE_REGISTERS(REGISTER_CODE)
156 #undef REGISTER_CODE 157 #undef REGISTER_CODE
157 kAfterLast, 158 kAfterLast,
158 kCode_no_reg = -1 159 kCode_no_reg = -1
159 }; 160 };
160 161
(...skipping 1431 matching lines...) Expand 10 before | Expand all | Expand 10 after
1592 Assembler* assembler_; 1593 Assembler* assembler_;
1593 #ifdef DEBUG 1594 #ifdef DEBUG
1594 int space_before_; 1595 int space_before_;
1595 #endif 1596 #endif
1596 }; 1597 };
1597 1598
1598 } // namespace internal 1599 } // namespace internal
1599 } // namespace v8 1600 } // namespace v8
1600 1601
1601 #endif // V8_IA32_ASSEMBLER_IA32_H_ 1602 #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