@@ -796,30 +796,30 @@
ldo 1(%r0),%r28
/* 8bit CAS */
-13: ldb,ma 0(%r26), %r29
- sub,= %r29, %r25, %r0
+13: ldb 0(%r26), %r29
+ sub,<> %r29, %r25, %r0
b,n cas2_end
-14: stb,ma %r24, 0(%r26)
+14: stb %r24, 0(%r26)
b cas2_end
copy %r0, %r28
nop
nop
/* 16bit CAS */
-15: ldh,ma 0(%r26), %r29
- sub,= %r29, %r25, %r0
+15: ldh 0(%r26), %r29
+ sub,<> %r29, %r25, %r0
b,n cas2_end
-16: sth,ma %r24, 0(%r26)
+16: sth %r24, 0(%r26)
b cas2_end
copy %r0, %r28
nop
nop
/* 32bit CAS */
-17: ldw,ma 0(%r26), %r29
- sub,= %r29, %r25, %r0
+17: ldw 0(%r26), %r29
+ sub,<> %r29, %r25, %r0
b,n cas2_end
-18: stw,ma %r24, 0(%r26)
+18: stw %r24, 0(%r26)
b cas2_end
copy %r0, %r28
nop
@@ -827,21 +827,22 @@
/* 64bit CAS */
#ifdef CONFIG_64BIT
-19: ldd,ma 0(%r26), %r29
- sub,*= %r29, %r25, %r0
+19: ldd 0(%r26), %r29
+ sub,<> %r29, %r25, %r0
b,n cas2_end
-20: std,ma %r24, 0(%r26)
+20: std %r24, 0(%r26)
copy %r0, %r28
#else
/* Compare first word */
19: ldw 0(%r26), %r29
sub,= %r29, %r22, %r0
- b,n cas2_end
+ b,n cas2_64set
/* Compare second word */
20: ldw 4(%r26), %r29
- sub,= %r29, %r23, %r0
+ sub,<> %r29, %r23, %r0
b,n cas2_end
/* Perform the store */
+cas2_64set:
21: fstdx %fr4, 0(%r26)
copy %r0, %r28
#endif