diff options
author | Jeevitha <jeevitha@linux.ibm.com> | 2024-10-10 14:42:45 -0500 |
---|---|---|
committer | Jeevitha <jeevitha@linux.ibm.com> | 2024-10-21 03:44:04 -0500 |
commit | 1a4c5643a5911d130dfab9a064222baeeb7f9be7 (patch) | |
tree | 7498f9b3bfbf565d4e6ab76ff42daefa5715c07c /gcc | |
parent | f132c006d78a4e504626c0b23b69655ffeb5f5e7 (diff) | |
download | gcc-1a4c5643a5911d130dfab9a064222baeeb7f9be7.zip gcc-1a4c5643a5911d130dfab9a064222baeeb7f9be7.tar.gz gcc-1a4c5643a5911d130dfab9a064222baeeb7f9be7.tar.bz2 |
rs6000: Correct the function code for _AMO_LD_DEC_BOUNDED
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.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/rs6000/amo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/rs6000/amo.h b/gcc/config/rs6000/amo.h index 6b9e4e0..1303c9d 100644 --- a/gcc/config/rs6000/amo.h +++ b/gcc/config/rs6000/amo.h @@ -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 |