diff options
author | andrew <andrew@FreeBSD.org> | 2014-12-05 19:08:36 +0000 |
---|---|---|
committer | andrew <andrew@FreeBSD.org> | 2014-12-05 19:08:36 +0000 |
commit | a0c22b9f104f679f4003f316a46e04e41df76bec (patch) | |
tree | f63e10f4e93c5aa5fc7052a88436ece8efaa3cba /sys/libkern/arm/ffs.S | |
parent | c8144eca01e9c5ac3f7cc850442bb226a80c669c (diff) | |
download | FreeBSD-src-a0c22b9f104f679f4003f316a46e04e41df76bec.zip FreeBSD-src-a0c22b9f104f679f4003f316a46e04e41df76bec.tar.gz |
Use the unified syntax in a few more assembly files
MFC after: 1 week
Sponsored by: ABT Systems Ltd
Diffstat (limited to 'sys/libkern/arm/ffs.S')
-rw-r--r-- | sys/libkern/arm/ffs.S | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/libkern/arm/ffs.S b/sys/libkern/arm/ffs.S index a43f2b6..1ddec95 100644 --- a/sys/libkern/arm/ffs.S +++ b/sys/libkern/arm/ffs.S @@ -31,6 +31,7 @@ #include <machine/asm.h> __FBSDID("$FreeBSD$"); + .syntax unified /* * ffs - find first set bit, this algorithm isolates the first set @@ -62,7 +63,7 @@ ENTRY(ffs) rsbne r0, r0, r0, lsl #16 /* r0 = X * 0x0450fbaf */ /* now lookup in table indexed on top 6 bits of r0 */ - ldrneb r0, [ r2, r0, lsr #26 ] + ldrbne r0, [ r2, r0, lsr #26 ] RET .text; |