diff options
author | Claudiu Zissulescu <claziss@gmail.com> | 2022-07-18 15:07:00 +0300 |
---|---|---|
committer | Claudiu Zissulescu <claziss@gmail.com> | 2022-07-18 15:45:20 +0300 |
commit | 7501eec65c60701f72621d04eeb5342bad2fe4fb (patch) | |
tree | e8c98397915d2217a334ad84a1479c9670013376 /config | |
parent | 87f46a16ec05beb51439f55a4d3c36d64b95b00f (diff) | |
download | gcc-7501eec65c60701f72621d04eeb5342bad2fe4fb.zip gcc-7501eec65c60701f72621d04eeb5342bad2fe4fb.tar.gz gcc-7501eec65c60701f72621d04eeb5342bad2fe4fb.tar.bz2 |
arc: Add ARCHS release 310a tune variant.
Add mtune and mcpu options for ARCHS release 310a type CPU. The
mtune=release31a is designed to be used as an alternative to the
mcpu=hs4x_rel31 option.
ARCHS4x release 31a uses DSP instructions which are implemented a bit
different than mpy9. Hence, use safer mpy2 option.
gcc/
* config/arc/arc-arch.h (arc_tune_attr): Add
ARC_TUNE_ARCHS4X_REL31A variant.
* config/arc/arc.cc (arc_override_options): Tune options for
release 310a.
(arc_sched_issue_rate): Use correct enum.
(arc600_corereg_hazard): Textual change.
(arc_hazard): Add release 310a tunning.
* config/arc/arc.md (tune): Update and take into consideration new
tune option.
(tune_dspmpy): Likewise.
(tune_store): New attribute.
* config/arc/arc.opt (mtune): New tune option.
* config/arc/arcHS4x.md (hs4x_brcc0, hs4x_brcc1): New cpu units.
(hs4x_brcc_op): New instruction rezervation.
(hs4x_data_store_1_op): Likewise.
* config/arc/arc-cpus.def (hs4x_rel31): New cpu variant.
* config/arc/arc-tables.opt: Regenerate.
* config/arc/t-multilib: Likewise.
* doc/invoke.texi (ARC): Update mcpu and tune sections.
Signed-off-by: Claudiu Zissulescu <claziss@gmail.com>
Diffstat (limited to 'config')
0 files changed, 0 insertions, 0 deletions