This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/18404] unnecessary sll when -mint64 (MIPS)
- From: "echristo at redhat dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jan 2005 00:37:50 -0000
- Subject: [Bug target/18404] unnecessary sll when -mint64 (MIPS)
- References: <20041109155544.18404.fshvaige@cisco.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From echristo at redhat dot com 2005-01-20 00:37 -------
The discussion was held offline between Richard Sandiford and I.
Having a -mint64 option changes the abi for anything that is built with that
option and in no abi defined for mips is int defined to 64. You may want longs
equal to 64-bit which I can easily understand, especially for 64-bit
architectures. Pointers can also be 64-bit under the n64 abi (-mabi=64).
As far as 64-bit ints being "natural", in fact, only the unicosmk abi for alpha
(not the rest of the port) defines the size of an integer to 64-bit or allows it.
-eric
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18404