| 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 594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 605 | 605 |
| 606 // Feature flags bit positions. They are mostly based on the CPUID spec. | 606 // Feature flags bit positions. They are mostly based on the CPUID spec. |
| 607 // (We assign CPUID itself to one of the currently reserved bits -- | 607 // (We assign CPUID itself to one of the currently reserved bits -- |
| 608 // feel free to change this if needed.) | 608 // feel free to change this if needed.) |
| 609 enum CpuFeature { SSE3 = 32, // x86 | 609 enum CpuFeature { SSE3 = 32, // x86 |
| 610 SSE2 = 26, // x86 | 610 SSE2 = 26, // x86 |
| 611 CMOV = 15, // x86 | 611 CMOV = 15, // x86 |
| 612 RDTSC = 4, // x86 | 612 RDTSC = 4, // x86 |
| 613 CPUID = 10, // x86 | 613 CPUID = 10, // x86 |
| 614 VFP3 = 1, // ARM | 614 VFP3 = 1, // ARM |
| 615 ARMv7 = 2, // ARM |
| 615 SAHF = 0}; // x86 | 616 SAHF = 0}; // x86 |
| 616 | 617 |
| 617 } } // namespace v8::internal | 618 } } // namespace v8::internal |
| 618 | 619 |
| 619 #endif // V8_GLOBALS_H_ | 620 #endif // V8_GLOBALS_H_ |
| OLD | NEW |