summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pkg/runtime/memclr_386.s1
-rw-r--r--src/pkg/runtime/memclr_amd64.s1
-rw-r--r--src/pkg/runtime/memclr_plan9_386.s1
-rw-r--r--src/pkg/runtime/memmove_386.s1
-rw-r--r--src/pkg/runtime/memmove_amd64.s1
-rw-r--r--src/pkg/runtime/memmove_plan9_386.s1
-rw-r--r--src/pkg/runtime/memmove_plan9_amd64.s1
7 files changed, 7 insertions, 0 deletions
diff --git a/src/pkg/runtime/memclr_386.s b/src/pkg/runtime/memclr_386.s
index 4b7580cb4..aeabad413 100644
--- a/src/pkg/runtime/memclr_386.s
+++ b/src/pkg/runtime/memclr_386.s
@@ -63,6 +63,7 @@ clr_loop:
clr_1or2:
MOVB AX, (DI)
MOVB AX, -1(DI)(BX*1)
+ RET
clr_0:
RET
clr_3or4:
diff --git a/src/pkg/runtime/memclr_amd64.s b/src/pkg/runtime/memclr_amd64.s
index 6b79363b2..01c6a415c 100644
--- a/src/pkg/runtime/memclr_amd64.s
+++ b/src/pkg/runtime/memclr_amd64.s
@@ -62,6 +62,7 @@ clr_loop:
clr_1or2:
MOVB AX, (DI)
MOVB AX, -1(DI)(BX*1)
+ RET
clr_0:
RET
clr_3or4:
diff --git a/src/pkg/runtime/memclr_plan9_386.s b/src/pkg/runtime/memclr_plan9_386.s
index 9b496785a..ed5dbbd3c 100644
--- a/src/pkg/runtime/memclr_plan9_386.s
+++ b/src/pkg/runtime/memclr_plan9_386.s
@@ -32,6 +32,7 @@ clr_tail:
clr_1or2:
MOVB AX, (DI)
MOVB AX, -1(DI)(BX*1)
+ RET
clr_0:
RET
clr_3or4:
diff --git a/src/pkg/runtime/memmove_386.s b/src/pkg/runtime/memmove_386.s
index 1fd9ba2bc..51b08d56d 100644
--- a/src/pkg/runtime/memmove_386.s
+++ b/src/pkg/runtime/memmove_386.s
@@ -115,6 +115,7 @@ move_1or2:
MOVB -1(SI)(BX*1), CX
MOVB AX, (DI)
MOVB CX, -1(DI)(BX*1)
+ RET
move_0:
RET
move_3or4:
diff --git a/src/pkg/runtime/memmove_amd64.s b/src/pkg/runtime/memmove_amd64.s
index 672fce90b..339c5dd41 100644
--- a/src/pkg/runtime/memmove_amd64.s
+++ b/src/pkg/runtime/memmove_amd64.s
@@ -122,6 +122,7 @@ move_1or2:
MOVB -1(SI)(BX*1), CX
MOVB AX, (DI)
MOVB CX, -1(DI)(BX*1)
+ RET
move_0:
RET
move_3or4:
diff --git a/src/pkg/runtime/memmove_plan9_386.s b/src/pkg/runtime/memmove_plan9_386.s
index 187616cd0..5ac5c27d4 100644
--- a/src/pkg/runtime/memmove_plan9_386.s
+++ b/src/pkg/runtime/memmove_plan9_386.s
@@ -101,6 +101,7 @@ move_1or2:
MOVB -1(SI)(BX*1), CX
MOVB AX, (DI)
MOVB CX, -1(DI)(BX*1)
+ RET
move_0:
RET
move_3or4:
diff --git a/src/pkg/runtime/memmove_plan9_amd64.s b/src/pkg/runtime/memmove_plan9_amd64.s
index 60108273c..3664e45ae 100644
--- a/src/pkg/runtime/memmove_plan9_amd64.s
+++ b/src/pkg/runtime/memmove_plan9_amd64.s
@@ -104,6 +104,7 @@ move_1or2:
MOVB -1(SI)(BX*1), CX
MOVB AX, (DI)
MOVB CX, -1(DI)(BX*1)
+ RET
move_0:
RET
move_3or4: