Skip to content

gcc/arc: Fix for 32-bit arc shift without barrel shifter #926

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: ci_enhancements
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions cmake/zephyr/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,7 @@ config PICOLIBC_DEFAULT
depends on "$(ZEPHYR_TOOLCHAIN_VARIANT)" = "zephyr"
help
Zephyr SDK >=0.17.1 always uses Picolibc

choice COMPILER_OPTIMIZATIONS
default SPEED_OPTIMIZATIONS if "$(ZEPHYR_TOOLCHAIN_VARIANT)" = "zephyr" && CPP_EXCEPTIONS
endchoice
1 change: 0 additions & 1 deletion configs/arc-zephyr-elf.config
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@ CT_ARCH_ARC=y
CT_TARGET_VENDOR="zephyr"
CT_TARGET_CFLAGS="-mno-sdata -mtp-regno=26 -ftls-model=local-exec"
CT_MULTILIB=y
CT_MULTILIB_SPACE=y
1 change: 0 additions & 1 deletion configs/arm-zephyr-eabi.config
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@ CT_ARCH_ARM_INTERWORKING=y
CT_TARGET_VENDOR="zephyr"
CT_TARGET_CFLAGS="-ftls-model=local-exec"
CT_MULTILIB=y
CT_MULTILIB_SPACE=y
CT_CC_GCC_MULTILIB_LIST="rmprofile"
CT_LIBC_NEWLIB_NANO_TARGET_CFLAGS="-mthumb-interwork"
3 changes: 1 addition & 2 deletions configs/common.config
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Common crosstool-ng configurations for all toolchain variants

CT_STRIP_TARGET_TOOLCHAIN_LIBRARIES=n

# Ncurses
CT_NCURSES_HOST_FALLBACKS="linux,xterm,xterm-color,xterm-256color,vt100,screen,screen-256color,tmux,tmux-256color"

Expand All @@ -21,6 +19,7 @@ CT_GCC_CUSTOM_LOCATION="${GITHUB_WORKSPACE}/gcc"
CT_CC_GCC_EXTRA_CONFIG_ARRAY="--with-gnu-ld --with-gnu-as --enable-initfini-array"
CT_CC_GCC_CORE_EXTRA_CONFIG_ARRAY="--with-gnu-ld --with-gnu-as --enable-initfini-array"
CT_CC_LANG_CXX=y
CT_MULTILIB_SPACE=y

# Picolibc
CT_LIBC_PICOLIBC=y
Expand Down
2 changes: 1 addition & 1 deletion gcc