OLD | NEW |
1 // Copyright 2006-2009 the V8 project authors. All rights reserved. | 1 // Copyright 2006-2009 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 589 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
600 | 600 |
601 // Feature flags bit positions. They are mostly based on the CPUID spec. | 601 // Feature flags bit positions. They are mostly based on the CPUID spec. |
602 // (We assign CPUID itself to one of the currently reserved bits -- | 602 // (We assign CPUID itself to one of the currently reserved bits -- |
603 // feel free to change this if needed.) | 603 // feel free to change this if needed.) |
604 enum CpuFeature { SSE3 = 32, // x86 | 604 enum CpuFeature { SSE3 = 32, // x86 |
605 SSE2 = 26, // x86 | 605 SSE2 = 26, // x86 |
606 CMOV = 15, // x86 | 606 CMOV = 15, // x86 |
607 RDTSC = 4, // x86 | 607 RDTSC = 4, // x86 |
608 CPUID = 10, // x86 | 608 CPUID = 10, // x86 |
609 VFP3 = 1, // ARM | 609 VFP3 = 1, // ARM |
| 610 ARMv7 = 2, // ARM |
610 SAHF = 0}; // x86 | 611 SAHF = 0}; // x86 |
611 | 612 |
612 } } // namespace v8::internal | 613 } } // namespace v8::internal |
613 | 614 |
614 #endif // V8_GLOBALS_H_ | 615 #endif // V8_GLOBALS_H_ |
OLD | NEW |