You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
arcv: Make -mtune=arc-v-rmx-100-series a default for ARC-V
We have 4 -mtune values for ARC-V targets:
1. arc-v-rmx-100-series
2. arc-v-rmx-500-series
3. arc-v-rhx-100-series
4. arc-v-rpx-100-series
When all of them are mentioned in a multilib configuration file
(t-arcv for ARC-V) and arc-v-rmx-100-series is a default -mtune
value (-with-tune= configuration option for GCC), then GCC cannot
build with default target options (like gcc app.c -o app).
To fix this we had to use -with-tune=rocket. However, with such
approach we have to pass -mtune for a particular ARC-V
target manually and not rely on RMX-100 as a default target.
This patch removes -mtune from t-arcv for all RMX-100 targets
and sets -with-tune=arc-v-rmx-100-series if it's not set
explicitly (it corresponds to -with-tune=default). This allows
using -mtune=arc-v-rmx-100-series as default without passing
extra configuration options to GCC build scripts and fixes that
bug with default target options.
Signed-off-by: Yuriy Kolerov <[email protected]>
0 commit comments