ia64.md (cmpxchg_acq_si): Mark operand 3 as DImode.
authorZack Weinberg <zack@codesourcery.com>
Tue, 21 Oct 2003 21:22:42 +0000 (21:22 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Tue, 21 Oct 2003 21:22:42 +0000 (21:22 +0000)
commit5634cf724232242d5e9e79abc1c4f0ef8a9b7bb8
treeda268619c79d9ec8c44a1db688dcfa88d38db6b7
parent25f93e1848b88e625aaf90d1ab76732790f2e229
ia64.md (cmpxchg_acq_si): Mark operand 3 as DImode.

* config/ia64/ia64.md (cmpxchg_acq_si): Mark operand 3 as DImode.
* config/ia64/ia64.c (ia64_expand_fetch_and_op,
ia64_expand_op_and_fetch): Make sure the REG for ar.ccv is
DImode.   Use convert_move to load ar.ccv.
(ia64_expand_compare_and_swap): Likewise.
If expand_expr doesn't put 'old' and 'new' in the proper
modes, run them through convert_to_mode.

From-SVN: r72770
gcc/ChangeLog
gcc/config/ia64/ia64.c
gcc/config/ia64/ia64.md