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
Similar to #100, I'm looking to tidy up some pre-existing Cortex-M CPU expressions here.
Proposal
Mark //cpu:armv8-m as deprecated, and introduce //cpu:armv8-m.base and //cpu:armv8-m.main.
Why?
ARMv8-M is technically split into two distinctly different ISAs: armv8-m.main and armv8-m.base. The baseline variant of ARMv8-M is more akin to ARMv6-M than ARMv7E-M. Also, when spelling -march, there is no such option for armv8-m. The flavors are either armv8-m.base or armv8-m.main. Note that these flavors are not traditionally considered extensions (unlike FPU or DSP instructions).
Also, this naming carries forward with the armv8.1-m.main architecture, even though it doesn't have a armv8.1-m.base variant.
The text was updated successfully, but these errors were encountered:
Perhaps there's an argument to be made that we should just jump ship entirely on this expression, and use the names available for -mcpu. They're more granular, and better express exactly what you're targeting. You can infer the -march names from -mcpu but not the other way around.
Similar to #100, I'm looking to tidy up some pre-existing Cortex-M CPU expressions here.
Proposal
Mark
//cpu:armv8-m
as deprecated, and introduce//cpu:armv8-m.base
and//cpu:armv8-m.main
.Why?
ARMv8-M is technically split into two distinctly different ISAs:
armv8-m.main
andarmv8-m.base
. The baseline variant of ARMv8-M is more akin toARMv6-M
thanARMv7E-M
. Also, when spelling-march
, there is no such option forarmv8-m
. The flavors are eitherarmv8-m.base
orarmv8-m.main
. Note that these flavors are not traditionally considered extensions (unlike FPU or DSP instructions).Also, this naming carries forward with the
armv8.1-m.main
architecture, even though it doesn't have aarmv8.1-m.base
variant.The text was updated successfully, but these errors were encountered: