github.com/google/capslock@v0.2.3-0.20240517042941-dac19fc347c0/testpkgs/useasm/useasm.s (about)

     1  // Copyright 2023 Google LLC
     2  //
     3  // Use of this source code is governed by a BSD-style
     4  // license that can be found in the LICENSE file or at
     5  // https://developers.google.com/open-source/licenses/bsd
     6  
     7  #include "textflag.h"
     8  
     9  TEXT ·bar(SB),NOSPLIT,$0-16
    10  	MOVQ x+0(FP), AX
    11  	SHLQ $1, AX
    12  	MOVQ AX, ret+8(FP)
    13  	RET