Someone had asked in class if ARM architecture had CMPXCHG. I see that ARM has LL/SC instructions.
Atleast until 2006, ARM and SPARC32 did not have CMPXCHG in implmented in hardware. I found a patch to implement CMPXCHG using LL/SC here.
Someone had asked in class if ARM architecture had CMPXCHG. I see that ARM has LL/SC instructions.
Atleast until 2006, ARM and SPARC32 did not have CMPXCHG in implmented in hardware. I found a patch to implement CMPXCHG using LL/SC here.