Changeset 41160 in webkit for trunk/JavaScriptCore/jit/JITArithmetic.cpp
- Timestamp:
- Feb 23, 2009, 4:29:56 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/jit/JITArithmetic.cpp
r41126 r41160 622 622 mov flags, edx; 623 623 } 624 #elif COMPILER(GCC) 625 asm ( 626 "movl $0x1, %%eax;" 627 "pushl %%ebx;" 628 "cpuid;" 629 "popl %%ebx;" 630 "movl %%edx, %0;" 631 : "=g" (flags) 632 : 633 : "%eax", "%ecx", "%edx" 634 ); 624 635 #else 625 636 flags = 0; 626 // FIXME: Add GCC code to do above asm627 637 #endif 628 638 present = (flags & SSE2FeatureBit) != 0;
Note:
See TracChangeset
for help on using the changeset viewer.