diff options
author | Richard Henderson <rth@redhat.com> | 2005-04-14 16:42:50 -0700 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2005-04-14 16:42:50 -0700 |
commit | 1ef45b7773cfcce6e6e952b8a15713bd321adc9e (patch) | |
tree | 4e525ea00c5d64969cf58aac3b3103b4bb6779d2 /gcc/cfgexpand.c | |
parent | 48ae6c138ca30c4c5e876a0be47c9a0b5c8bf5c2 (diff) | |
download | gcc-1ef45b7773cfcce6e6e952b8a15713bd321adc9e.zip gcc-1ef45b7773cfcce6e6e952b8a15713bd321adc9e.tar.gz gcc-1ef45b7773cfcce6e6e952b8a15713bd321adc9e.tar.bz2 |
i386.c (x86_cmpxchg, x86_xadd): New.
* config/i386/i386.c (x86_cmpxchg, x86_xadd): New.
(ix86_compare_emitted): New.
(ix86_expand_compare): Use ix86_compare_emitted if set.
(ix86_expand_setcc): Only emit REG_EQUAL if both ix86_compare_op0
and ix86_compare_op0 are set.
* config/i386/i386.h (x86_cmpxchg, x86_xadd): Declare.
(TARGET_CMPXCHG, TARGET_XADD): New.
(ix86_compare_emitted): Declare.
* config/i386/i386.md: Include sync.md
(UNSPECV_CMPXCHG_1, UNSPECV_CMPXCHG_2): New.
(UNSPECV_XCHG, UNSPECV_LOCK): New.
* config/i386/sync.md: New file.
From-SVN: r98155
Diffstat (limited to 'gcc/cfgexpand.c')
0 files changed, 0 insertions, 0 deletions