Ticket #5175: mythtv-0.21f-fast_cmov_fix.diff

File mythtv-0.21f-fast_cmov_fix.diff, 748 bytes (added by Dagmar d'Surreal, 14 years ago)

Fixes selection of cmov/fast_cmov

  • configure

    diff -urN mythtv-pristine/configure mythtv/configure
    old new  
    18461846    disable cmov
    18471847    if enabled cpu_override; then
    18481848        is_x86_cmov_cpu "$cpu" && enable cmov
    1849         disabled cmov || is_x86_slow_cmov_cpu "$cpu" || enable fast_cmov
    18501849    elif expr "$processor_flags" : ".*cmov" > /dev/null ; then
    18511850        enable cmov
    18521851    fi
     1852    # If we have CMOV then we should check for Netburst-based CPUs and enable
     1853    # fast_cmov if they're not what we're building for.
     1854    disabled cmov || is_x86_slow_cmov_cpu "$cpu" || enable fast_cmov
    18531855fi
    18541856
    18551857# use different default ARCHFLAGS for CPU missing cmov (Via C3 ...)