Ignore:
Timestamp:
2018-02-28T17:52:03Z (7 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3061bc1
Parents:
df6ded8
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:26:03)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:52:03)
Message:

style: Remove trailing whitespace on non-empty lines, in certain file types.

Command used: tools/srepl '\([^[:space:]]\)\s\+$' '\1' -- *.c *.h *.py *.sh *.s *.S *.ag

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/src/softint/multiplication.c

    rdf6ded8 r1b20da0  
    4848
    4949/**
    50  * Multiply two integers and return long long as result. 
     50 * Multiply two integers and return long long as result.
    5151 * This function is overflow safe.
    5252 * @param a
     
    5656static unsigned long long mul(unsigned int a, unsigned int b) {
    5757        unsigned int a1, a2, b1, b2;
    58         unsigned long long t1, t2, t3; 
     58        unsigned long long t1, t2, t3;
    5959
    6060        a1 = a >> 16;
     
    6868        t3 = a2*b2;
    6969
    70         t3 = (((t1 << 16) + t2) << 16) + t3; 
     70        t3 = (((t1 << 16) + t2) << 16) + t3;
    7171
    7272        return t3;
     
    105105
    106106        // (if OF checked) a1 or b1 is zero => result fits in 64 bits, no need to another overflow check
    107         t1 = mul(a1,b2) + mul(b1,a2);   
     107        t1 = mul(a1,b2) + mul(b1,a2);
    108108
    109109        if (SOFTINT_CHECK_OF && t1 > MAX_UINT32) {
Note: See TracChangeset for help on using the changeset viewer.