This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: is movccsi a standard names?
- From: Richard Earnshaw <rearnsha at arm dot com>
- To: Jim Wilson <wilson at tuliptree dot org>
- Cc: Shen Hui <shenhui at mprc dot pku dot edu dot cn>, gcc at gcc dot gnu dot org, Richard dot Earnshaw at arm dot com
- Date: Sun, 10 Aug 2003 16:23:18 +0100
- Subject: Re: is movccsi a standard names?
- Organization: ARM Ltd.
- Reply-to: Richard dot Earnshaw at arm dot com
> Shen Hui wrote:
> > i want to know the real defination of standard names (RTL),
> > and if movccsi is a stantard name (see gcc-2.95.3 arm.md),then why cannot emit conditional move rtl in generation.
>
> movcc is for moving the condition code value from one place to another.
> cmov is for generating condition moves.
There's some confusion here. ARM has movsicc (note the order of si and cc
is reversed). This is an instruction that matches mov<mode>cc in the rtl
expanders. In fact, these instructions are not used during initial
expansion into RTL, but are generated at later stages of optimization.
R.