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: [cond-optab] Convert m32c


This is OK with me.

> 2009-03-23  Paolo Bonzini  <bonzini@gnu.org>
> 
>         * config/m32c/m32c.md (cbranch splitter): Use match_op_dup.
> 	* config/m32c/m32c.md (any_cond, eqne_cond, gl_cond): Delete.
> 	(b<code>_op): Rewrite to...
>         (bcc_op): ... this, using match_operator.
> 	(s<code>_op): Rewrite to...
>         (scc_op): ... this, using match_operator.
> 	(s<code>_24_op): Rewrite to...
>         (scc_op_24): ... this, using match_operator.
> 	(s<code>_<mode>): Rewrite to...
>         (cstore<mode>4): ... this, using match_operator.
> 	(s<code>_<mode>_24): Rewrite to...
>         (cstore<mode>4_24): ... this, using match_operator.
> 	(movqicc_<code>_<mode>): Only do the eq case.
> 	(movhicc_<code>_<mode>): Only do the eq case.
>         * config/m32c/m32c-protos.h (m32c_cmp_flg_0, m32c_pend_compare,
> 	m32c_unpend_compare, m32c_expand_scc): Delete.
>         * config/m32c/m32c.c (compare_op0, compare_op1, m32c_cmp_flg_0,
> 	m32c_pend_compare, m32c_unpend_compare, m32c_expand_scc): Delete.
>         (m32c_expand_movcc): Change NE to EQ if necessary.
> 	(m32c_init_libfuncs): Modify cstore optab instead of setcc_gen_code.


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