Revision 4c4fd3f8

b/target-arm/helper.c
2047 2047

  
2048 2048
static inline uint16_t sub16_usat(uint16_t a, uint16_t b)
2049 2049
{
2050
    if (a < b)
2050
    if (a > b)
2051 2051
        return a - b;
2052 2052
    else
2053 2053
        return 0;
......
2064 2064

  
2065 2065
static inline uint8_t sub8_usat(uint8_t a, uint8_t b)
2066 2066
{
2067
    if (a < b)
2067
    if (a > b)
2068 2068
        return a - b;
2069 2069
    else
2070 2070
        return 0;

Also available in: Unified diff