This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: MN10300: Handle MDR register in movqi/movhi pattern.


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 04/06/11 03:38, Nick Clifton wrote:
> Hi Jeff, Hi Alex, Hi Richard,
> 
>   The MN10300 gcc port currently does not build on the mainline because
>   of:
>   
>       In file included from gcc/unwind-dw2-fde.c:35:0:
>       gcc/unwind-pe.h: In function 'read_encoded_value_with_base':
>       gcc/unwind-pe.h:271:1: error: insn does not satisfy its constraints:
> 
>       (insn 417 381 382 7 (set (reg/v:QI 50 mdr [orig:145 encoding ] [145])
>                                (reg:QI 0 d0)) 0 {*movqi_internal}
>       (nil))
> 
>   Ie the movqi insn does not handle the MDR register.  (A similar issue
>   affects the movhi insn, although that is not triggered until later on
>   in the toolchain build).  I would like to propose the attached small
>   patch to fix this problem.
> 
>   Tested without regressions on an mn10300-elf toolchain.
> 
>   OK to apply ?
> 
> Cheers
>   Nick
> 
> gcc/ChangeLog
> 2011-04-05  Nick Clifton  <nickc@redhat.com>
> 
> 	* config/mn10300/mn10300.md (movqi_internal): Add alternatives
> 	to handle MDR <-> data register transfers.
>         (movhi_internal): Likewise.
OK.
Jeff
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNnI1QAAoJEBRtltQi2kC7N9kH/386lr+MoA3I35RUjk6o4jV8
FpGxLei7T4AQTgdJ7RixmL5TiCQBsYtp3kEjauwZEpOUQKzFXfiEQT2vtsm/lqgr
Db+6dyUF0XidoEAe/nkv81jYeEtsf/Y/6ujxQ2mmQyGDEzD/GbwOovPEVtKBDrsp
47HIF0xhqvzHu7TaH6UomEqyKl0qwagC00O2TsrMTfA8ctpmAw0lF6NQbxYofRwb
f9hXl1arfvRP7B3XNSOZRpr3R9IwDOIXRYeYzr3qAShPQ+K/nooC2E387azhYnKE
eQm4VMbI8aAh48WtRRtA6T1ATLrU7nswxXhLoRW8g9zItkiAatL/N4iBNE96iTk=
=QOQp
-----END PGP SIGNATURE-----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]