On 07/14/13 21:43, David Holsgrove wrote:
Hi Michael,

On 21 March 2013 03:00, Richard Henderson <r...@redhat.com> wrote:
On 03/18/2013 05:48 AM, David Holsgrove wrote:
  * gcc/config/microblaze/sync.md: New file.
  * gcc/config/microblaze/microblaze.md: Add UNSPEC_SYNC_CAS,
    UNSPEC_SYNC_XCHG and include sync.md.
  * gcc/config/microblaze/microblaze.c: Add print_operand 'y'.
  * gcc/config/microblaze/constraints.md: Add memory_contraint
    'Q' which is a single register.

Do not add new __sync implementations.  Use the __atomic builtins.


r~

Please find attached reworked patch using __atomic builtin.

Changelog entry would be;

2013-07-15  David Holsgrove <david.holsgr...@xilinx.com>

  * gcc/config/microblaze/sync.md: New file.
  * gcc/config/microblaze/microblaze.md: Include sync.md
  * gcc/config/microblaze/microblaze.c: Add print_operand 'y'.
  * gcc/config/microblaze/constraints.md: Add memory_contraint
    'Q' which is a single register.

thanks,
David

Committed revision 201185.
ChangeLog corrected: revision 201200

--
Michael Eager    ea...@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077

Reply via email to