OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |