| 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 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 "f20", | 80 "f20", |
| 81 "f22", | 81 "f22", |
| 82 "f24", | 82 "f24", |
| 83 "f26" | 83 "f26" |
| 84 }; | 84 }; |
| 85 return names[index]; | 85 return names[index]; |
| 86 } | 86 } |
| 87 | 87 |
| 88 | 88 |
| 89 void CpuFeatures::ProbeImpl(bool cross_compile) { | 89 void CpuFeatures::ProbeImpl(bool cross_compile) { |
| 90 supported_ |= OS::CpuFeaturesImpliedByPlatform(); | |
| 91 supported_ |= CpuFeaturesImpliedByCompiler(); | 90 supported_ |= CpuFeaturesImpliedByCompiler(); |
| 92 | 91 |
| 93 // Only use statically determined features for cross compile (snapshot). | 92 // Only use statically determined features for cross compile (snapshot). |
| 94 if (cross_compile) return; | 93 if (cross_compile) return; |
| 95 | 94 |
| 96 // If the compiler is allowed to use fpu then we can use fpu too in our | 95 // If the compiler is allowed to use fpu then we can use fpu too in our |
| 97 // code generation. | 96 // code generation. |
| 98 #ifndef __mips__ | 97 #ifndef __mips__ |
| 99 // For the simulator build, use FPU. | 98 // For the simulator build, use FPU. |
| 100 supported_ |= 1u << FPU; | 99 supported_ |= 1u << FPU; |
| (...skipping 2213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2314 void Assembler::PopulateConstantPool(ConstantPoolArray* constant_pool) { | 2313 void Assembler::PopulateConstantPool(ConstantPoolArray* constant_pool) { |
| 2315 // No out-of-line constant pool support. | 2314 // No out-of-line constant pool support. |
| 2316 ASSERT(!FLAG_enable_ool_constant_pool); | 2315 ASSERT(!FLAG_enable_ool_constant_pool); |
| 2317 return; | 2316 return; |
| 2318 } | 2317 } |
| 2319 | 2318 |
| 2320 | 2319 |
| 2321 } } // namespace v8::internal | 2320 } } // namespace v8::internal |
| 2322 | 2321 |
| 2323 #endif // V8_TARGET_ARCH_MIPS | 2322 #endif // V8_TARGET_ARCH_MIPS |
| OLD | NEW |