[Openmcl-cvs-notifications] r14782 - /trunk/source/lisp-kernel/linuxarm/Makefile

rme at clozure.com rme at clozure.com
Tue May 3 15:08:26 CDT 2011


Author: rme
Date: Tue May  3 15:08:26 2011
New Revision: 14782

Log:
Pass -march=3Darm7-a and -mno-warn-deprecated to the assembler.

Without -march=3Darmv7-a, the assembler warns about certain operand
restrictions with the mul and mla instructions.  These restrictions
were lifted as of armv6.  (Rd and Rn are supposed to be distinct
on earlier architecture versions.)

Unfortunately, with -march=3Darmv7-a, the assembler gets all shirty
if you use the swp instruction, and warns.  We never use swp for
synchronization, and are not interested in this warning, so just
turn deprecation warnings off.


Modified:
    trunk/source/lisp-kernel/linuxarm/Makefile

Modified: trunk/source/lisp-kernel/linuxarm/Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- trunk/source/lisp-kernel/linuxarm/Makefile (original)
+++ trunk/source/lisp-kernel/linuxarm/Makefile Tue May  3 15:08:26 2011
@@ -21,7 +21,9 @@
 # AS =3D gas-2.9.1
 AS =3D as
 M4 =3D m4
-ASFLAGS =3D -mfpu=3Dvfp
+# we use the swp instruction in a couple of places;  tell the assembler
+# to remain caim.
+ASFLAGS =3D -mfpu=3Dvfp -march=3Darmv7-a -mno-warn-deprecated
 M4FLAGS =3D -DLINUX -DARM
 CDEFINES =3D -DLINUX -DARM -D_REENTRANT -D_GNU_SOURCE -DUSE_FUTEX -DSVN_RE=
VISION=3D$(SVN_REVISION)
 CDEBUG =3D -g



More information about the Openmcl-cvs-notifications mailing list