mirror of
https://github.com/golang/go
synced 2024-11-08 07:56:16 -07:00
18 lines
452 B
ArmAsm
18 lines
452 B
ArmAsm
|
// Copyright 2015 The Go Authors. All rights reserved.
|
||
|
// Use of this source code is governed by a BSD-style
|
||
|
// license that can be found in the LICENSE file.
|
||
|
|
||
|
// +build gc,arm
|
||
|
|
||
|
#include "textflag.h"
|
||
|
|
||
|
// try to run "vmov.f64 d0, d0" instruction
|
||
|
TEXT ·useVFPv1(SB),NOSPLIT,$0
|
||
|
WORD $0xeeb00b40 // vmov.f64 d0, d0
|
||
|
RET
|
||
|
|
||
|
// try to run VFPv3-only "vmov.f64 d0, #112" instruction
|
||
|
TEXT ·useVFPv3(SB),NOSPLIT,$0
|
||
|
WORD $0xeeb70b00 // vmov.f64 d0, #112
|
||
|
RET
|