diff options
author | Vineet Gupta <vgupta@synopsys.com> | 2013-05-13 09:00:41 -0400 |
---|---|---|
committer | Vineet Gupta <vgupta@synopsys.com> | 2015-06-22 04:36:55 -0400 |
commit | 1f6ccfff6314672743ad7252160654709e997a2a (patch) | |
tree | f2027c01b8d010b9d1aaa3685c7c4d0644271f53 /arch/arc/Makefile | |
parent | 820970a5aa3c98be26e1df64da4b93294d20d4e7 (diff) |
ARCv2: Support for ARCv2 ISA and HS38x cores
The notable features are:
- SMP configurations of upto 4 cores with coherency
- Optional L2 Cache and IO-Coherency
- Revised Interrupt Architecture (multiple priorites, reg banks,
auto stack switch, auto regfile save/restore)
- MMUv4 (PIPT dcache, Huge Pages)
- Instructions for
* 64bit load/store: LDD, STD
* Hardware assisted divide/remainder: DIV, REM
* Function prologue/epilogue: ENTER_S, LEAVE_S
* IRQ enable/disable: CLRI, SETI
* pop count: FFS, FLS
* SETcc, BMSKN, XBFU...
Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
Diffstat (limited to 'arch/arc/Makefile')
-rw-r--r-- | arch/arc/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/arch/arc/Makefile b/arch/arc/Makefile index 86c71b2089d2..bf68dc5a08be 100644 --- a/arch/arc/Makefile +++ b/arch/arc/Makefile | |||
@@ -14,7 +14,9 @@ endif | |||
14 | 14 | ||
15 | KBUILD_DEFCONFIG := nsim_700_defconfig | 15 | KBUILD_DEFCONFIG := nsim_700_defconfig |
16 | 16 | ||
17 | cflags-y += -mA7 -fno-common -pipe -fno-builtin -D__linux__ | 17 | cflags-y += -fno-common -pipe -fno-builtin -D__linux__ |
18 | cflags-${CONFIG_ISA_ARCOMPACT} += -mA7 | ||
19 | cflags-${CONFIG_ISA_ARCV2} += -mcpu=archs | ||
18 | 20 | ||
19 | ifdef CONFIG_ARC_CURR_IN_REG | 21 | ifdef CONFIG_ARC_CURR_IN_REG |
20 | # For a global register defintion, make sure it gets passed to every file | 22 | # For a global register defintion, make sure it gets passed to every file |
@@ -34,6 +36,10 @@ cflags-$(atleast_gcc44) += -fsection-anchors | |||
34 | cflags-$(CONFIG_ARC_HAS_LLSC) += -mlock | 36 | cflags-$(CONFIG_ARC_HAS_LLSC) += -mlock |
35 | cflags-$(CONFIG_ARC_HAS_SWAPE) += -mswape | 37 | cflags-$(CONFIG_ARC_HAS_SWAPE) += -mswape |
36 | 38 | ||
39 | ifndef CONFIG_ARC_HAS_LL64 | ||
40 | cflags-y += -mno-ll64 | ||
41 | endif | ||
42 | |||
37 | cflags-$(CONFIG_ARC_DW2_UNWIND) += -fasynchronous-unwind-tables | 43 | cflags-$(CONFIG_ARC_DW2_UNWIND) += -fasynchronous-unwind-tables |
38 | 44 | ||
39 | # By default gcc 4.8 generates dwarf4 which kernel unwinder can't grok | 45 | # By default gcc 4.8 generates dwarf4 which kernel unwinder can't grok |