| 1 |
// Copyright 2017 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 |
TEXT ·f(SB),0,$0-8 |
| 6 |
MOVW x+0(FP), R1 |
| 7 |
MOVW x+4(FP), R2 |
| 8 |
DIVU R1, R2 |
| 9 |
DIV R1, R2 |
| 10 |
MODU R1, R2 |
| 11 |
MOD R1, R2 |
| 12 |
RET |