Text file src/cmd/internal/obj/arm64/asm_arm64_test.s

     1  // Copyright 2021 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  #include "textflag.h"
     6  
     7  // testvmovq() (r1, r2 uint64)
     8  TEXT ·testvmovq(SB), NOSPLIT, $0-16
     9  	VMOVQ   $0x7040201008040201, $0x3040201008040201, V1
    10  	VMOV    V1.D[0], R0
    11  	VMOV    V1.D[1], R1
    12  	MOVD    R0, r1+0(FP)
    13  	MOVD    R1, r2+8(FP)
    14  	RET
    15  

View as plain text