Skip to content

Commit

Permalink
build/vfp: add some optimisation flags
Browse files Browse the repository at this point in the history
  • Loading branch information
pershoot committed Aug 16, 2012
1 parent 4b759e6 commit 7242d7d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -350,8 +350,8 @@ CHECKFLAGS := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ \
CFLAGS_MODULE =
AFLAGS_MODULE =
LDFLAGS_MODULE =
CFLAGS_KERNEL =
AFLAGS_KERNEL =
CFLAGS_KERNEL = -mtune=cortex-a9 -ftree-vectorize -ffast-math -fsingle-precision-constant
AFLAGS_KERNEL = -mtune=cortex-a9 -ftree-vectorize -ffast-math -fsingle-precision-constant
CFLAGS_GCOV = -fprofile-arcs -ftest-coverage


Expand Down
2 changes: 1 addition & 1 deletion arch/arm/vfp/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# ccflags-y := -DDEBUG
# asflags-y := -DDEBUG

KBUILD_AFLAGS :=$(KBUILD_AFLAGS:-msoft-float=-Wa,-mfpu=softvfp+vfp)
KBUILD_AFLAGS :=$(KBUILD_AFLAGS:-msoft-float=-Wa,-mfpu=vfpv3-d16)
LDFLAGS +=--no-warn-mismatch

obj-y += vfp.o
Expand Down

0 comments on commit 7242d7d

Please sign in to comment.