
Jan. 15, 2016
1:59 p.m.
Hi,
libffi is *documented* to return the non sign-extended value.
I have fixed this issue at the call site. The caller sign/zero extends narrower integer types. The reason I did not change it to that in the first place is: I thought that it is not easy to determine this information at the callsite (because it is not done in any other backend). Apparently it is available. Cheers, Richard