[MLton] cvs commit: C types now distinguish between signed and unsigned words

Matthew Fluet fluet@cs.cornell.edu
Thu, 13 Jan 2005 20:19:46 -0500 (EST)


  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.
  Send mail to mime@docserver.cac.washington.edu for more info.

---559023410-1290326580-1105665586=:15489
Content-Type: TEXT/PLAIN; charset=US-ASCII


> > sweeks      04/09/06 17:46:20
> >
> >   Log:
> >   MAIL C types now distinguish between signed and unsigned words
> >
> >   This distinction is necessary because on some platforms the calling
> >   convention for signeds and unsigneds is different.  This can happen
> >   when a small word (e.g. 8 bit) is represented in a larger word
> >   (e.g. 32 bit), in which case the signed version will be passed sign
> >   extended and the unsigned version will be passed zero extended.
>
> I don't believe that this modification had the intended effect.  In
> particular, while we correctly distinguish between signed and unsigned
> words for primitives, we do not do so for _import-ed functions.

Could someone on a PPC please run this test with mlton-20041109?  Thanks.

---559023410-1290326580-1105665586=:15489
Content-Type: APPLICATION/octet-stream; name="test.tgz"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.GSO.4.44.0501132019460.15489@ringding.cs.cornell.edu>
Content-Description: 
Content-Disposition: attachment; filename="test.tgz"

H4sIAL8d50EAA+1WW2/TMBTua/0rjgJoKWozu2nTaWWTeGBiD1wkHhACVIXE
3aKlcUkdmhbBb8eXJE0v23hYVyH8SY2dc77zHdeOfczpjB839guMe3jQ74sW
E3fg1tsSDYLJgHjE8wa4gQnBooH+nselkM24nwI0xnFG+R28+/z/KLhcf/kY
fc8Yd2aT+OFzYIKxJ9b4lvUnPa+/Wn8s7MT1um4D8MMPZRv/+fqjH34Mk4Va
fTiDUTSZspSDVZisU7hM+IkTJRyer7qd86o/REpiwbK0EqG5FqmMfyMjVUYi
eqWkfLKnUwR+HI/W8pSDXfeIZFkSKXXZFgPMoTaGM/hN9LDXrQRr8lL0q+xg
521YtMqZkr5ywgqPcn3zQ+lDABBTLhuB3ZnXfR9ZGp44c/EUXjzPLy62g91u
Ea3JnAkb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