From 2cea5e8c5037d957480e94092918b6baaa493e92 Mon Sep 17 00:00:00 2001 From: Bernd Schmidt Date: Mon, 6 Feb 2006 14:27:21 +0000 Subject: sync.md (sync_add, [...]): Operand 0 is in-out. * config/i386/sync.md (sync_add, sync_sub, sync_ior, sync_and, sync_xor): Operand 0 is in-out. From-SVN: r110645 --- gcc/config/i386/sync.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'gcc/config/i386') diff --git a/gcc/config/i386/sync.md b/gcc/config/i386/sync.md index fb3976c..19a61c8 100644 --- a/gcc/config/i386/sync.md +++ b/gcc/config/i386/sync.md @@ -1,5 +1,5 @@ ;; GCC machine description for i386 synchronization instructions. -;; Copyright (C) 2005 +;; Copyright (C) 2005, 2006 ;; Free Software Foundation, Inc. ;; ;; This file is part of GCC. @@ -230,7 +230,7 @@ "xchg{}\t{%1, %0|%0, %1}") (define_insn "sync_add" - [(set (match_operand:IMODE 0 "memory_operand" "=m") + [(set (match_operand:IMODE 0 "memory_operand" "+m") (unspec_volatile:IMODE [(plus:IMODE (match_dup 0) (match_operand:IMODE 1 "nonmemory_operand" "r"))] @@ -240,7 +240,7 @@ "lock\;add{}\t{%1, %0|%0, %1}") (define_insn "sync_sub" - [(set (match_operand:IMODE 0 "memory_operand" "=m") + [(set (match_operand:IMODE 0 "memory_operand" "+m") (unspec_volatile:IMODE [(minus:IMODE (match_dup 0) (match_operand:IMODE 1 "nonmemory_operand" "r"))] @@ -250,7 +250,7 @@ "lock\;sub{}\t{%1, %0|%0, %1}") (define_insn "sync_ior" - [(set (match_operand:IMODE 0 "memory_operand" "=m") + [(set (match_operand:IMODE 0 "memory_operand" "+m") (unspec_volatile:IMODE [(ior:IMODE (match_dup 0) (match_operand:IMODE 1 "nonmemory_operand" "r"))] @@ -260,7 +260,7 @@ "lock\;or{}\t{%1, %0|%0, %1}") (define_insn "sync_and" - [(set (match_operand:IMODE 0 "memory_operand" "=m") + [(set (match_operand:IMODE 0 "memory_operand" "+m") (unspec_volatile:IMODE [(and:IMODE (match_dup 0) (match_operand:IMODE 1 "nonmemory_operand" "r"))] @@ -270,7 +270,7 @@ "lock\;and{}\t{%1, %0|%0, %1}") (define_insn "sync_xor" - [(set (match_operand:IMODE 0 "memory_operand" "=m") + [(set (match_operand:IMODE 0 "memory_operand" "+m") (unspec_volatile:IMODE [(xor:IMODE (match_dup 0) (match_operand:IMODE 1 "nonmemory_operand" "r"))] -- cgit v1.1