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

Side by Side Diff: src/s390/assembler-s390.cc

Issue 2249293002: S390: Clean up the use of UNALIGNED_ACCESSES (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 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/regexp/s390/regexp-macro-assembler-s390.cc ('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 5 // modification, are permitted provided that the following conditions
6 // are met: 6 // are 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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 #else 166 #else
167 // All distinct ops instructions can be simulated 167 // All distinct ops instructions can be simulated
168 supported_ |= (1u << DISTINCT_OPS); 168 supported_ |= (1u << DISTINCT_OPS);
169 // RISBG can be simulated 169 // RISBG can be simulated
170 supported_ |= (1u << GENERAL_INSTR_EXT); 170 supported_ |= (1u << GENERAL_INSTR_EXT);
171 171
172 supported_ |= (1u << FLOATING_POINT_EXT); 172 supported_ |= (1u << FLOATING_POINT_EXT);
173 USE(performSTFLE); // To avoid assert 173 USE(performSTFLE); // To avoid assert
174 #endif 174 #endif
175 supported_ |= (1u << FPU); 175 supported_ |= (1u << FPU);
176 supported_ |= (1u << UNALIGNED_ACCESSES);
177 } 176 }
178 177
179 void CpuFeatures::PrintTarget() { 178 void CpuFeatures::PrintTarget() {
180 const char* s390_arch = NULL; 179 const char* s390_arch = NULL;
181 180
182 #if V8_TARGET_ARCH_S390X 181 #if V8_TARGET_ARCH_S390X
183 s390_arch = "s390x"; 182 s390_arch = "s390x";
184 #else 183 #else
185 s390_arch = "s390"; 184 s390_arch = "s390";
186 #endif 185 #endif
(...skipping 2936 matching lines...) Expand 10 before | Expand all | Expand 10 after
3123 SKIP_ICACHE_FLUSH); 3122 SKIP_ICACHE_FLUSH);
3124 } 3123 }
3125 3124
3126 reloc_info_writer.Write(&rinfo); 3125 reloc_info_writer.Write(&rinfo);
3127 } 3126 }
3128 } 3127 }
3129 3128
3130 } // namespace internal 3129 } // namespace internal
3131 } // namespace v8 3130 } // namespace v8
3132 #endif // V8_TARGET_ARCH_S390 3131 #endif // V8_TARGET_ARCH_S390
OLDNEW
« no previous file with comments | « src/regexp/s390/regexp-macro-assembler-s390.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698