1 // Copyright 2013 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 !math_big_pure_go,ppc64 !math_big_pure_go,ppc64le 6 7 #include "textflag.h" 8 9 // This file provides fast assembly versions for the elementary 10 // arithmetic operations on vectors implemented in arith.go. 11 12 TEXT mulWW(SB),NOSPLIT,$0 13 BR mulWW_g(SB) 14 15 TEXT divWW(SB),NOSPLIT,$0 16 BR divWW_g(SB) 17 18 TEXT addVV(SB),NOSPLIT,$0 19 BR addVV_g(SB) 20 21 TEXT subVV(SB),NOSPLIT,$0 22 BR subVV_g(SB) 23 24 TEXT addVW(SB),NOSPLIT,$0 25 BR addVW_g(SB) 26 27 TEXT subVW(SB),NOSPLIT,$0 28 BR subVW_g(SB) 29 30 TEXT shlVU(SB),NOSPLIT,$0 31 BR shlVU_g(SB) 32 33 TEXT shrVU(SB),NOSPLIT,$0 34 BR shrVU_g(SB) 35 36 TEXT mulAddVWW(SB),NOSPLIT,$0 37 BR mulAddVWW_g(SB) 38 39 TEXT addMulVVW(SB),NOSPLIT,$0 40 BR addMulVVW_g(SB) 41 42 TEXT divWVW(SB),NOSPLIT,$0 43 BR divWVW_g(SB) 44 45 TEXT bitLen(SB),NOSPLIT,$0 46 BR bitLen_g(SB) 47