summaryrefslogtreecommitdiff
path: root/libc/string/kvx/memcpy.S
diff options
context:
space:
mode:
authorPaul Iannetta <piannetta@kalray.eu>2023-09-14 17:22:18 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2023-09-14 17:25:03 +0200
commitcf0e633c84ce83a5aaf39529b1c7595a0c46170b (patch)
treea6604562160ebad7df7b2256ef4675c9ec135f2c /libc/string/kvx/memcpy.S
parent94f7ab51dc5ca0df1746a599ff561a365dad0d7d (diff)
kvx: fix asm syntax
Previously kvx assembler considered all separators (",", "?", "=", "[]") to be the same, this is not the case anymore hence we need to fix all the misformed assembly. Signed-off-by: Paul Iannetta <piannetta@kalray.eu> Acked-by: Yann Sionneau <ysionneau@kalray.eu> Tested-by: Yann Sionneau <ysionneau@kalray.eu> Signed-off-by: Yann Sionneau <ysionneau@kalray.eu>
Diffstat (limited to 'libc/string/kvx/memcpy.S')
-rw-r--r--libc/string/kvx/memcpy.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/string/kvx/memcpy.S b/libc/string/kvx/memcpy.S
index 290e705b4..70e8db910 100644
--- a/libc/string/kvx/memcpy.S
+++ b/libc/string/kvx/memcpy.S
@@ -53,7 +53,7 @@ ENTRY(memcpy)
;;
cb.deqz $r7? .Lstreaming_loop_end
;;
- loopdo $r7? .Lstreaming_loop_end
+ loopdo $r7, .Lstreaming_loop_end
;;
sq 0[$r0] = $r32r33
addd $r2 = $r2, -256
@@ -162,7 +162,7 @@ ENTRY(memcpy)
;;
cb.deqz $r7? .Lloop_32_end
;;
- loopdo $r7? .Lloop_32_end
+ loopdo $r7, .Lloop_32_end
;;
lo $r32r33r34r35 = 0[$r1]
addd $r1 = $r1, 32