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

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

Issue 2101473002: [Turbofan] Allow compiler to elide complex aliasing code. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase. Created 4 years, 5 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') | test/unittests/compiler/instruction-sequence-unittest.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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 // Unfortunately we can't make this private in a struct. 141 // Unfortunately we can't make this private in a struct.
142 int reg_code; 142 int reg_code;
143 }; 143 };
144 144
145 145
146 #define DECLARE_REGISTER(R) const Register R = {Register::kCode_##R}; 146 #define DECLARE_REGISTER(R) const Register R = {Register::kCode_##R};
147 GENERAL_REGISTERS(DECLARE_REGISTER) 147 GENERAL_REGISTERS(DECLARE_REGISTER)
148 #undef DECLARE_REGISTER 148 #undef DECLARE_REGISTER
149 const Register no_reg = {Register::kCode_no_reg}; 149 const Register no_reg = {Register::kCode_no_reg};
150 150
151 static const bool kSimpleFPAliasing = true;
152
151 struct X87Register { 153 struct X87Register {
152 enum Code { 154 enum Code {
153 #define REGISTER_CODE(R) kCode_##R, 155 #define REGISTER_CODE(R) kCode_##R,
154 DOUBLE_REGISTERS(REGISTER_CODE) 156 DOUBLE_REGISTERS(REGISTER_CODE)
155 #undef REGISTER_CODE 157 #undef REGISTER_CODE
156 kAfterLast, 158 kAfterLast,
157 kCode_no_reg = -1 159 kCode_no_reg = -1
158 }; 160 };
159 161
160 static const int kMaxNumRegisters = Code::kAfterLast; 162 static const int kMaxNumRegisters = Code::kAfterLast;
(...skipping 953 matching lines...) Expand 10 before | Expand all | Expand 10 after
1114 Assembler* assembler_; 1116 Assembler* assembler_;
1115 #ifdef DEBUG 1117 #ifdef DEBUG
1116 int space_before_; 1118 int space_before_;
1117 #endif 1119 #endif
1118 }; 1120 };
1119 1121
1120 } // namespace internal 1122 } // namespace internal
1121 } // namespace v8 1123 } // namespace v8
1122 1124
1123 #endif // V8_X87_ASSEMBLER_X87_H_ 1125 #endif // V8_X87_ASSEMBLER_X87_H_
OLDNEW
« no previous file with comments | « src/x64/assembler-x64.h ('k') | test/unittests/compiler/instruction-sequence-unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698