re PR go/78789 (Error: no such instruction: `aesenc %xmm0,%xmm2' when compiling libgo...
[gcc.git] / libgo / runtime / go-memmove.c
1 /* go-memmove.c -- move one memory buffer to another
2
3 Copyright 2016 The Go Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style
5 license that can be found in the LICENSE file. */
6
7 #include "runtime.h"
8
9 void move(void *, void *, uintptr)
10 __asm__ (GOSYM_PREFIX "runtime.memmove");
11
12 void
13 move (void *p1, void *p2, uintptr len)
14 {
15 __builtin_memmove (p1, p2, len);
16 }