+++ /sys/src/ape/lib/ap/amd64/atom.s
@@ -0,0 +1,75 @@
+TEXT ainc(SB), $0      /* long ainc(long *); */
+       MOVL    addr+0(FP), BX

the comment is wrong.  it's "int ainc(int*)"
further down the definition of casp, cas64 is really wrong.
(it only considers the low 32-bits)

also why have atom.s in ape?

- erik

Reply via email to