Changeset 41022 in webkit
- Timestamp:
- Feb 16, 2009, 2:15:40 PM (17 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r41013 r41022 1 2009-02-16 Csaba Osztrogonac <[email protected]> 2 3 Reviewed by Oliver Hunt. 4 5 Bug 23787: Allow JIT to generate SSE2 code if using GCC 6 <https://bugs.webkit.org/show_bug.cgi?id=23787> 7 8 GCC version of the cpuid check. 9 10 * jit/JITArithmetic.cpp: 11 (JSC::isSSE2Present): GCC assembly code added. 12 6.6% progression on x86 Linux with JIT and WREC on SunSpider if using SSE2 capable machine. 13 1 14 2009-02-13 Adam Treat <[email protected]> 2 15 -
trunk/JavaScriptCore/jit/JITArithmetic.cpp
r40963 r41022 622 622 mov flags, edx; 623 623 } 624 #elif COMPILER(GCC) 625 asm ( 626 "movl $0x1, %%eax;" 627 "cpuid;" 628 "movl %%edx, %0;" 629 : "=g" (flags) 630 : 631 : "%eax", "%ebx", "%ecx", "%edx" 632 ); 624 633 #else 625 634 flags = 0; 626 // FIXME: Add GCC code to do above asm627 635 #endif 628 636 present = (flags & SSE2FeatureBit) != 0;
Note:
See TracChangeset
for help on using the changeset viewer.