~bdrung/qemu-kvm/caps-lock-key-up-event

« back to all changes in this revision

Viewing changes to target-arm/helper.c

  • Committer: Bazaar Package Importer
  • Author(s): Serge Hallyn
  • Date: 2010-08-10 08:51:54 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100810085154-ok0jzlkr75dplmc7
Tags: 0.12.5+noroms-0ubuntu1
* New upstream release
* Removed patch which is now upstream:
  0001-Fix-missing-symbols-in-.rel-.rela.plt-sections.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
2043
2043
 
2044
2044
static inline uint16_t sub16_usat(uint16_t a, uint16_t b)
2045
2045
{
2046
 
    if (a < b)
 
2046
    if (a > b)
2047
2047
        return a - b;
2048
2048
    else
2049
2049
        return 0;
2060
2060
 
2061
2061
static inline uint8_t sub8_usat(uint8_t a, uint8_t b)
2062
2062
{
2063
 
    if (a < b)
 
2063
    if (a > b)
2064
2064
        return a - b;
2065
2065
    else
2066
2066
        return 0;