Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset 5a6a42f in mainline for boot/genarch/include/division.h


Ignore:
Timestamp:
2012-04-07T12:34:19Z (10 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master
Children:
956a22c
Parents:
df955955
Message:

unify softint cstyle
add udivmodsi3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/genarch/include/division.h

    rdf955955 r5a6a42f  
    3333#define BOOT_DIVISION_H_
    3434
    35 /* 32bit integer division */
    3635extern int __divsi3(int, int);
    37 
    38 /* 64bit integer division */
    3936extern long long __divdi3(long long, long long);
    4037
    41 /* 32bit unsigned integer division */
    4238extern unsigned int __udivsi3(unsigned int, unsigned int);
    43 
    44 /* 64bit unsigned integer division */
    4539extern unsigned long long __udivdi3(unsigned long long, unsigned long long);
    4640
    47 /* 32bit remainder of the signed division */
    4841extern int __modsi3(int, int);
    49 
    50 /* 64bit remainder of the signed division */
    5142extern long long __moddi3(long long, long long);
    5243
    53 /* 32bit remainder of the unsigned division */
    5444extern unsigned int __umodsi3(unsigned int, unsigned int);
    55 
    56 /* 64bit remainder of the unsigned division */
    5745extern unsigned long long __umoddi3(unsigned long long, unsigned long long);
    5846
     47extern unsigned int __udivmodsi3(unsigned int, unsigned int, unsigned int *);
    5948extern unsigned long long __udivmoddi3(unsigned long long, unsigned long long,
    6049    unsigned long long *);
Note: See TracChangeset for help on using the changeset viewer.