2010/2/15 Ludwig Nussel <[email protected]>: > Michael Menegakis wrote: >> A peculiar behavior; on linux x86_64; the op_argsize[] check near the >> top of VM_Compile() returns always true for == 4 or other but not >> for == 1. This is apparent from the debugging file when DEBUG_VM, >> since OP_ARG is always printed with 8 spaces and in a decimal form per >> the == 4 check. > > the %hhu means unsigned char argument in decimal form. A differently > behaving printf doesn't affect the generated code though. Did you > compare the generated binary code? There's a #if 0 at the end of > VM_Compile that when enabled dumps the binary code to a file.
You're right, I had confused it with a %hhx further down; hence it's a non issue. That makes the DEBUG_VM outputs completely identical (diff returns nothing). The bins appear to be different; I've uploaded them here: http://www0.org/vm/bins.tar.bz2 in case you need to inspect them. _______________________________________________ ioquake3 mailing list [email protected] http://lists.ioquake.org/listinfo.cgi/ioquake3-ioquake.org By sending this message I agree to love ioquake3 and libsdl.
