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]

division


Anthony Green writes:
 > Would it be safe for gcj to emit a regular division sequence
 > instead of the _Jv_divI call when the divisor is a non-zero
 > constant?

Mostly.  You also need to check for dividing Integer.MIN_VALUE.

Andrew.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]