aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/internal/obj/arm64/asm_arm64_test.s
blob: 9d337a4fd1a86862400bc811271425b29967a096 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2021 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.

#include "textflag.h"

// testvmovq() (r1, r2 uint64)
TEXT ·testvmovq(SB), NOSPLIT, $0-16
	VMOVQ   $0x7040201008040201, $0x3040201008040201, V1
	VMOV    V1.D[0], R0
	VMOV    V1.D[1], R1
	MOVD    R0, r1+0(FP)
	MOVD    R1, r2+8(FP)
	RET