Changeset d6dcdd2e in mainline for arch/ia32/src/delay.s


Ignore:
Timestamp:
2005-09-13T21:20:56Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
01e48c1
Parents:
b1cf98c
Message:

Optimize some assembler functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia32/src/delay.s

    rb1cf98c rd6dcdd2e  
    3737
    3838asm_delay_loop:
    39         pushl %ecx
    40         movl 8(%esp),%ecx       # move argument to %ecx
     39        movl 4(%esp),%ecx       # move argument to %ecx
    41400:      lahf
    4241        dec %ecx
    4342        jnz 0b
    44         popl %ecx
    4543        ret
    4644
    4745asm_fake_loop:
    48         pushl %ecx
    49         movl 8(%esp),%ecx       # move argument to %ecx
     46        movl 4(%esp),%ecx       # move argument to %ecx
    50470:      lahf
    5148        dec %ecx
    5249        jz 0b
    53         popl %ecx
    5450        ret
Note: See TracChangeset for help on using the changeset viewer.