Home | History | Annotate | Download | only in dist
      1 // Copyright 2015 The Go Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style
      3 // license that can be found in the LICENSE file.
      4 
      5 // +build gccgo
      6 
      7 package main
      8 
      9 /*
     10 int supports_sse2() {
     11 #if defined(__i386__) || defined(__x86_64__)
     12 	return __builtin_cpu_supports("sse2");
     13 #else
     14 	return 0;
     15 #endif
     16 }
     17 */
     18 import "C"
     19 
     20 func cansse2() bool { return C.supports_sse2() != 0 }
     21 
     22 func useVFPv1() {}
     23 
     24 func useVFPv3() {}
     25 
     26 func useARMv6K() {}
     27