~davewalker/ubuntu/maverick/qemu-kvm/623830

« back to all changes in this revision

Viewing changes to target-arm/op_addsub.h

  • 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:
73
73
    uint32_t res = 0;
74
74
    DECLARE_GE;
75
75
 
76
 
    ADD16(a, b, 0);
77
 
    SUB16(a >> 16, b >> 16, 1);
 
76
    ADD16(a, b >> 16, 0);
 
77
    SUB16(a >> 16, b, 1);
78
78
    SET_GE;
79
79
    return res;
80
80
}
84
84
    uint32_t res = 0;
85
85
    DECLARE_GE;
86
86
 
87
 
    SUB16(a, b, 0);
88
 
    ADD16(a >> 16, b >> 16, 1);
 
87
    SUB16(a, b >> 16, 0);
 
88
    ADD16(a >> 16, b, 1);
89
89
    SET_GE;
90
90
    return res;
91
91
}