summaryrefslogtreecommitdiffstats
path: root/sys/libkern
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2014-12-05 19:08:36 +0000
committerandrew <andrew@FreeBSD.org>2014-12-05 19:08:36 +0000
commita0c22b9f104f679f4003f316a46e04e41df76bec (patch)
treef63e10f4e93c5aa5fc7052a88436ece8efaa3cba /sys/libkern
parentc8144eca01e9c5ac3f7cc850442bb226a80c669c (diff)
downloadFreeBSD-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')
-rw-r--r--sys/libkern/arm/ffs.S3
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;
OpenPOWER on IntegriCloud