incorrect use of 0L constant in LDIV, LREM?

Chris Pickett <[email protected]> Sat, 05 Feb 2005 17:06:10 -0500
Newsgroups gmane.comp.java.vm.sablevm.devel
Message-ID <[email protected]>
Hi,

Wouldn't the code for LDIV, LREM in instructions.m4.mc be correct if the 
test was for 0LL and not 0L?  Furthermore, since LL constants aren't 
allowed in ANSI C, shouldn't there be a test for both halves of the 
64-bit value?

Or am I missing something, such as the constant getting zero-extended by 
the compiler?

Cheers,
Chris