mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-02-20 16:08:55 +07:00
ARC: Assume multiplier is always present
It is unlikely that designs running Linux will not have multiplier. Further the current support is not complete as tool don't generate a multilib w/o multiplier. Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
This commit is contained in:
parent
18558cae02
commit
0eca6fdb31
@ -275,14 +275,6 @@ config ARC_DCCM_BASE
|
|||||||
default "0xA0000000"
|
default "0xA0000000"
|
||||||
depends on ARC_HAS_DCCM
|
depends on ARC_HAS_DCCM
|
||||||
|
|
||||||
config ARC_HAS_HW_MPY
|
|
||||||
bool "Use Hardware Multiplier (Normal or Faster XMAC)"
|
|
||||||
default y
|
|
||||||
help
|
|
||||||
Influences how gcc generates code for MPY operations.
|
|
||||||
If enabled, MPYxx insns are generated, provided by Standard/XMAC
|
|
||||||
Multipler. Otherwise software multipy lib is used
|
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "MMU Version"
|
prompt "MMU Version"
|
||||||
default ARC_MMU_V3 if ARC_CPU_770
|
default ARC_MMU_V3 if ARC_CPU_770
|
||||||
|
@ -74,10 +74,6 @@ ldflags-$(CONFIG_CPU_BIG_ENDIAN) += -EB
|
|||||||
# --build-id w/o "-marclinux". Default arc-elf32-ld is OK
|
# --build-id w/o "-marclinux". Default arc-elf32-ld is OK
|
||||||
ldflags-$(upto_gcc44) += -marclinux
|
ldflags-$(upto_gcc44) += -marclinux
|
||||||
|
|
||||||
ifndef CONFIG_ARC_HAS_HW_MPY
|
|
||||||
cflags-y += -mno-mpy
|
|
||||||
endif
|
|
||||||
|
|
||||||
LIBGCC := $(shell $(CC) $(cflags-y) --print-libgcc-file-name)
|
LIBGCC := $(shell $(CC) $(cflags-y) --print-libgcc-file-name)
|
||||||
|
|
||||||
# Modules with short calls might break for calls into builtin-kernel
|
# Modules with short calls might break for calls into builtin-kernel
|
||||||
|
@ -237,8 +237,6 @@ static char *arc_cpu_mumbojumbo(int cpu_id, char *buf, int len)
|
|||||||
|
|
||||||
n += scnprintf(buf + n, len - n, "mpy[opt %d] ", opt);
|
n += scnprintf(buf + n, len - n, "mpy[opt %d] ", opt);
|
||||||
}
|
}
|
||||||
n += scnprintf(buf + n, len - n, "%s",
|
|
||||||
IS_USED_CFG(CONFIG_ARC_HAS_HW_MPY));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
n += scnprintf(buf + n, len - n, "%s%s%s%s%s%s%s%s\n",
|
n += scnprintf(buf + n, len - n, "%s%s%s%s%s%s%s%s\n",
|
||||||
|
Loading…
Reference in New Issue
Block a user