| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * linux/arch/arm/lib/div64.S |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 6 | 7 | * Author: Nicolas Pitre |
|---|
| 7 | 8 | * Created: Oct 5, 2003 |
|---|
| 8 | 9 | * Copyright: Monta Vista Software, Inc. |
|---|
| 9 | | - * |
|---|
| 10 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 11 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 12 | | - * published by the Free Software Foundation. |
|---|
| 13 | 10 | */ |
|---|
| 14 | 11 | |
|---|
| 15 | 12 | #include <linux/linkage.h> |
|---|
| .. | .. |
|---|
| 88 | 85 | @ Break out early if dividend reaches 0. |
|---|
| 89 | 86 | 2: cmp xh, yl |
|---|
| 90 | 87 | orrcs yh, yh, ip |
|---|
| 91 | | - subcss xh, xh, yl |
|---|
| 92 | | - movnes ip, ip, lsr #1 |
|---|
| 88 | + subscs xh, xh, yl |
|---|
| 89 | + movsne ip, ip, lsr #1 |
|---|
| 93 | 90 | mov yl, yl, lsr #1 |
|---|
| 94 | 91 | bne 2b |
|---|
| 95 | 92 | |
|---|