Use the unified syntax in a few more assembly files

MFC after:	1 week
Sponsored by:	ABT Systems Ltd
This commit is contained in:
andrew 2014-12-05 19:08:36 +00:00
parent c8144eca01
commit a0c22b9f10
2 changed files with 5 additions and 2 deletions

View File

@ -38,6 +38,8 @@
#include "assym.s"
__FBSDID("$FreeBSD$");
.syntax unified
#ifdef _ARM_ARCH_6
#define GET_PCB(tmp) \
mrc p15, 0, tmp, c13, c0, 4; \
@ -83,7 +85,7 @@ EENTRY_NP(casuword32)
ldrt r5, [r0]
cmp r5, r1
movne r0, r5
streqt r2, [r0]
strteq r2, [r0]
#endif
moveq r0, r1
2:

View File

@ -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;