Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/arm/t-rmprofile @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 84e7813d76e9 |
children |
comparison
equal
deleted
inserted
replaced
131:84e7813d76e9 | 145:1830386684a0 |
---|---|
1 # Copyright (C) 2016-2018 Free Software Foundation, Inc. | 1 # Copyright (C) 2016-2020 Free Software Foundation, Inc. |
2 # | 2 # |
3 # This file is part of GCC. | 3 # This file is part of GCC. |
4 # | 4 # |
5 # GCC is free software; you can redistribute it and/or modify | 5 # GCC is free software; you can redistribute it and/or modify |
6 # it under the terms of the GNU General Public License as published by | 6 # it under the terms of the GNU General Public License as published by |
52 | 52 |
53 | 53 |
54 # Arch Matches | 54 # Arch Matches |
55 MULTILIB_MATCHES += march?armv6s-m=march?armv6-m | 55 MULTILIB_MATCHES += march?armv6s-m=march?armv6-m |
56 | 56 |
57 # Map all v8-m.main+dsp FP variants down the the variant without DSP. | 57 # Map all v8-m.main+dsp FP variants down to the variant without DSP. |
58 MULTILIB_MATCHES += march?armv8-m.main=march?armv8-m.main+dsp \ | 58 MULTILIB_MATCHES += march?armv8-m.main=march?armv8-m.main+dsp \ |
59 $(foreach FP, +fp +fp.dp, \ | 59 $(foreach FP, +fp +fp.dp, \ |
60 march?armv8-m.main$(FP)=march?armv8-m.main+dsp$(FP)) | 60 march?armv8-m.main$(FP)=march?armv8-m.main+dsp$(FP)) |
61 | 61 |
62 # For single-precision only fpv5, use the base fp libraries | 62 # For single-precision only fpv5, use the base fp libraries |
64 | 64 |
65 # Softfp but no FP. Use the soft-float libraries. | 65 # Softfp but no FP. Use the soft-float libraries. |
66 MULTILIB_REUSE += $(foreach ARCH, armv6s-m armv7-m armv7e-m armv8-m\.base armv8-m\.main, \ | 66 MULTILIB_REUSE += $(foreach ARCH, armv6s-m armv7-m armv7e-m armv8-m\.base armv8-m\.main, \ |
67 mthumb/march.$(ARCH)/mfloat-abi.soft=mthumb/march.$(ARCH)/mfloat-abi.softfp) | 67 mthumb/march.$(ARCH)/mfloat-abi.soft=mthumb/march.$(ARCH)/mfloat-abi.softfp) |
68 | 68 |
69 # Map v8.1-M to v8-M. | |
70 MULTILIB_MATCHES += march?armv8-m.main=march?armv8.1-m.main | |
71 MULTILIB_MATCHES += march?armv8-m.main=march?armv8.1-m.main+dsp | |
72 MULTILIB_MATCHES += march?armv8-m.main=march?armv8.1-m.main+mve | |
73 | |
74 v8_1m_sp_variants = +fp +dsp+fp +mve.fp | |
75 v8_1m_dp_variants = +fp.dp +dsp+fp.dp +fp.dp+mve +fp.dp+mve.fp | |
76 | |
77 # Map all v8.1-m.main FP sp variants down to v8-m. | |
78 MULTILIB_MATCHES += $(foreach FP, $(v8_1m_sp_variants), \ | |
79 march?armv8-m.main+fp=march?armv8.1-m.main$(FP)) | |
80 | |
81 # Map all v8.1-m.main FP dp variants down to v8-m. | |
82 MULTILIB_MATCHES += $(foreach FP, $(v8_1m_dp_variants), \ | |
83 march?armv8-m.main+fp.dp=march?armv8.1-m.main$(FP)) |