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

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

Issue 2072863003: S390: Enable unaligned accesses and character preloading in regexp. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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
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);
176 } 177 }
177 178
178 void CpuFeatures::PrintTarget() { 179 void CpuFeatures::PrintTarget() {
179 const char* s390_arch = NULL; 180 const char* s390_arch = NULL;
180 181
181 #if V8_TARGET_ARCH_S390X 182 #if V8_TARGET_ARCH_S390X
182 s390_arch = "s390x"; 183 s390_arch = "s390x";
183 #else 184 #else
184 s390_arch = "s390"; 185 s390_arch = "s390";
185 #endif 186 #endif
(...skipping 2920 matching lines...) Expand 10 before | Expand all | Expand 10 after
3106 3107
3107 reloc_info_writer.Write(&rinfo); 3108 reloc_info_writer.Write(&rinfo);
3108 } 3109 }
3109 3110
3110 reloc_info_writer.Finish(); 3111 reloc_info_writer.Finish();
3111 } 3112 }
3112 3113
3113 } // namespace internal 3114 } // namespace internal
3114 } // namespace v8 3115 } // namespace v8
3115 #endif // V8_TARGET_ARCH_S390 3116 #endif // V8_TARGET_ARCH_S390
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698