[PATCH] Cleanup asm constraints in atomic operations

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Fri, 2 Sep 2005 15:32:53 -0400
alc_at_ brought to my attention a while back that while gcc allows one to use the 
'+' constraint modifier to collapse identical input and output operands that 
are in registers, it is only allowed for registers and not for memory 
operands.  The patch below removes uses of the '+' modifier in conjunction 
with memory operands in the atomic operations for alpha, amd64, i386, and 
powerpc.  Please test and let me know if there are any regressions.

-- 
John Baldwin <jhb_at_FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org
Received on Fri Sep 02 2005 - 17:32:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:42 UTC