Changeset a35b458 in mainline for boot/arch/ia64/src/sal_asm.S


Ignore:
Timestamp:
2018-03-02T20:10:49Z (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:
f1380b7
Parents:
3061bc1
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:38:31)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:10:49)
Message:

style: Remove trailing whitespace on _all_ lines, including empty ones, for particular file types.

Command used: tools/srepl '\s\+$' '' -- *.c *.h *.py *.sh *.s *.S *.ag

Currently, whitespace on empty lines is very inconsistent.
There are two basic choices: Either remove the whitespace, or keep empty lines
indented to the level of surrounding code. The former is AFAICT more common,
and also much easier to do automatically.

Alternatively, we could write script for automatic indentation, and use that
instead. However, if such a script exists, it's possible to use the indented
style locally, by having the editor apply relevant conversions on load/save,
without affecting remote repository. IMO, it makes more sense to adopt
the simpler rule.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/ia64/src/sal_asm.S

    r3061bc1 ra35b458  
    4545FUNCTION_BEGIN(sal_call)
    4646        alloc loc0 = ar.pfs, 8, 8, 8, 0
    47        
     47
    4848        adds sp = -STACK_SCRATCH_AREA, sp
    4949
    5050        mov loc1 = gp
    5151        mov loc2 = rp
    52        
     52
    5353        addl loc3 = @gprel(sal_proc), gp
    5454        addl loc4 = @gprel(sal_proc_gp), gp
    55        
     55
    5656        mov out0 = in0
    5757        mov out1 = in1
     
    6262        mov out6 = in6
    6363        mov out7 = in7 ;;
    64        
     64
    6565        ld8 loc3 = [loc3]
    6666        ld8 gp = [loc4]
     
    7373        ld8 loc6 = [r15]
    7474        ld8 loc7 = [r16]
    75        
     75
    7676        mov b6 = loc3 ;;
    7777        br.call.sptk.many rp = b6
    78        
     78
    7979        cmp.ne p7,p0 = 0, loc5
    8080        cmp.ne p8,p0 = 0, loc6
    8181        cmp.ne p9,p0 = 0, loc7 ;;
    82        
     82
    8383(p7)    st8 [loc5] = r9
    8484(p8)    st8 [loc6] = r10
    8585(p9)    st8 [loc7] = r11
    86        
     86
    8787        mov gp = loc1
    8888        mov rp = loc2
    8989
    9090        adds sp = STACK_SCRATCH_AREA, sp ;;
    91        
     91
    9292        mov ar.pfs = loc0
    9393        br.ret.sptk.many rp
Note: See TracChangeset for help on using the changeset viewer.