From 069a39f0e693fd874a7571be600490b4c39fdb20 Mon Sep 17 00:00:00 2001 From: profi200 Date: Wed, 31 Jan 2018 02:19:56 +0100 Subject: [PATCH] Optimize for Cortex-A57. --- graphics/printing/hello-world/Makefile | 2 +- graphics/simplegfx/Makefile | 2 +- templates/simple/Makefile | 2 +- usb/usbds/Makefile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/graphics/printing/hello-world/Makefile b/graphics/printing/hello-world/Makefile index 76315fc..e4beac7 100644 --- a/graphics/printing/hello-world/Makefile +++ b/graphics/printing/hello-world/Makefile @@ -39,7 +39,7 @@ EXEFS_SRC := exefs_src #--------------------------------------------------------------------------------- # options for code generation #--------------------------------------------------------------------------------- -ARCH := -march=armv8-a -mtp=soft -fPIE +ARCH := -march=armv8-a -mtune=cortex-a57 -mtp=soft -fPIE CFLAGS := -g -Wall -O2 \ -ffast-math \ diff --git a/graphics/simplegfx/Makefile b/graphics/simplegfx/Makefile index 76315fc..e4beac7 100644 --- a/graphics/simplegfx/Makefile +++ b/graphics/simplegfx/Makefile @@ -39,7 +39,7 @@ EXEFS_SRC := exefs_src #--------------------------------------------------------------------------------- # options for code generation #--------------------------------------------------------------------------------- -ARCH := -march=armv8-a -mtp=soft -fPIE +ARCH := -march=armv8-a -mtune=cortex-a57 -mtp=soft -fPIE CFLAGS := -g -Wall -O2 \ -ffast-math \ diff --git a/templates/simple/Makefile b/templates/simple/Makefile index 5ab3ea9..2108a28 100644 --- a/templates/simple/Makefile +++ b/templates/simple/Makefile @@ -39,7 +39,7 @@ EXEFS_SRC := exefs_src #--------------------------------------------------------------------------------- # options for code generation #--------------------------------------------------------------------------------- -ARCH := -march=armv8-a -mtp=soft -fPIE +ARCH := -march=armv8-a -mtune=cortex-a57 -mtp=soft -fPIE CFLAGS := -g -Wall -O2 \ -ffast-math \ diff --git a/usb/usbds/Makefile b/usb/usbds/Makefile index 76315fc..e4beac7 100644 --- a/usb/usbds/Makefile +++ b/usb/usbds/Makefile @@ -39,7 +39,7 @@ EXEFS_SRC := exefs_src #--------------------------------------------------------------------------------- # options for code generation #--------------------------------------------------------------------------------- -ARCH := -march=armv8-a -mtp=soft -fPIE +ARCH := -march=armv8-a -mtune=cortex-a57 -mtp=soft -fPIE CFLAGS := -g -Wall -O2 \ -ffast-math \