Importing Upstream version 4.8.2
[platform/upstream/gcc48.git] / libgo / runtime / go-memcmp.c
1 /* go-memcmp.c -- the go memory comparison function.
2
3    Copyright 2012 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 intgo
10 __go_memcmp (const void *p1, const void *p2, uintptr len)
11 {
12   return __builtin_memcmp (p1, p2, len);
13 }