This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Bryce wrote: > Wouldn't the best solution for x86 integer divides be to just emit > something like: > > if (__builtin_expect (divisor== 0), false) > _Jv_ThrowDivideByZero() > else > .. do divide .. Well, there's usually another goofy case we need to watch for. See _Jv_divI and friends in prims.cc. Do we want to put all of these tests inline? AG
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |