]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
rs6000: Correct the function code for _AMO_LD_DEC_BOUNDED
authorJeevitha <jeevitha@linux.ibm.com>
Thu, 10 Oct 2024 19:42:45 +0000 (14:42 -0500)
committerJeevitha <jeevitha@linux.ibm.com>
Mon, 21 Oct 2024 08:44:04 +0000 (03:44 -0500)
Corrected the function code for the Atomic Memory Operation "Fetch and Decrement
Bounded", changing it from 0x1A to 0x1C.

2024-10-11 Jeevitha Palanisamy <jeevitha@linux.ibm.com>

gcc/

* config/rs6000/amo.h (enum _AMO_LD): Correct the function code for
_AMO_LD_DEC_BOUNDED.

gcc/config/rs6000/amo.h

index 6b9e4e088b970c616edc16a566098790131fc7ab..1303c9d9dab26d6fe47c288b740235c2e771de9d 100644 (file)
@@ -46,7 +46,7 @@ enum _AMO_LD {
   _AMO_LD_CS_NE                = 0x10,         /* Compare and Swap Not Equal.  */
   _AMO_LD_INC_BOUNDED  = 0x18,         /* Fetch and Increment Bounded.  */
   _AMO_LD_INC_EQUAL    = 0x19,         /* Fetch and Increment Equal.  */
-  _AMO_LD_DEC_BOUNDED  = 0x1A          /* Fetch and Decrement Bounded.  */
+  _AMO_LD_DEC_BOUNDED  = 0x1C          /* Fetch and Decrement Bounded.  */
 };
 
 /* Implementation of the simple LWAT/LDAT operations that take one register and