Sophie

Sophie

distrib > Mageia > 7 > x86_64 > by-pkgid > 384164672ffd6d09b4a81a1c91dcd077 > files > 8

thunderbird-68.0-1.3.mga7.src.rpm

--- thunderbird-68.0/js/src/jit/x86-shared/Assembler-x86-shared.cpp.orig	2019-09-02 09:37:27.430403601 +0200
+++ thunderbird-68.0/js/src/jit/x86-shared/Assembler-x86-shared.cpp	2019-09-02 09:39:18.188733135 +0200
@@ -329,12 +329,14 @@ void CPUInfo::SetSSEVersion() {
     avxPresent = (xcr0EAX & xcr0SSEBit) && (xcr0EAX & xcr0AVXBit);
   }
 
+ if (maxSSEVersion >= SSE2) {
   // CMOV instruction are supposed to be supported by all CPU which have SSE2
   // enabled. While this might be true, this is not guaranteed by any
   // documentation, nor AMD, nor Intel.
   static constexpr int CMOVBit = 1 << 15;
   MOZ_RELEASE_ASSERT(flagsEdx & CMOVBit,
                      "CMOVcc instruction is not recognized by this CPU.");
+ }
 
   static constexpr int POPCNTBit = 1 << 23;
   popcntPresent = (flagsEcx & POPCNTBit);