diff options
| author | Mateusz Guzik <mjg@FreeBSD.org> | 2018-10-22 06:44:20 +0000 |
|---|---|---|
| committer | Mateusz Guzik <mjg@FreeBSD.org> | 2018-10-22 06:44:20 +0000 |
| commit | 099c6f6d45c0b4cd50d768428d6c1cf0ca93c624 (patch) | |
| tree | 4cf091d18f3b5aea29ad108ae63b8e0eb9abcc44 | |
| parent | 4a8e4793ed8d066f94da92a9161dc7f2326682c5 (diff) | |
Notes
| -rw-r--r-- | sys/amd64/amd64/support.S | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/amd64/amd64/support.S b/sys/amd64/amd64/support.S index d3e5a829b67d..bbcbd54937f9 100644 --- a/sys/amd64/amd64/support.S +++ b/sys/amd64/amd64/support.S @@ -524,9 +524,12 @@ END(memcpy_erms) rep stosq movq %r9,%rax - movq %rdx,%rcx - andb $7,%cl - jne 1004b + andl $7,%edx + jnz 1f + POP_FRAME_POINTER + ret +1: + movq %r10,-8(%rdi,%rdx) .endif POP_FRAME_POINTER ret |
