This is the mail archive of the libc-ports@sources.redhat.com mailing list for the libc-ports project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Implement a subroutine _divsi3 which checks the divisor for being 12 (which is sizeof(RELA)), then takes advantage of 1/12 = 0.010101... in binary to perform the division by 12 using the strategy of umulsi3_highpart (multiply by a binary fraction, take the high part) as Richard suggests.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |