This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: atomic ops for powerpc
- From: Richard Henderson <rth at redhat dot com>
- To: Geoffrey Keating <gkeating at apple dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 21 Apr 2005 14:33:35 -0700
- Subject: Re: atomic ops for powerpc
- References: <20050421211123.0F33C7353C6@geoffk5.apple.com>
On Thu, Apr 21, 2005 at 02:11:23PM -0700, Geoffrey Keating wrote:
> +(define_expand "sync_lock_release<mode>"
> + [(use (match_operand:INT 0 "memory_operand"))]
> + ""
> + "
> +{
> + emit_insn (gen_lwsync ());
> + emit_move_insn (operands[0], CONST0_RTX (<MODE>mode));
> + DONE;
> +}")
This is a two-operand pattern.
r~