This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/46942] x86_64 parameter passing unnecessary sign/zero extends
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 2 Jan 2011 20:53:29 +0000
- Subject: [Bug target/46942] x86_64 parameter passing unnecessary sign/zero extends
- Auto-submitted: auto-generated
- References: <bug-46942-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46942
--- Comment #6 from H.J. Lu <hjl.tools at gmail dot com> 2011-01-02 20:53:12 UTC ---
(In reply to comment #5)
> And upper 32 bits are undefined if the argument is 8/16/32 bit (i.e. callee
> must sign/zero extend, instead of caller)?
If callee wants 64bit, it has to sign/zero extend it to 64bit.