[Bug target/28232] Wrong aligned load is generated with -m4a on sh-*

kkojima at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Oct 23 00:14:00 GMT 2006



------- Comment #4 from kkojima at gcc dot gnu dot org  2006-10-23 00:14 -------
Subject: Bug 28232

Author: kkojima
Date: Mon Oct 23 00:14:39 2006
New Revision: 117961

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=117961
Log:
        PR target/28232
        * config/sh/sh.c (expand_block_move): Use a BLKmode rather than
        SImode memory reference for the source of a movua.
        * config/sh/sh.md (UNSPEC_MOVUA): New macro.
        (movua): Use an unspec instead of sign_extract.  Expect the source
        to have mode BLKmode.
        (extv, insv): Use a BLKmode rather than SImode memory reference
        for the source of a movua.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/sh/sh.c
    trunk/gcc/config/sh/sh.md


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28232



More information about the Gcc-bugs mailing list