~siretart/libav/trusty-security

« back to all changes in this revision

Viewing changes to libavcodec/mips/mathops.h

  • Committer: Package Import Robot
  • Author(s): Reinhard Tartler
  • Date: 2013-10-22 23:24:08 UTC
  • mfrom: (1.3.36 sid)
  • Revision ID: package-import@ubuntu.com-20131022232408-b8tvvn4pyzri9mi3
Tags: 6:9.10-1ubuntu1
* Build all -extra flavors from this source package, as libav got demoted
  from main to universe, cf LP: #1243235
* Simplify debian/rules to follow exactly the code that debian executes
* New upstream (LP: #1180288) fixes lots of security issues (LP: #1242802)
* Merge from unstable, remaining changes:
  - build-depend on libtiff5-dev rather than libtiff4-dev,
    avoids FTBFS caused by imlib
  - follow the regular debian codepaths

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
    __asm__ ("dmult %2, %3     \n\t"
58
58
             "mflo  %1         \n\t"
59
59
             "daddu %0, %0, %1 \n\t"
60
 
             : "+r"(d), "=&r"(m) : "r"(a), "r"(b));
 
60
             : "+r"(d), "=&r"(m) : "r"(a), "r"(b)
 
61
             : "hi", "lo");
61
62
    return d;
62
63
}
63
64
#define MAC64(d, a, b) ((d) = MAC64(d, a, b))
68
69
    __asm__ ("dmult %2, %3     \n\t"
69
70
             "mflo  %1         \n\t"
70
71
             "dsubu %0, %0, %1 \n\t"
71
 
             : "+r"(d), "=&r"(m) : "r"(a), "r"(b));
 
72
             : "+r"(d), "=&r"(m) : "r"(a), "r"(b)
 
73
             : "hi", "lo");
72
74
    return d;
73
75
}
74
76
#define MLS64(d, a, b) ((d) = MLS64(d, a, b))