This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/20102] Incorrect floating point code generated when assigning to "packed" structure
- From: "oakad at yahoo dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Feb 2005 21:16:38 -0000
- Subject: [Bug target/20102] Incorrect floating point code generated when assigning to "packed" structure
- References: <20050220105654.20102.oakad@yahoo.com>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From oakad at yahoo dot com 2005-02-20 21:16 -------
Three points:
1. Handling of this case shall be consistent. When dealing with global
variables compiler emits byte by byte copy code. With automatic variables,
compiler emits single lfs/stfs.
2. I believe that PPC architecture explicitly forbids unaligned floating loads
and stores.
3. The whole point in my code sniplet is to accelerate some communication
protocol. Exception handler invocation is obviously out of question.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20102