OLD | NEW |
1 // Copyright 2009 The Go Authors. All rights reserved. | 1 // Copyright 2009 The Go Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style | 2 // Use of this source code is governed by a BSD-style |
3 // license that can be found in the LICENSE file. | 3 // license that can be found in the LICENSE file. |
4 | 4 |
5 // This file provides fast assembly versions for the elementary | 5 // This file provides fast assembly versions for the elementary |
6 // arithmetic operations on vectors implemented in arith.go. | 6 // arithmetic operations on vectors implemented in arith.go. |
7 | 7 |
8 // func mulWW(x, y Word) (z1, z0 Word) | 8 // func mulWW(x, y Word) (z1, z0 Word) |
9 TEXT ·mulWW(SB),7,$0 | 9 TEXT ·mulWW(SB),7,$0 |
10 MOVL x+0(FP), AX | 10 MOVL x+0(FP), AX |
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 | 256 |
257 L7: MOVL (SI)(BX*4), AX | 257 L7: MOVL (SI)(BX*4), AX |
258 DIVL CX | 258 DIVL CX |
259 MOVL AX, (DI)(BX*4) | 259 MOVL AX, (DI)(BX*4) |
260 | 260 |
261 E7: SUBL $1, BX // i-- | 261 E7: SUBL $1, BX // i-- |
262 JGE L7 // i >= 0 | 262 JGE L7 // i >= 0 |
263 | 263 |
264 MOVL DX, r+32(FP) | 264 MOVL DX, r+32(FP) |
265 RET | 265 RET |
OLD | NEW |