8500 loader: need __divmoddi4 and __udivmoddi4
Review Request #628 - Created July 15, 2017 and submitted
| Information | |
|---|---|
| Toomas Soome | |
| illumos-gate | |
| 8500 | |
| b8ca630... | |
| Reviewers | |
| general | |
8500 loader: need __divmoddi4 and __udivmoddi4
no targeted test, just boot. Need to devise something better, likely some nice forth script:)
-
usr/src/boot/lib/libstand/qdivrem.c (Diff revision 1) -
So, the implementation of __divmoddi4 matches most of those that we find in other compiler runtimes. However, in most of the others, __udivmoddi4 seems more complicated. Is that because the hard work is actually all in __qdivrem()? I haven't quite convinced myself that they are logically equivalent to say the llvm compiler-rt one.
Ship It!
Review request changed
Change Summary:
rename __qdivrem to __udivmoddi4; use NULL instead of 0.
Commit: |
|
||||
|---|---|---|---|---|---|
Diff: |
Revision 2 (+23 -17) |
Ship It!
Ship It!
Ship It!
Ship It!
