OSDN Git Service

* config/m68k/m68k.md (movsi_cfv4): New pattern to allow mov3q.
authorbernie <bernie@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 16 Jun 2004 21:53:46 +0000 (21:53 +0000)
committerbernie <bernie@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 16 Jun 2004 21:53:46 +0000 (21:53 +0000)
commit0c4bc85aa8a944bf28591a5c41a6ffb46ea7c4b7
tree43559396a2e98ef9733950984ee8c75db769667c
parenteaae3b7592d5ecb2b2d6def2f85573fe41bb71c5
* config/m68k/m68k.md (movsi_cfv4): New pattern to allow mov3q.
(movsi_cf): Make named, don't match TARGET_CFV4.
(pushexthisi_const): Use mov3q if possible.
(extendhisi2, cvf4_extendhisi2): Split extendhisi2 pattern
to special case mvz.w for ColdFire V4.
(extendqisi2, cvf4_extendqisi2): Split extendhisi2 pattern
to special case mvz.b for ColdFire V4.
(udivmodhi4, divmodhi4): Use mvz to zero extend arg for
divide.
(iorsi3, xorsi3, andsi3): Use bitfield instructions if possible.
* config/m68k/m68k.c(valid_mov3q_const):  New function.
(const_method): SWAP is valid for ColdFire.
(MULL_COST, MULW_COST): Fix costs for ColdFire V3/V4.
* config/m68k/m68k-protos.h (valid_mov3q_const): Prototype here.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83266 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/m68k/m68k-protos.h
gcc/config/m68k/m68k.c
gcc/config/m68k/m68k.md