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

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: S390: Fixes based on review feedback. - Guard the load character intruction with endian macro 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
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 2890 matching lines...) Expand 10 before | Expand all | Expand 10 after
3076 SKIP_ICACHE_FLUSH); 3077 SKIP_ICACHE_FLUSH);
3077 } 3078 }
3078 3079
3079 reloc_info_writer.Write(&rinfo); 3080 reloc_info_writer.Write(&rinfo);
3080 } 3081 }
3081 } 3082 }
3082 3083
3083 } // namespace internal 3084 } // namespace internal
3084 } // namespace v8 3085 } // namespace v8
3085 #endif // V8_TARGET_ARCH_S390 3086 #endif // V8_TARGET_ARCH_S390
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698