This is the mail archive of the
mailing list for the GCC project.
Re: is movccsi a standard names?
- From: Jim Wilson <wilson at tuliptree dot org>
- To: Shen Hui <shenhui at mprc dot pku dot edu dot cn>
- Cc: gcc at gcc dot gnu dot org
- Date: Sat, 09 Aug 2003 23:03:16 -0700
- Subject: Re: is movccsi a standard names?
- References: <200308050354.h753s5BO018580@mprc.pku.edu.cn>
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.
The .rtl file is before any optimization pass, so it won't have any cmov
instructions. They are only created by optimizations.
Using current gcc 3.x development sources, I get movlt/movgt
instructions for this example which is apparently what you want.